This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sample jacoco coverage reports for testing
- Loading branch information
1 parent
a9d6898
commit 8189567
Showing
3 changed files
with
221 additions
and
0 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,80 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd"> | ||
<report name="debug"> | ||
<sessioninfo id="unknownhost-3ec3adb3" start="1435852061594" dump="1435852061672"/> | ||
<package name="com/wmbest/myapplicationtest"> | ||
<class name="com/wmbest/myapplicationtest/MainActivity"> | ||
<method name="<init>" desc="()V" line="8"> | ||
<counter type="INSTRUCTION" missed="3" covered="0"/> | ||
<counter type="LINE" missed="1" covered="0"/> | ||
<counter type="COMPLEXITY" missed="1" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<method name="checkTheseLines" desc="()Ljava/lang/Boolean;" line="11"> | ||
<counter type="INSTRUCTION" missed="1" covered="10"/> | ||
<counter type="BRANCH" missed="1" covered="1"/> | ||
<counter type="LINE" missed="0" covered="3"/> | ||
<counter type="COMPLEXITY" missed="1" covered="1"/> | ||
<counter type="METHOD" missed="0" covered="1"/> | ||
</method> | ||
<method name="onCreate" desc="(Landroid/os/Bundle;)V" line="18"> | ||
<counter type="INSTRUCTION" missed="7" 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="onCreateOptionsMenu" desc="(Landroid/view/Menu;)Z" line="25"> | ||
<counter type="INSTRUCTION" missed="7" covered="0"/> | ||
<counter type="LINE" missed="2" covered="0"/> | ||
<counter type="COMPLEXITY" missed="1" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<method name="onOptionsItemSelected" desc="(Landroid/view/MenuItem;)Z" line="34"> | ||
<counter type="INSTRUCTION" missed="12" covered="0"/> | ||
<counter type="BRANCH" missed="2" covered="0"/> | ||
<counter type="LINE" missed="4" covered="0"/> | ||
<counter type="COMPLEXITY" missed="2" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<counter type="INSTRUCTION" missed="30" covered="10"/> | ||
<counter type="BRANCH" missed="3" covered="1"/> | ||
<counter type="LINE" missed="10" covered="3"/> | ||
<counter type="COMPLEXITY" missed="6" covered="1"/> | ||
<counter type="METHOD" missed="4" covered="1"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</class> | ||
<sourcefile name="MainActivity.java"> | ||
<line nr="8" mi="3" ci="0" mb="0" cb="0"/> | ||
<line nr="11" mi="0" ci="2" mb="0" cb="0"/> | ||
<line nr="12" mi="0" ci="1" mb="0" cb="0"/> | ||
<line nr="13" mi="1" ci="7" mb="1" cb="1"/> | ||
<line nr="18" mi="3" ci="0" mb="0" cb="0"/> | ||
<line nr="19" mi="3" ci="0" mb="0" cb="0"/> | ||
<line nr="20" mi="1" ci="0" mb="0" cb="0"/> | ||
<line nr="25" mi="5" ci="0" mb="0" cb="0"/> | ||
<line nr="26" mi="2" ci="0" mb="0" cb="0"/> | ||
<line nr="34" mi="3" ci="0" mb="0" cb="0"/> | ||
<line nr="37" mi="3" ci="0" mb="2" cb="0"/> | ||
<line nr="38" mi="2" ci="0" mb="0" cb="0"/> | ||
<line nr="41" mi="4" ci="0" mb="0" cb="0"/> | ||
<counter type="INSTRUCTION" missed="30" covered="10"/> | ||
<counter type="BRANCH" missed="3" covered="1"/> | ||
<counter type="LINE" missed="10" covered="3"/> | ||
<counter type="COMPLEXITY" missed="6" covered="1"/> | ||
<counter type="METHOD" missed="4" covered="1"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</sourcefile> | ||
<counter type="INSTRUCTION" missed="30" covered="10"/> | ||
<counter type="BRANCH" missed="3" covered="1"/> | ||
<counter type="LINE" missed="10" covered="3"/> | ||
<counter type="COMPLEXITY" missed="6" covered="1"/> | ||
<counter type="METHOD" missed="4" covered="1"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</package> | ||
<counter type="INSTRUCTION" missed="30" covered="10"/> | ||
<counter type="BRANCH" missed="3" covered="1"/> | ||
<counter type="LINE" missed="10" covered="3"/> | ||
<counter type="COMPLEXITY" missed="6" covered="1"/> | ||
<counter type="METHOD" missed="4" covered="1"/> | ||
<counter type="CLASS" missed="0" covered="1"/> | ||
</report> |
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,88 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd"> | ||
<report name="HelloWorld (13.11.2018 09:28:01)"> | ||
<sessioninfo id="DEV135NOB0148-4e9f728d" start="1542097680887" dump="1542097681194" /> | ||
<package name="testproject"> | ||
<class name="testproject/HelloWorld"> | ||
<method name="<init>" desc="()V" line="3"> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
</method> | ||
<method name="main" desc="([Ljava/lang/String;)V" line="5"> | ||
<counter type="INSTRUCTION" missed="0" covered="4" /> | ||
<counter type="LINE" missed="0" covered="2" /> | ||
<counter type="COMPLEXITY" missed="0" covered="1" /> | ||
<counter type="METHOD" missed="0" covered="1" /> | ||
</method> | ||
<counter type="INSTRUCTION" missed="3" covered="4" /> | ||
<counter type="LINE" missed="1" covered="2" /> | ||
<counter type="COMPLEXITY" missed="1" covered="1" /> | ||
<counter type="METHOD" missed="1" covered="1" /> | ||
<counter type="CLASS" missed="0" covered="1" /> | ||
</class> | ||
<class name="testproject/SampleA"> | ||
<method name="<init>" desc="()V" line="3"> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
</method> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
<counter type="CLASS" missed="1" covered="0" /> | ||
</class> | ||
<class name="testproject/SampleB"> | ||
<method name="<init>" desc="()V" line="3"> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
</method> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
<counter type="CLASS" missed="1" covered="0" /> | ||
</class> | ||
<sourcefile name="SampleA.java"> | ||
<line nr="3" mi="3" ci="0" mb="0" cb="0" /> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
<counter type="CLASS" missed="1" covered="0" /> | ||
</sourcefile> | ||
<sourcefile name="HelloWorld.java"> | ||
<line nr="3" mi="3" ci="0" mb="0" cb="0" /> | ||
<line nr="5" mi="0" ci="3" mb="0" cb="0" /> | ||
<line nr="6" mi="0" ci="1" mb="0" cb="0" /> | ||
<counter type="INSTRUCTION" missed="3" covered="4" /> | ||
<counter type="LINE" missed="1" covered="2" /> | ||
<counter type="COMPLEXITY" missed="1" covered="1" /> | ||
<counter type="METHOD" missed="1" covered="1" /> | ||
<counter type="CLASS" missed="0" covered="1" /> | ||
</sourcefile> | ||
<sourcefile name="SampleB.java"> | ||
<line nr="3" mi="3" ci="0" mb="0" cb="0" /> | ||
<counter type="INSTRUCTION" missed="3" covered="0" /> | ||
<counter type="LINE" missed="1" covered="0" /> | ||
<counter type="COMPLEXITY" missed="1" covered="0" /> | ||
<counter type="METHOD" missed="1" covered="0" /> | ||
<counter type="CLASS" missed="1" covered="0" /> | ||
</sourcefile> | ||
<counter type="INSTRUCTION" missed="9" covered="4" /> | ||
<counter type="LINE" missed="3" covered="2" /> | ||
<counter type="COMPLEXITY" missed="3" covered="1" /> | ||
<counter type="METHOD" missed="3" covered="1" /> | ||
<counter type="CLASS" missed="2" covered="1" /> | ||
</package> | ||
<counter type="INSTRUCTION" missed="9" covered="4" /> | ||
<counter type="LINE" missed="3" covered="2" /> | ||
<counter type="COMPLEXITY" missed="3" covered="1" /> | ||
<counter type="METHOD" missed="3" covered="1" /> | ||
<counter type="CLASS" missed="2" covered="1" /> | ||
</report> |
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,53 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd"> | ||
<report name="debug"> | ||
<sessioninfo id="unknownhost-3ec3adb3" start="1435852061594" dump="1435852061672"/> | ||
<package name="com/wmbest/myapplicationtest"> | ||
<class name="com/wmbest/myapplicationtest/MainActivity"> | ||
<method name="<init>" desc="()V" line="8"> | ||
<counter type="INSTRUCTION" missed="3" covered="0"/> | ||
<counter type="LINE" missed="1" covered="0"/> | ||
<counter type="COMPLEXITY" missed="1" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<method name="onCreate" desc="(Landroid/os/Bundle;)V" line="18"> | ||
<counter type="INSTRUCTION" missed="7" 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="onCreateOptionsMenu" desc="(Landroid/view/Menu;)Z" line="25"> | ||
<counter type="INSTRUCTION" missed="7" covered="0"/> | ||
<counter type="LINE" missed="2" covered="0"/> | ||
<counter type="COMPLEXITY" missed="1" covered="0"/> | ||
<counter type="METHOD" missed="1" covered="0"/> | ||
</method> | ||
<counter type="INSTRUCTION" missed="30" covered="10"/> | ||
<counter type="BRANCH" missed="3" covered="0"/> | ||
<counter type="LINE" missed="10" covered="0"/> | ||
<counter type="COMPLEXITY" missed="6" covered="0"/> | ||
<counter type="METHOD" missed="4" covered="0"/> | ||
<counter type="CLASS" missed="0" covered="0"/> | ||
</class> | ||
<sourcefile name="MainActivity.java"> | ||
<counter type="INSTRUCTION" missed="30" covered="0"/> | ||
<counter type="BRANCH" missed="3" covered="0"/> | ||
<counter type="LINE" missed="10" covered="0"/> | ||
<counter type="COMPLEXITY" missed="6" covered="0"/> | ||
<counter type="METHOD" missed="4" covered="0"/> | ||
<counter type="CLASS" missed="0" covered="0"/> | ||
</sourcefile> | ||
<counter type="INSTRUCTION" missed="30" covered="0"/> | ||
<counter type="BRANCH" missed="3" covered="0"/> | ||
<counter type="LINE" missed="10" covered="0"/> | ||
<counter type="COMPLEXITY" missed="6" covered="0"/> | ||
<counter type="METHOD" missed="4" covered="0"/> | ||
<counter type="CLASS" missed="0" covered="0"/> | ||
</package> | ||
<counter type="INSTRUCTION" missed="30" covered="0"/> | ||
<counter type="BRANCH" missed="3" covered="0"/> | ||
<counter type="LINE" missed="10" covered="0"/> | ||
<counter type="COMPLEXITY" missed="6" covered="0"/> | ||
<counter type="METHOD" missed="4" covered="0"/> | ||
<counter type="CLASS" missed="0" covered="0"/> | ||
</report> |