Sha256: 9231810b92498c906772e2862875c4485837469fe3aee37fbd2e8d21254faa9d
Contents?: true
Size: 346 Bytes
Versions: 2
Compression:
Stored size: 346 Bytes
Contents
module Rubycritic module ComplexityAdapter class Flog def initialize(paths) @flog = ::Rubycritic::Analyser::Flog.new @paths = paths end def complexity @paths.map do |path| @flog.reset @flog.flog(path) @flog.total_score.round end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubycritic-0.0.14 | lib/rubycritic/adapters/complexity/flog.rb |
rubycritic-0.0.13 | lib/rubycritic/adapters/complexity/flog.rb |