A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd-regression-tester/issues/104 below:

Baseline filtering is not working anymore · Issue #104 · pmd/pmd-regression-tester · GitHub

See pmd/pmd#3900

Filter set is #<Set: {"java/performance.xml"}>, but this doesn't seem to match any violations in the baseline, so all violations are reported as new.

The problem is probably somewhere here:

def match_filter_set?(violation) return true if @filter_set.nil? ruleset_attr = violation.ruleset_name.delete(' ').downcase! << '.xml' return true if @filter_set.include?(ruleset_attr) rule_ref = "#{violation.language}/#{ruleset_attr}/#{violation.rule_name}" @filter_set.include?(rule_ref) end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4