Bug 914649

Summary: jacoco code-coverage generates inaccurate reports
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Build SystemAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-22 12:32:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PATCH - exclude test classes from jacoco reports none

Description Libor Zoubek 2013-02-22 12:05:21 UTC
Description of problem: jacoco reports contain test classes themselves - which are basically covered by 100% which makes report unaccurate and claims that we have better coverage then we actually do.

  
Actual results:


Expected results:
**/*Test* files are excluded when generating jacoco report

Comment 1 Libor Zoubek 2013-02-22 12:08:39 UTC
Created attachment 701140 [details]
PATCH - exclude test classes from jacoco reports

Comment 2 Libor Zoubek 2013-02-22 12:32:31 UTC
this bug is invalid, I've found out there are no Test classes