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

File with a flat function list not parsed correctly

grodowski opened this issue · comments

Given a file like

def untested
  "foo"
  "bar"
end

def tested
  "foo"
  "bar"
end

only the untested function would be parsed, because of lib/undercover.rb:97