Skip to content

GcovGenerator

class GcovGenerator

Gcov JSON generator.

Variables

Name Description
coverage Line coverage information.

Functions

Name Description
generate Generate documentation.
collate Collate coverage information for a single entity.

Variable Details

coverage

std::map<std::string,std::set<int>> coverage

Line coverage information. Keyed by source file name, value is set of covered lines.

Function Details

collate

void collate(const Entity& node)

Collate coverage information for a single entity.

generate

void generate(const Entity& node)

Generate documentation.

node
Root node.