Skip to content

Commit

Permalink
remove check for low node graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
konradweiss committed Dec 4, 2023
1 parent fe1cd77 commit f6e378a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class App : Callable<Int> {
var duration = System.currentTimeMillis() - start
compDurations["Graph translation"] = compDurations["Graph translation"]?:0 + duration
tr.translationUnits.forEach {
if(SubgraphWalker.flattenAST(it).size <= 2){
if(SubgraphWalker.flattenAST(it).size <= 0){ // Turnin this off for now as in the snippet case there are some that contain only pragmas and imports and nothig inside of a record
if(!findings.containsKey("Empty translation")){
findings["Empty translation"] = mutableListOf()
}
Expand Down

0 comments on commit f6e378a

Please sign in to comment.