Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .kimera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ jobs: 4
max_survivors: 0
max_errors: 0
fail_on_no_coverage: true
max_ignored: 1
ignore:
- file: lib/hashira/coupling/echo.rb
line: 18
label: condition => false
reason: RollCall keeps only word sets at least 3 files share (MIN_WORDS = MIN_FILES = 3), so a file with no words never
joins a roll; the filter only keeps such files out of the pairwise scan (about 30% of coupling time on a 2,600-file app)
5 changes: 1 addition & 4 deletions lib/hashira/complexity/cognitive_score.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ def calls
@_calls
end

def nesting
walked
@_nesting
end
def nesting = @_nesting

def total = increments.sum(&:cost)

Expand Down
Loading