Home
last modified time | relevance | path

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

1234567

/freebsd-14.2/contrib/libucl/
H A DMakefile.am12 COVERAGE_REPORT_DIR = $(top_builddir)/coverage
14 .PHONY = coverage-requirement-check clean-coverage-report
16 coverage-requirement-check:
22 coverage: coverage-requirement-check clean-coverage coverage-build coverage-check coverage-report target
25 coverage-build: coverage-requirement-check
39 coverage-check: coverage-requirement-check
48 coverage-lcov: coverage-check coverage-requirement-check
57 coverage-report: coverage-lcov
67 clean-coverage-report:
71 clean-coverage: clean-coverage-report
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp21 const coverage::CoverageMapping &, in matches()
22 const coverage::FunctionRecord &Function) const { in matches()
28 const coverage::CoverageMapping &, in matches()
29 const coverage::FunctionRecord &Function) const { in matches()
38 const coverage::CoverageMapping &, in matches()
39 const coverage::FunctionRecord &Function) const { in matches()
44 const coverage::CoverageMapping &CM, in matches()
45 const coverage::FunctionRecord &Function) const { in matches()
51 const coverage::CoverageMapping &CM, in matches()
52 const coverage::FunctionRecord &Function) const { in matches()
[all …]
H A DCoverageFilters.h23 namespace coverage {
34 virtual bool matches(const coverage::CoverageMapping &CM, in matches()
35 const coverage::FunctionRecord &Function) const { in matches()
52 bool matches(const coverage::CoverageMapping &CM,
53 const coverage::FunctionRecord &Function) const override;
63 bool matches(const coverage::CoverageMapping &CM,
78 bool matches(const coverage::CoverageMapping &CM,
115 bool matches(const coverage::CoverageMapping &CM,
127 bool matches(const coverage::CoverageMapping &CM,
144 bool matches(const coverage::CoverageMapping &CM,
[all …]
H A DCoverageExporterLcov.cpp57 const iterator_range<coverage::FunctionRecordIterator> &Functions) { in renderFunctions()
68 coverage::LineCoverageIterator LCI{FileCoverage, 1}; in renderLineExecutionCounts()
69 coverage::LineCoverageIterator LCIEnd = LCI.getEnd(); in renderLineExecutionCounts()
71 const coverage::LineCoverageStats &LCS = *LCI; in renderLineExecutionCounts()
78 std::vector<llvm::coverage::CountedRegion>
79 collectNestedBranches(const coverage::CoverageMapping &Coverage, in collectNestedBranches()
82 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches()
108 bool sortLine(llvm::coverage::CountedRegion I, in sortLine()
109 llvm::coverage::CountedRegion J) { in sortLine()
117 std::vector<llvm::coverage::CountedRegion> Branches = in renderBranchExecutionCounts()
[all …]
H A DCoverageExporterJson.cpp83 json::Array renderSegment(const coverage::CoverageSegment &Segment) { in renderSegment()
89 json::Array renderRegion(const coverage::CountedRegion &Region) { in renderRegion()
96 json::Array renderBranch(const coverage::CountedRegion &Region) { in renderBranch()
104 json::Array gatherConditions(const coverage::MCDCRecord &Record) { in gatherConditions()
111 json::Array renderMCDCRecord(const coverage::MCDCRecord &Record) { in renderMCDCRecord()
118 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderRegions()
140 std::vector<llvm::coverage::CountedRegion>
141 collectNestedBranches(const coverage::CoverageMapping &Coverage, in collectNestedBranches()
143 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches()
249 json::Object renderFile(const coverage::CoverageMapping &Coverage, in renderFile()
[all …]
H A DCoverageReport.h28 const coverage::CoverageMapping &Coverage;
36 const coverage::CoverageMapping &Coverage) in CoverageReport()
44 prepareFileReports(const coverage::CoverageMapping &Coverage,
51 const coverage::CoverageMapping *Coverage,
82 const coverage::CoverageMapping &Coverage,
101 const coverage::CoverageMapping &Coverage;
H A DSourceCoverageViewHTML.h20 using namespace coverage; variable
35 const coverage::CoverageMapping &Coverage,
60 const coverage::CoverageMapping &Coverage,
116 coverage::CoverageData &&CoverageInfo) in SourceCoverageViewHTML()
H A DCoverageExporter.h27 const coverage::CoverageMapping &Coverage;
35 CoverageExporter(const coverage::CoverageMapping &CoverageMapping, in CoverageExporter()
/freebsd-14.2/sys/contrib/openzfs/config/
H A Dax_code_coverage.m425 # coverage is enabled.
91 AC_ARG_ENABLE([code-coverage],
125 dnl Build the code coverage flags
151 clean: code-coverage-clean
152 distclean: code-coverage-clean
153 code-coverage-clean:
167 # Code coverage
253 # Capture code coverage data
254 code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"'
257 code-coverage-capture-hook:
[all …]
/freebsd-14.2/contrib/openpam/
H A DMakefile.am23 coverage: coverage-clean all coverage-prepare coverage-run coverage-report target
24 coverage-clean:
26 coverage-prepare:
31 coverage-run:
34 coverage-report:
45 coverage: target
H A Dconfigure.ac127 AC_ARG_ENABLE([code-coverage],
128 AS_HELP_STRING([--enable-code-coverage],
129 [enable code coverage]))
137 AC_MSG_ERROR([code coverage is only supported with clang])
139 AC_DEFINE([WITH_CODE_COVERAGE], [1], [Define to 1 if code coverage is enabled])
140 AC_MSG_NOTICE([code coverage enabled])
142 AC_MSG_ERROR([code coverage requires unit tests])
H A DMakefile.in852 @WITH_CODE_COVERAGE_TRUE@coverage: coverage-clean all coverage-prepare coverage-run coverage-report
853 @WITH_CODE_COVERAGE_TRUE@coverage-clean:
855 @WITH_CODE_COVERAGE_TRUE@coverage-prepare:
858 @CLANG_CODE_COVERAGE_TRUE@@WITH_CODE_COVERAGE_TRUE@coverage-run:
861 @CLANG_CODE_COVERAGE_TRUE@@WITH_CODE_COVERAGE_TRUE@coverage-report:
870 @WITH_CODE_COVERAGE_FALSE@coverage:
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dcoverage3 # $File: coverage,v 1.3 2021/02/23 00:51:10 christos Exp $
4 # xoverage: file(1) magic for test coverage data
6 # File formats used to store test coverage data
11 # gcc -ftest-coverage
21 # GCC coverage tracefiles
29 0 lelong 0x67636e6f GCC gcno coverage (-ftest-coverage),
34 0 belong 0x67636e6f GCC gcno coverage (-ftest-coverage),
41 0 lelong 0x67636461 GCC gcda coverage (-fprofile-arcs),
54 >&0 search/64 \nSF:/ LCOV coverage tracefile
58 # i.e. source code annotated with coverage information
[all …]
/freebsd-14.2/contrib/libucl/m4/
H A Dgcov.m43 # Add code coverage support with gcov/lcov.
9 # Provides a --enable-coverage option which checks for available
14 # $Id: coverage.m4 40881 2013-08-20 17:54:39Z damon $
28 AC_ARG_ENABLE(coverage, AC_HELP_STRING([--enable-coverage],[configure code coverage analysis tools]…
51 # include coverage compiler options
65 COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
66 COVERAGE_LDFLAGS="--coverage -fprofile-arcs -ftest-coverage"
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_activation.cpp30 bool coverage; member
56 cf.coverage = coverage; in OverrideFromActivationFlags()
75 coverage = cf.coverage; in OverrideFromActivationFlags()
89 allocator_options.may_return_null, coverage, coverage_dir, in Print()
104 asan_deactivated_flags.coverage = common_flags()->coverage; in AsanDeactivate()
/freebsd-14.2/contrib/ntp/sntp/libevent/cmake/
H A DCodeCoverage.cmake42 # 3. Set compiler flags to turn off optimization and enable coverage:
43 # SET(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
44 # SET(CMAKE_C_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
47 # which runs your test executable and produces a lcov code coverage report:
53 # # otherwise the coverage generation will not complete.
54 # coverage # Name of output directory.
91 # If not, no coverage report will be created!
122 …COMMENT "Resetting code coverage counters to zero.\nProcessing code coverage counters and generati…
128 COMMENT "Open ./${_outputname}/index.html in your browser to view the coverage report."
156 COMMENT "Running gcovr to produce Cobertura code coverage report."
[all …]
/freebsd-14.2/contrib/libevent/cmake/
H A DCodeCoverage.cmake42 # 3. Set compiler flags to turn off optimization and enable coverage:
43 # SET(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
44 # SET(CMAKE_C_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
47 # which runs your test executable and produces a lcov code coverage report:
53 # # otherwise the coverage generation will not complete.
54 # coverage # Name of output directory.
91 # If not, no coverage report will be created!
122 …COMMENT "Resetting code coverage counters to zero.\nProcessing code coverage counters and generati…
128 COMMENT "Open ./${_outputname}/index.html in your browser to view the coverage report."
156 COMMENT "Running gcovr to produce Cobertura code coverage report."
[all …]
/freebsd-14.2/sys/contrib/openzfs/.github/
H A Dcodecov.yml6 coverage:
14 threshold: 1% # allow 1% coverage variance
18 threshold: 1% # allow 1% coverage variance
23 require_changes: yes # only post when coverage changes
/freebsd-14.2/contrib/libcbor/doc/source/
H A Dtests.rst19 Code coverage
22 Every release is inspected using `GCOV/LCOV <http://ltp.sourceforge.net/coverage/lcov.php>`_. Platf…
26 make coverage
33 lcov --capture --directory . --output-file coverage.info
34 genhtml coverage.info --output-directory out
/freebsd-14.2/contrib/libcbor/
H A DCMakeLists.txt109 add_custom_target(coverage target
111 COMMAND lcov --capture --directory . --output-file coverage.info
112 … COMMAND genhtml coverage.info --highlight --legend --output-directory coverage_html
115 add_custom_target(llvm-coverage
130 option(c "Enable code coverage instrumentation" OFF)
132 message("Configuring code coverage instrumentation")
135 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -fprofile-arcs -ftest-coverage --coverage")
136 …_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g -fprofile-arcs -ftest-coverage --coverage")
141 message(WARNING "Code coverage build not implemented for compiler ${CMAKE_C_COMPILER_ID}")
/freebsd-14.2/cddl/usr.sbin/dwatch/libexec/
H A Dudplite28 this uint16_t coverage;
51 this->coverage = (uint16_t)args[4]->udplite_coverage;
80 this->coverage,
81 this->coverage == 1 ? "" : "s");
/freebsd-14.2/crypto/openssl/fuzz/
H A DREADME.md103 config with enable-fuzz-* or -fsanitize-coverage, but some of the other options
131 connection setup. This results in the coverage of the fuzzing corpus changing
132 depending on the random numbers. This also has an effect for coverage of the
133 rest of the test suite and you see the coverage change for each commit even when
136 Since we want to maximize the coverage of the fuzzing corpus, the client and
140 The coverage depends on the way the numbers are generated. We don't disable any
150 changes in what they send by default will have an impact on the coverage. The
164 The libfuzzer merge option is used to add the additional coverage
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def219 ///< enable code coverage analysis.
222 CODEGENOPT(MCDCCoverage , 1, 0) ///< Enable MC/DC code coverage criteria.
263 CODEGENOPT(SanitizeCoverageType, 2, 0) ///< Type of sanitizer coverage
268 ///< in sanitizer coverage.
270 ///< in sanitizer coverage.
272 ///< in sanitizer coverage.
274 ///< in sanitizer coverage.
276 ///< in sanitizer coverage.
278 ///< in sanitizer coverage.
280 ///< in sanitizer coverage.
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_fuchsia.cpp74 if (end > start && *start == 0 && common_flags()->coverage) { in InitTracePcGuard()
130 DCHECK(common_flags()->coverage); in Setup()
200 CHECK_EQ(enabled, common_flags()->coverage); in InitializeCoverage()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFlags.def27 "they do not produce new coverage. When used with |reduce_inputs==1|, the "
38 "increase coverage because they are not properly formed, will still be "
75 "provide the same coverage as the initial corpora")
102 " unique coverage; directed edges are provided between parents and children"
103 " where the child has unique coverage, and are recorded with the type of"
105 FUZZER_FLAG_INT(use_counters, 1, "Use coverage counters")
142 FUZZER_FLAG_INT(print_coverage, 0, "If 1, print coverage information as text"
144 FUZZER_FLAG_INT(print_full_coverage, 0, "If 1, print full coverage information "

1234567