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 14.04. They should
19 The code coverage scripts depend on having a version of `lcov` of 1.11 or
25 available [here](http://ltp.sourceforge.net/coverage/lcov.php).
36 The other external dependency for generating code coverage information is having
44 greater and the coverage scripts should find it.
46 ## Generating Code Coverage
54 Before generating code coverage information, you will need to have a build
55 directory with coverage enabled. This can be done by running the `gn args`
57 using the default directory, `out/Coverage`, then replace it with the correct
61 gn args out/Coverage
64 If you already have a build directory, you can append the coverage flag to the
66 `out/Coverage`, then replace it with the correct location in the following
70 echo "use_coverage = true" >> out/Coverage/args.gn
76 Generating code coverage information is done via the
77 `testing/tools/coverage/coverage_report.py` script. This script will build any binaries
78 that it needs, perform test runs, collect coverage data, and finally generate a
79 nice HTML coverage report.
83 `./out/Coverage/` and that HTML should be outputted to `./coverage_report/`. By
85 coverage data. This is because the other tests are known to take a long time to
89 testing/tools/coverage/coverage_report.py
101 testing/tools/coverage/coverage_report.py \
112 testing/tools/coverage/coverage_report.py --slow
123 testing/tools/coverage/coverage_report.py pdfium_unittests pdfium_embeddertests
139 containing the coverage report.
148 For help with using the code coverage tools please contact the PDFium
152 Please file bugs against the code coverage