Created
June 3, 2015 11:31
-
-
Save codecov-io/96e1addb96856a9034c2 to your computer and use it in GitHub Desktop.
Codecov JSON example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"coverage": { | |
"path/to/file.py": [null, 1, 0, null, true, 0, 0, 1, 1], | |
"path/to/other.py": [null, 0, 1, 1, "1/3", null] | |
}, | |
"messages": { | |
"path/to/other.py": { | |
"1": "custom message for line 1" | |
} | |
} | |
} |
How can I represent methods
, branches
and partials
using the above format?
I am preparing a report for haxe code https://codecov.io/github/adireddy/haxe-checkstyle/ and finding it hard to understand how to represent all the information.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Important the coverage for each file must start with
null
because there is no line at index0
.