These docs are for v4.6. Click to read the latest docs for v2023.

🚧

Codecov API v1 deprecation in progress

Please use the Codecov API v2. Documentation can be found here.

The coverage sunburst is a graph of the project in a multi-level pie chart. The color represents the coverage of the project, folder, and files. The innermost circle is the entire project the next slices are folders leading to the outermost slices which are files.

HTML

From your project dashboard you will find an interactive sunburst graph.

566

Click slices to zoom in. Click center to zoom out. shift+click to navigate to a file in Codecov.

SVG

# tip of default branch
GET /gh/:owner/:repo/graphs/sunburst.svg?token=:graph_token

# tip of branch
GET /gh/:owner/:repo/branch/:branch/graphs/sunburst.svg?token=:graph_token

# tip of pull
GET /gh/:owner/:repo/pull/:id/graphs/sunburst.svg?token=:graph_token

# specific commit
GET /gh/:owner/:repo/commit/:sha/graphs/sunburst.svg?token=:graph_token
<object data="https://codecov.io/gh/docker/notary/branch/master/graphs/sunburst.svg" type="image/svg+xml"></object>

Result

Below is an example SVG output.

Parameters

ParamDefault
width300
height300
border_size1
border_colorwhite