Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Codecov JSON example
{
"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"
}
}
}
@codecov-io

This comment has been minimized.

Copy link
Owner Author

commented Jun 3, 2015

Important the coverage for each file must start with null because there is no line at index 0.

file[line_number] = number_of_hits
@adireddy

This comment has been minimized.

Copy link

commented Mar 11, 2016

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
You can’t perform that action at this time.