This is a fork of original gocov-xml (github.com/AlekSi/gocov-xml) tool, adding LineRate calculation. BranchRate is not available since this data is not available by go cover.
This is a simple helper tool for generating XML output in Cobertura format for CIs like Jenkins and others from github.com/axw/gocov output.
Just type the following to install the program and its dependencies:
$ go get github.com/axw/gocov/...
$ go get github.com/marinbek/gocov-xml
gocov-xml
reads from the standard input:
$ gocov test github.com/gorilla/mux | gocov-xml > coverage.xml