-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tune complexity points, creating more parity with Ruby analysis in Code Climate classic. - Class violations: 5_000_000 + n35_000 - Method violations: 1_000_000 + n70_000
- Loading branch information
ABaldwinHunter
committed
Dec 28, 2015
1 parent
038705e
commit 63c7ac5
Showing
1 changed file
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
Metrics/AbcSize: | ||
violation_points: 100_000 | ||
base_points: 1_000_000 | ||
violation_points: 70_000 | ||
Metrics/BlockNesting: | ||
base_points: 30_000 | ||
base_points: 100_000 | ||
Metrics/ClassLength: | ||
base_points: 400_000 | ||
Metrics/CyclomaticComplexity: | ||
base_points: 75_000 | ||
violation_points: 10_000 | ||
base_points: 5_000_000 | ||
violation_points: 35_000 | ||
Metrics/CyclomaticComplexity: # This check is per method | ||
base_points: 1_000_000 | ||
violation_points: 70_000 | ||
Metrics/LineLength: | ||
base_points: 20_000 | ||
violation_points: 5_000 | ||
Metrics/MethodLength: | ||
base_points: 50_000 | ||
violation_points: 10_000 | ||
Metrics/MethodLength: | ||
base_points: 1_000_000 | ||
violation_points: 70_000 | ||
Metrics/ModuleLength: | ||
base_points: 500_000 | ||
violation_points: 5_000 | ||
base_points: 5_000_000 | ||
violation_points: 35_000 | ||
Metrics/ParameterList: | ||
base_points: 10_000 | ||
violation_points: 50_000 | ||
base_points: 500_000 | ||
violation_points: 100_000 | ||
Metrics/PerceivedComplexity: | ||
base_points: 50_000 | ||
violation_points: 5000 | ||
base_points: 1_000_000 | ||
violation_points: 70_000 |