gobco
gobco copied to clipboard
how to get the branch coverage from the report file
Dear junhwi,
Recently, I have used your tool to do many things. However, I have a question?
I can get the coverage file and the coverage file provide some detailed information. But how can I get the branch coverage(like 50%) from the coverage file? In the statement coverage, I can use the command "go tool cover -func=c.out" to get the statement coverage. Is there any similar way to get the branch coverage? Thanks in advance!