Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
None
-
Severity 2 - Major
Description
When a method context filter is configured in IDEA (e.g. ".toString."), a method is filtered-out in the source editor:
However, it is not being filtered out in the project tree in the Cloverage view - code metric shows "1" instead of "0" for this method:
Furthermore, when coverage data is being exported to the HTML report, even if the "use current filter settings" is enabled, it ignores the method context defined:
At the same time, when an HTML report is generated from Maven, for instance, it applies the filter mostly correctly (mostly because it filters-out the most from a class complexity, but it could show "0" for a method itself too):
Expected behaviour
All methods excluded by the method context filter should affect code metrics.