grodowski / undercover

undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports

Home Page:https://undercover-ci.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace node classes with human types

grodowski opened this issue Β· comments

Current output of undercover includes class names, like:

🚨 5) node `parse` type: Imagen::Node::IMethod,
      loc: lib/undercover/options.rb:34:58,coverage: 69.23%

Replace type with a friendly text like "instance method", "class method" or "class". This involves adding a method to subclasses of Imagen::Node and displaying it in Undercover::Formatter

πŸ™‹β€β™‚οΈ