Skip to content

Commit

Permalink
tests: updated the project's configuration
Browse files Browse the repository at this point in the history
FossilOrigin-Name: b48d6b06015cf3f23410e6982232a9dcf8e7ee80bce7f1e299d8ddf5dfff1d23
  • Loading branch information
thindil committed Jun 13, 2024
1 parent 252d9f2 commit f16b61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/nimalyzer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ explanation Short case statements can be replaced by if statements for better re
check ifStatements max 3
explanation Long if statements can be replaced by case statements for better readability.
check complexity cyclomatic all 40
check complexity all 40
explanation A code with high cyclomatic complexity is hard to understand and maintain. Please reduce the amount of the code branches (like, loops, if or case statements).
check not trystatements empty
Expand Down Expand Up @@ -388,7 +388,7 @@ explanation Short case statements can be replaced by if statements for better re
check ifStatements max 3
explanation Long if statements can be replaced by case statements for better readability.

check complexity cyclomatic all 40
check complexity all 40
explanation A code with high cyclomatic complexity is hard to understand and maintain. Please reduce the amount of the code branches (like, loops, if or case statements).

check not trystatements empty
Expand Down

0 comments on commit f16b61d

Please sign in to comment.