Skip to content

Commit

Permalink
bug MAX_STATEMENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Tassio Virginio committed Feb 16, 2021
1 parent 410092b commit 643a5d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/br/ufba/jnose/base/JNose.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ public Boolean resourceOptimism() {
public Boolean magicNumberTest() {
return TestSmellDetector.magicNumberTest;
}

@Override
public Integer maxStatements() {
return 30;
}
};

if(jNoseCore == null) {
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/br/ufba/jnose/pages/AnalyzePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@ public Boolean resourceOptimism() {
public Boolean magicNumberTest() {
return true;
}

@Override
public Integer maxStatements() {
return 30;
}
};

return config;
Expand Down

0 comments on commit 643a5d2

Please sign in to comment.