Skip to content

Commit

Permalink
Merge pull request #1 from codacy/test-coverage-file
Browse files Browse the repository at this point in the history
test: Add test coverage report
  • Loading branch information
lolgab authored Mar 11, 2020
2 parents 62b2348 + 8866833 commit 990d4b5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.codacy-coverage
37 changes: 37 additions & 0 deletions cobertura.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage lines-valid="8" lines-covered="8" line-rate="1" branches-valid="4" branches-covered="4" branch-rate="1" timestamp="1394890504210" complexity="0" version="0.1">
<sources>
<source>sources</source>
</sources>
<packages>
<package name="3" line-rate="1" branch-rate="1">
<classes>
<class name="cc.js" filename="cc.js" line-rate="1" branch-rate="1">
<methods>
<method name="normalize" hits="11" signature="()V">
<lines>
<line number="1" hits="11" />
</lines>
</method>
<method name="getBrand" hits="7" signature="()V">
<lines>
<line number="5" hits="7" />
</lines>
</method>
</methods>
<lines>
<line number="1" hits="1" branch="false" />
<line number="2" hits="11" branch="false" />
<line number="5" hits="1" branch="false" />
<line number="6" hits="7" branch="false" />
<line number="15" hits="7" branch="false" />
<line number="17" hits="7" branch="false" />
<line number="18" hits="25" branch="true" condition-coverage="100% (4/4)" />
<line number="20" hits="6" branch="false" />
</lines>
</class>
</classes>
</package>
</packages>
</coverage>

0 comments on commit 990d4b5

Please sign in to comment.