JSONGenerator¶
class JSONGenerator
JSON generator for coverage data following gcov/gcovr schema.
Functions¶
Name | Description |
---|---|
generate | Generate coverage data. |
generate | Generate documentation. |
Function Details¶
generate¶
void generate(const Entity& root)
Generate coverage data.
-
root
- Root entity.
int generate(const Entity& root, int nfiles)
Generate documentation.
-
root
- Root entity.
-
nfiles
- Number of files output so far.
- Return
- Updated number of files output so far.