Registry / testing / flog
library4.9.4rbrubygemsunverified

Flog reports the most tortured code in an easy to read pain report; higher score means more pain.

gem install flog
INSTALL
IMPORT
SIG · FLOG
F
flog
testingrubyv4.9.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Flog
require 'flog'

Analyze a Ruby file and output the total pain score.

require 'flog' flog = Flog.new flog.flog('path/to/file.rb') puts flog.total
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.9.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
flog — gem install flog · libregistry