tomasbjerre / violations-lib

Java library for parsing report files from static code analysis.
Apache License 2.0
148 stars 39 forks source link

ErrorProne parser fails on Windows paths #153

Closed tnl-tbi closed 2 years ago

tnl-tbi commented 2 years ago

The colon after the drive letter in Windows paths conflicts with the current regex. For example no violations are found in the following input:

C:\proj\src\main\java\Test.java:12: warning: [NullAway] returning @Nullable expression from method with @NonNull return type
            return null;
            ^
    (see http://t.uber.com/nullaway )
1 warning
tomasbjerre commented 2 years ago

The ErrorProne parser is working very bad. I might actually remove it. There is an issue here to provide a better parsable format: https://github.com/google/error-prone/issues/444