Skip to content

Commit 98ef469

Browse files
committed
Move from class to module
Refactor Skunk analysis integration by removing the Analysis class and adding its methods directly to RubyCritic::AnalysedModulesCollection. Update related files to utilize the new methods for Skunk score calculations and reporting.
1 parent 3f9ae8c commit 98ef469

File tree

3 files changed

+0
-390
lines changed

3 files changed

+0
-390
lines changed

lib/skunk.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

33
require "skunk/version"
4-
require "skunk/analysis"
54

65
# Knows how to calculate the `SkunkScore` for each file analyzed by `RubyCritic`
76
# and `SimpleCov`

lib/skunk/analysis.rb

Lines changed: 0 additions & 106 deletions
This file was deleted.

test/lib/skunk/analysis_test.rb

Lines changed: 0 additions & 283 deletions
This file was deleted.

0 commit comments

Comments
 (0)