-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (and improve) JaCoCo reports loading
- Extract coverage from the last line counter (closes #5) - Improve associated test - Update dependencies
- Loading branch information
1 parent
b9ee49d
commit 0bf5599
Showing
6 changed files
with
105 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Please create an issue and wait for a feedback | ||
before submitting a pull request. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC | ||
"-//JACOCO//DTD Report 1.1//EN" "report.dtd"> | ||
<report name="Test"> | ||
<counter type="INSTRUCTION" missed="2170" covered="3853"/> | ||
<counter type="BRANCH" missed="150" covered="150"/> | ||
<counter type="LINE" missed="521" covered="994"/> | ||
<counter type="COMPLEXITY" missed="300" covered="437"/> | ||
<counter type="METHOD" missed="209" covered="378"/> | ||
<counter type="CLASS" missed="19" covered="58"/> | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.1//EN" "report.dtd"> | ||
<report name="demo"> | ||
<package name="com/example/demo"> | ||
<class name="com/example/demo/Application" sourcefilename="Application.java"> | ||
<method name="main" desc="([Ljava/lang/String;)V" line="10"> | ||
<counter type="INSTRUCTION" missed="9" covered="0"/> | ||
<counter type="LINE" missed="3" covered="0"/> | ||
<counter type="COMPLEXITY" missed="1" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<method name="<init>" desc="()V" line="14"> | ||
<counter type="INSTRUCTION" missed="17" covered="30"/> | ||
<counter type="BRANCH" missed="4" covered="2"/> | ||
<counter type="LINE" missed="4" covered="11"/> | ||
<counter type="COMPLEXITY" missed="3" covered="1"/> | ||
<counter type="METHOD" missed="0" covered="1"/> | ||
</method> | ||
<method name="start" desc="()V" line="33"> | ||
<counter type="INSTRUCTION" missed="14" covered="22"/> | ||
<counter type="BRANCH" missed="4" covered="2"/> | ||
<counter type="LINE" missed="3" covered="8"/> | ||
<counter type="COMPLEXITY" missed="3" covered="1"/> | ||
<counter type="METHOD" missed="0" covered="1"/> | ||
</method> | ||
<counter type="INSTRUCTION" missed="40" covered="52"/> | ||
<counter type="BRANCH" missed="8" covered="4"/> | ||
<counter type="LINE" missed="10" covered="19"/> | ||
<counter type="COMPLEXITY" missed="7" covered="2"/> | ||
<counter type="METHOD" missed="1" covered="2"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</class> | ||
<sourcefile name="Application.java"> | ||
<counter type="INSTRUCTION" missed="40" covered="52"/> | ||
<counter type="BRANCH" missed="8" covered="4"/> | ||
<counter type="LINE" missed="10" covered="19"/> | ||
<counter type="COMPLEXITY" missed="7" covered="2"/> | ||
<counter type="METHOD" missed="1" covered="2"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</sourcefile> | ||
<counter type="INSTRUCTION" missed="40" covered="52"/> | ||
<counter type="BRANCH" missed="8" covered="4"/> | ||
<counter type="LINE" missed="10" covered="19"/> | ||
<counter type="COMPLEXITY" missed="7" covered="2"/> | ||
<counter type="METHOD" missed="1" covered="2"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</package> | ||
<counter type="INSTRUCTION" missed="40" covered="52"/> | ||
<counter type="BRANCH" missed="8" covered="4"/> | ||
<counter type="LINE" missed="10" covered="19"/> | ||
<counter type="COMPLEXITY" missed="7" covered="2"/> | ||
<counter type="METHOD" missed="1" covered="2"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</report> |