Home
last modified time | relevance | path

Searched refs:coverage (Results 1 – 25 of 1524) sorted by relevance

12345678910>>...61

/external/cronet/build/android/docs/
Dcoverage.md1 # Android code coverage instructions
3 These are instructions for collecting code coverage data for android
4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].
8 ## How JaCoCo coverage works
10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented
14 ## How to collect coverage data
25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save
27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.
29 3. The coverage results of JUnit and instrumentation tests will be merged
32 ## How to generate coverage report
[all …]
/external/angle/build/android/docs/
Dcoverage.md1 # Android code coverage instructions
3 These are instructions for collecting code coverage data for android
4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].
8 ## How JaCoCo coverage works
10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented
14 ## How to collect coverage data
25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save
27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.
29 3. The coverage results of JUnit and instrumentation tests will be merged
32 ## How to generate coverage report
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/cmake/
Ddetect-coverage.cmake1 # detect-coverage.cmake -- Detect supported compiler coverage flags
5 # Check for -coverage flag support for Clang/GCC
9 set(CMAKE_REQUIRED_LINK_OPTIONS -coverage)
11 check_c_compiler_flag(-coverage HAVE_COVERAGE)
16 add_compile_options(-coverage)
17 add_link_options(-coverage)
18 message(STATUS "Code coverage enabled using: -coverage")
20 # Some versions of GCC don't support -coverage shorthand
26 check_c_compiler_flag("-ftest-coverage -fprofile-arcs -fprofile-values" HAVE_TEST_COVERAGE)
31 add_compile_options(-ftest-coverage -fprofile-arcs -fprofile-values)
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dax_code_coverage.m413 # (program or library) which should be built with code coverage support.
17 # corresponds to the value of the --enable-code-coverage option, which
24 # coverage is enabled.
38 # This results in a "check-code-coverage" rule being added to any
40 # has been configured with --enable-code-coverage). Running `make
41 # check-code-coverage` in that directory will run the module's test suite
42 # (`make check`) and build a code coverage report detailing the code which
73 dnl Check for --enable-code-coverage
78 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
82 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/openthread/third_party/nlbuild-autotools/repo/automake/post/rules/
Dcoverage.am20 # This file is the automake footer for all code-coverage related
24 # (automake in particular) such that 'make coverage' may be invoked
32 # coverage:
33 # Execute local and recursive coverage targets across the
38 # coverage-local:
39 # Execute local coverage targets at the current invocation point.
43 # coverage-recursive:
44 # Recursively execute the 'coverage' target across the
51 # targets at the current invocation point. Local coverage targets
53 # coverage targets are made.
[all …]
/external/strace/m4/
Dax_code_coverage.m415 # coverage support. Also defines CODE_COVERAGE_RULES which should be
19 # --enable-code-coverage option, which defaults to being disabled.
25 # coverage is enabled.
41 # This results in a "check-code-coverage" rule being added to any
43 # has been configured with --enable-code-coverage). Running `make
44 # check-code-coverage` in that directory will run the module's test suite
45 # (`make check`) and build a code coverage report detailing the code which
83 dnl Check for --enable-code-coverage
88 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
92 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/harfbuzz_ng/m4/
Dax_code_coverage.m415 # coverage support. Also defines CODE_COVERAGE_RULES which should be
19 # --enable-code-coverage option, which defaults to being disabled.
25 # coverage is enabled.
41 # This results in a "check-code-coverage" rule being added to any
43 # has been configured with --enable-code-coverage). Running `make
44 # check-code-coverage` in that directory will run the module's test suite
45 # (`make check`) and build a code coverage report detailing the code which
81 dnl Check for --enable-code-coverage
86 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
90 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/swiftshader/tests/regres/cov/
Dcoverage_test.go52 tree.Add(cov.Path{"a", "b"}, coverage(fileA, span0, span1))
64 tree.Add(cov.Path{"a", "b", "d", "i"}, coverage(fileA, span0, span1))
79 tree.Add(cov.Path{"a", "b", "e"}, coverage(fileA, span0, span1, span2))
94 tree.Add(cov.Path{"a", "c", "g", "n"}, coverage(fileA, span0, span3))
109 tree.Add(cov.Path{"a", "c", "g", "o"}, coverage(fileA, span0, span3))
124 tree.Add(cov.Path{"a", "c", "f"}, coverage(fileA, span1))
138 tree.Add(cov.Path{"a", "b", "e", "j"}, coverage(fileA, span3))
152 tree.Add(cov.Path{"a", "b", "e", "k"}, coverage(fileA, span3))
166 tree.Add(cov.Path{"a", "c", "f", "l", "v"}, coverage(fileA, span1, span2))
182 tree.Add(cov.Path{"a", "c", "f", "l", "x"}, coverage(fileA, span1, span2))
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodCoverageCalculatorTest.java40 private MethodCoverageImpl coverage; field in MethodCoverageCalculatorTest
45 coverage = new MethodCoverageImpl("run", "()V", null); in setup()
57 c.calculate(coverage); in should_report_instructions()
71 c.calculate(coverage); in should_report_instructions_with_branches()
86 c.calculate(coverage); in should_ignore_single_instruction()
104 c.calculate(coverage); in should_ignore_instruction_range()
120 c.calculate(coverage); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
122 assertEquals(2, coverage.getFirstLine()); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
123 assertEquals(2, coverage.getLastLine()); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
135 c.calculate(coverage); in should_merge_instructions()
[all …]
/external/python/dateutil/
Dtox.ini10 coverage,
17 setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname}
22 [testenv:coverage]
23 description = combine coverage data and create reports argument
24 deps = coverage argument
27 setenv = COVERAGE_FILE=.coverage argument
28 commands = coverage erase argument
29 coverage combine
30 coverage report --rcfile={toxinidir}/tox.ini
31 coverage xml
[all …]
/external/google-fruit/extras/scripts/
Dtest_coverage.sh3 rm -rf coverage
4 mkdir coverage
5 cd coverage
8 COMPILE_COMMAND=(g++ -O0 -W -Wall -Werror -std=c++11 -fprofile-arcs -fno-exceptions -ftest-coverage
38 lcov --rc lcov_branch_coverage=1 -capture --directory . --output-file all-coverage.info
40 --extract all-coverage.info "$PROJECT_DIR/src/*" \
41 --extract all-coverage.info "$PROJECT_DIR/include/*" \
42 --output-file coverage.info
43 genhtml --branch-coverage --demangle-cpp coverage.info --output-directory html
/external/openthread/third_party/nlbuild-autotools/repo/automake/pre/macros/
Dcoverage.am20 # other automake headers and files for code coverage.
26 # Suffix for the code coverage report "bundle".
31 # Suffix for the lcov "info" file inside the code coverage report bundle.
60 # generate-coverage-report <directory>
62 # Capture, using lcov, a coverage report from the specified directory 'directory'
65 # <directory> - The directory from which lcov should search for coverage data (*.gcno & *.gcda)
67 # - create baseline coverage data file (base.info) with '-i|--initial' option
68 # - create test coverage data file (test.info)
69 # - combine baseline and test coverage data to create the final "info" file
71 # Then, on success, generate an HTML-based coverage report using genhtml.
[all …]
/external/pigweed/pw_toolchain/host_clang/
Dtoolchains.gni21 # "thread", "undefined", "undefined_heuristic", and "coverage".
24 # Indicates if this toolchain supports generating coverage reports from
28 # of the test binary itself cannot generate coverage reports.
94 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
110 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
126 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
140 # Always disable coverage generation.
167 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
182 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
198 # Allow coverage generation if pw_toolchain_SANITIZERS = ["coverage"].
[all …]
/external/clang/docs/
DSanitizerCoverage.rst11 Sanitizer tools have a very simple code coverage tool built in. It allows to
12 get function-level, basic-block-level, and edge-level coverage at a very low
23 * ``-fsanitize-coverage=func`` for function-level coverage (very fast).
24 * ``-fsanitize-coverage=bb`` for basic-block-level coverage (may add up to 30%
26 * ``-fsanitize-coverage=edge`` for edge-level coverage (up to 40% slowdown).
28 You may also specify ``-fsanitize-coverage=indirect-calls`` for
29 additional `caller-callee coverage`_.
31 At run time, pass ``coverage=1`` in ``ASAN_OPTIONS``,
33 appropriate. For the standalone coverage mode, use ``UBSAN_OPTIONS``.
35 To get `Coverage counters`_, add ``-fsanitize-coverage=8bit-counters``
[all …]
/external/oss-fuzz/docs/advanced-topics/
Dcode_coverage.md3 title: Code coverage
6 permalink: /advanced-topics/code-coverage/
13 you can generate code coverage reports using Clang source-based code coverage.
15 For more details on C/C++ coverage, see [Clang's documentation].
17 Code coverage reports generation for other languages is not supported yet.
35 Code coverage report generation requires a special build configuration to be
36 used. To create a code coverage build for your project, run these commands:
40 $ python infra/helper.py build_fuzzers --sanitizer=coverage $PROJECT_NAME
46 coverage reports by running fuzz targets against the corpus
65 ## Generate code coverage reports
[all …]
/external/harfbuzz_ng/src/OT/Layout/GSUB/
DAlternateSubstFormat1.hh17 coverage; /* Offset to Coverage table--from member
28 return_trace (coverage.sanitize (c, this) && alternateSet.sanitize (c, this)); in sanitize()
32 { return (this+coverage).intersects (glyphs); } in intersects()
39 + hb_zip (this+coverage, alternateSet) in closure()
51 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
52 + hb_zip (this+coverage, alternateSet) in collect_glyphs()
59 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
62 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
69 { return (this+alternateSet[(this+coverage).get_coverage (gid)]) in get_glyph_alternates()
76 unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); in apply()
[all …]
DMultipleSubstFormat1.hh17 coverage; /* Offset to Coverage table--from member
28 return_trace (coverage.sanitize (c, this) && sequence.sanitize (c, this)); in sanitize()
32 { return (this+coverage).intersects (glyphs); } in intersects()
39 + hb_zip (this+coverage, sequence) in closure()
51 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
52 + hb_zip (this+coverage, sequence) in collect_glyphs()
59 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
62 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
68 unsigned int index = (this+coverage).get_coverage (c->buffer->cur().codepoint); in apply()
99 return_trace (coverage.serialize_serialize (c, glyphs)); in serialize()
[all …]
DLigatureSubstFormat1.hh17 coverage; /* Offset to Coverage table--from member
28 return_trace (coverage.sanitize (c, this) && ligatureSet.sanitize (c, this)); in sanitize()
34 + hb_zip (this+coverage, ligatureSet) in intersects()
48 + hb_zip (this+coverage, ligatureSet) in closure()
61 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
63 + hb_zip (this+coverage, ligatureSet) in collect_glyphs()
70 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
74 unsigned int index = (this+coverage).get_coverage (c->glyphs[0]); in would_apply()
85 unsigned int index = (this+coverage).get_coverage (c->buffer->cur ().codepoint); in apply()
113 return_trace (coverage.serialize_serialize (c, first_glyphs)); in serialize()
[all …]
/external/grpc-grpc/third_party/nanopb/tests/
DMakefile7 coverage: target
8 rm -rf build coverage
14 mkdir build/coverage
15 lcov --base-directory . --directory build/ --gcov-tool gcov-4.6 -c -o build/coverage/nanopb.info
18 lcov -r build/coverage/nanopb.info '*tests*' -o build/coverage/nanopb.info
21 genhtml -o build/coverage build/coverage/nanopb.info
/external/nanopb-c/tests/
DMakefile7 coverage: target
8 rm -rf build coverage
14 mkdir build/coverage
15 lcov --base-directory . --directory build/ --gcov-tool gcov-4.6 -c -o build/coverage/nanopb.info
18 lcov -r build/coverage/nanopb.info '*tests*' -o build/coverage/nanopb.info
21 genhtml -o build/coverage build/coverage/nanopb.info
/external/fonttools/Lib/fontTools/voltLib/
Dast.py310 def __init__(self, coverage, coverage_to, location=None): argument
312 self.coverage = coverage
316 coverage = ''.join(str(c) for c in self.coverage)
318 for coverage, anchor in self.coverage_to:
319 coverage = ''.join(str(c) for c in coverage)
333 for coverage in self.coverages_exit:
334 coverage = ''.join(str(c) for c in coverage)
336 for coverage in self.coverages_enter:
337 coverage = ''.join(str(c) for c in coverage)
352 for coverage in self.coverages_1:
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DClassAnalyzer.java36 private final ClassCoverageImpl coverage; field in ClassAnalyzer
58 public ClassAnalyzer(final ClassCoverageImpl coverage, in ClassAnalyzer() argument
60 this.coverage = coverage; in ClassAnalyzer()
70 coverage.setSignature(stringPool.get(signature)); in visit()
71 coverage.setSuperName(stringPool.get(superName)); in visit()
72 coverage.setInterfaces(stringPool.get(interfaces)); in visit()
89 coverage.setSourceFileName(stringPool.get(source)); in visitSource()
98 InstrSupport.assertNotInstrumented(name, coverage.getName()); in visitMethod()
127 coverage.addMethod(mc);
135 InstrSupport.assertNotInstrumented(name, coverage.getName());
[all …]
/external/openthread/third_party/nlbuild-autotools/repo/autoconf/m4/
Dnl_enable_coverage_reporting.m420 # --enable-coverage configuration option to the package and
21 # controls whether the package will be built for code coverage
31 # Adds an --enable-coverage-reports configuration option to the
34 # without code coverage reports, using the LCOV package.
54 # to build and generate the coverage reports.
59 AC_CACHE_CHECK([whether to build graphical code coverage reports],
62 AC_ARG_ENABLE(coverage-reports,
63 …[AS_HELP_STRING([--enable-coverage-reports],[Enable the generation of code coverage reports (requi…
72 AC_MSG_ERROR([Invalid value ${enableval} for --enable-coverage])
81 # If coverage is not enabled, then coverage reports
[all …]
/external/emma/core/res/
Demma_default.properties7 # -Dreport.txt.out.file=coverage.txt
16 # -Demma.report.txt.out.file=coverage.txt
44 session.out.file: coverage.es
49 # runtime coverage data output properties:
51 coverage.out.file: /sdcard/coverage.ec
52 coverage.out.merge: true
58 metadata.out.file: coverage.em
76 report.txt.out.file: coverage.txt
81 #report.html.out.dir: coverage
82 report.html.out.file: coverage/index.html
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DSource.java53 private final ILine coverage; field in Source.Line
55 private Line(int nr, String text, ILine coverage) { in Line() argument
58 this.coverage = coverage; in Line()
70 return coverage; in getCoverage()
84 return Source.this.coverage.getName() + ":" + nr; in toString()
91 private final ISourceFileCoverage coverage; field in Source
103 public Source(final Reader reader, ISourceFileCoverage coverage) in Source() argument
106 this.coverage = coverage; in Source()
110 lines.add(new Line(nr, l, coverage.getLine(nr))); in Source()
127 return coverage; in getCoverage()

12345678910>>...61