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

Characters in file names

RepoCorp opened this issue · comments

I'm working on a project that has some files with scores in the names. The lcov parser is truncating the file names and the process fails when trying to process that file. If I replace the regex to accept any character it works fine. Why is the regex restriction necessary?

when /^SF:([\.\/\w]+)/

Thanks for submitting this issue! The \w match is a bug – turns out JS and rust LCOV parsers just match the whole line. Feel free to open a PR (otherwise, I should be able to fix this very soon!).

Thanks, @grodowski. I will open the PR.