Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. rule-configurations:
  2. - key: CYCLOMATIC_COMPLEXITY # Cyclomatic complexity of a method 10
  3. value: 30
  4. - key: LONG_LINE
  5. value: 110
  6. - key: NCSS_METHOD # Number of non-commenting source statements of a method 30
  7. value: 50
  8. - key: LONG_VARIABLE_NAME
  9. value: 40
  10. - key: NESTED_BLOCK_DEPTH
  11. value: 6
  12. - key: MINIMUM_CASES_IN_SWITCH
  13. value: 2
  14. - key: SHORT_VARIABLE_NAME
  15. value: 1
  16. - key: TOO_MANY_METHODS
  17. value: 50
  18. - key: LONG_METHOD
  19. value: 100
  20. disable-rules:
  21. - RedundantLocalVariable
  22. - SHORT_VARIABLE_NAME
  23. - LongVariableName
  24. - UnnecessaryElseStatement
  25. - RedundantNilCheck
  26. - RedundantIfStatement
  27. - InvertedLogic
  28. - AssignIvarOutsideAccessors
  29. - UseObjectSubscripting
  30. - BitwiseOperatorInConditional
  31. - PreferEarlyExit
  32. - UnusedMethodParameter
  33. max-priority-1: 1000
  34. max-priority-2: 1000
  35. max-priority-3: 1000
  36. enable-clang-static-analyzer: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement