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.

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

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

Param

Default

width

300

height

300

border_size

1

border_color

white