-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Medium
-
Affects Version/s: None
-
Component/s: Instrumentation
-
None
Running pmd-3.8 sanity project. Ive added to the report filter="static constructor else catch assert".
the "if" line is filtered (with message "Filtered by:") when there is an else statement after it.
eg.
1 if (o != null)
{ 2 processRule(o); 3 }else
{ 4 processRule(data); 5 }both lines 1 and 4 are filtered. line 4 has the correct message "Filtered by: else"