Lines Matching full:coverage
1 # Code Coverage Support for PDFium
5 This guide explains how to generate code coverage information for the PDFium
13 The tools used for code coverage are known to work on Ubuntu and Debian. They
17 Previously, the code coverage scripts required specific versions of `lcov` and
22 ## Generating Code Coverage
29 Before generating code coverage information, you will need to have a build
30 directory with coverage enabled. This can be done by running the `gn args`
33 If not using the default directory, `out/Coverage`, then replace it with the
37 gn args out/Coverage
40 If you already have a build directory, you can append the coverage flag to the
42 `out/Coverage`, then replace it with the correct location in the following
46 echo "use_clang_coverage = true" >> out/Coverage/args.gn
49 Previous versions of code coverage used **use_coverage = true** in args.gn; this
54 Generating code coverage information is done via the
55 `testing/tools/coverage/coverage_report.py` script. This script will download
56 the Clang coverage tools if needed, build any binaries that it needs, perform
57 test runs, collect coverage data, and generate a HTML coverage report. It is
58 based on the Chromium coverage scripts, so will generate the same style of
63 `./out/Coverage/` and that HTML should be outputted to `./coverage_report/`.
66 testing/tools/coverage/coverage_report.py
78 testing/tools/coverage/coverage_report.py \
91 testing/tools/coverage/coverage_report.py pdfium_unittests pdfium_embeddertests
98 invoke `tools/code_coverage/coverage.py` to generate a combined report.
108 containing the coverage report.
117 For help with using the code coverage tools please contact the PDFium
121 Please file bugs against the code coverage