- Jan 07, 2024
-
-
Christopher Boumenot authored
update dependencies to latest
-
Christopher Boumenot authored
remove deprecated ioutils import
-
Christopher Boumenot authored
remove unnecesary loop
-
Christopher Boumenot authored
Adding CI for github
-
- Jan 03, 2024
-
-
Brenda Wallace authored
-
Brenda Wallace authored
-
Brenda Wallace authored
-
- Apr 25, 2023
-
-
Amod Mulay authored
-
- Aug 05, 2021
-
-
Christopher Boumenot authored
Fix issue where no profiles results in a nil pointer exception
-
- Jul 16, 2021
-
-
Steven Inskip authored
-
- Feb 04, 2021
-
-
Christopher Boumenot authored
doc(README): Run this from directory with `go.mod`
-
- Dec 08, 2020
-
-
Hans van den Bogert authored
-
- Nov 18, 2020
-
-
Christopher Boumenot authored
ReportGenerator (4.8) generates a report where links to files collide. This may be my fault, but if so I have not figured out the correct way to fix it without resorting to this hack.
-
- Aug 18, 2020
-
-
Christopher Boumenot authored
-
Christopher Boumenot authored
Propagate errors up the stack.
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Christopher Boumenot authored
merge latest changes for gocover-cobertura
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
- Aug 17, 2020
-
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Christopher Boumenot authored
-
Morrison-Reed Elliot (BEG/EVS1-NA) authored
The previous version assumed that files were either in $GOPATH or $GOROOT. With modules this is no longer the case. This update uses x/tools/go/packages to find the source root directories.
-
Hang SU authored
Signed-off-by:
Hang SU <darcy.sh@antfin.com>
-
Hang SU authored
The corresponding code is copied from latest golang code, view: https://github.com/golang/go/blob/master/src/cmd/cover/profile.go#L96 Signed-off-by:
Hang SU <darcy.sh@antfin.com>
-
Christopher Boumenot authored
-
- Jul 14, 2019
-
-
Maxime Soulé authored
-ignore-dirs PATTERN ignore dirs matching this regexp -ignore-files PATTERN ignore files matching this regexp -ignore-gen-files ignore generated files Signed-off-by:
Maxime Soulé <btik-git@scoubidou.com>
-
- Feb 17, 2018
-
-
Yukinari Toyota authored
Calculate aggregate stats
-
Yukinari Toyota authored
Use testdata as-is without gen from template
-
- Feb 15, 2018
-
-
Marc Abramowitz authored
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.
-
Marc Abramowitz authored
-
- Feb 14, 2018
-
-
Marc Abramowitz authored
While trying to run `gocover-cobertura` on `testdata/testdata_set.txt`, I noticed that it's actually a Go template; not actual data; so the tool can't process it. The template seems to be just to replace `{{.PkgPath}}` with the current directory. By using `.` instead in that file, it eliminates the need for a bunch of code for rendering the template (it eliminates 2 stdlib imports, not that it's a big deal) Before: ``` $ gocover-cobertura < testdata/testdata_set.txt | head -n 18 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd"> <coverage line-rate="0" branch-rate="0" version="" timestamp="1518632283054" lines-covered="0" lines-valid="0" branches-covered="0" branches-valid="0" complexity="0"> <sources> <source>/usr/local/Cellar/go/1.10rc1/libexec/src</source> <source>/Users/abramowi/go/src</source> </sources> <packages></packages> </coverage> ``` After: ``` $ gocover-cobertura < testdata/testdata_set.txt | head -n 18 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd"> <coverage line-rate="0" branch-rate="0" version="" timestamp="1518632265239" lines-covered="0" lines-valid="0" branches-covered="0" branches-valid="0" complexity="0"> <sources> <source>/usr/local/Cellar/go/1.10rc1/libexec/src</source> <source>/Users/abramowi/go/src</source> </sources> <packages> <package name="./testdata" line-rate="0" branch-rate="0" complexity="0"> <classes> <class name="-" filename="./testdata/func1.go" line-rate="0" branch-rate="0" complexity="0"> <methods> <method name="Func1" signature="" line-rate="0" branch-rate="0" complexity="0"> <lines> <line number="4" hits="1"></line> <line number="5" hits="1"></line> <line number="5" hits="0"></line> <line number="6" hits="0"></line> ```
-
- Feb 10, 2018
-
-
Yukinari Toyota authored
README.md: Add coveralls.io badge
-
- Feb 09, 2018
-
-
Marc Abramowitz authored
-
Yukinari Toyota authored
Post coverage results to coveralls.io
-
Yukinari Toyota authored
More test coverage
-