• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

msabramo / gocover-cobertura
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: calc-aggregates
DEFAULT BRANCH: master
Repo Added 06 Feb 2018 01:28AM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH calc-aggregates
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • calc-aggregates
  • coveralls-badge
  • master
  • omit-data-not-computed
  • testdata-dot-instead-of-templates-for-pkgpath
  • travis-coveralls

pending completion
29

push

travis-ci

msabramo
Disallow line appearing more than once

I'm not an expert on Cobertura, but it seems confusing to have stuff
like:

```
<line number="5" hits="1"></line>
<line number="5" hits="0"></line>
```

I decided to treat this situation in a pessimistic way - i.e.: if the
second entry for a line number is lower than the previous one, then we
update the hit count down; but we never update it up. In other words, if
we ever see a 0 for a line, we mark the line uncovered, even if we
previously saw a 1.

253 of 315 relevant lines covered (80.32%)

27.91 hits per line

Relevant lines Covered
Build:
Build:
315 RELEVANT LINES 253 COVERED LINES
27.91 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29 calc-aggregates Disallow line appearing more than once I'm not an expert on Cobertura, but it seems confusing to have stuff like: ``` <line number="5" hits="1"></line> <line number="5" hits="0"></line> ``` I decided to treat this situation in a pessimistic way... push 15 Feb 2018 06:24PM UTC msabramo travis-ci pending completion  
28 calc-aggregates Calculate aggregate stats push 15 Feb 2018 01:57AM UTC msabramo travis-ci pending completion  
26 master Moar push 14 Feb 2018 10:56PM UTC msabramo travis-ci pending completion  
25 omit-data-not-computed Moar push 14 Feb 2018 10:55PM UTC msabramo travis-ci pending completion  
24 master Remove omitempty from some fields push 14 Feb 2018 10:45PM UTC msabramo travis-ci pending completion  
23 omit-data-not-computed Remove omitempty from some fields push 14 Feb 2018 10:44PM UTC msabramo travis-ci pending completion  
22 omit-data-not-computed Calculate LineRate for pkg, class, method push 14 Feb 2018 10:36PM UTC msabramo travis-ci pending completion  
21 master Calculate LineRate for pkg, class, method push 14 Feb 2018 10:36PM UTC msabramo travis-ci pending completion  
20 master Calculate method.LineRate push 14 Feb 2018 07:24PM UTC msabramo travis-ci pending completion  
19 omit-data-not-computed Calculate method.LineRate push 14 Feb 2018 07:24PM UTC msabramo travis-ci pending completion  
See All Builds (21)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc