/freebsd/contrib/libucl/ |
H A D | Makefile.am | 11 COVERAGE_INFO_FILE = $(top_builddir)/coverage.info 12 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: [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageFilters.h | 23 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, 64 const coverage::FunctionRecord &Function) const override; 78 bool matches(const coverage::CoverageMapping &CM, 79 const coverage::FunctionRecord &Function) const override; 115 bool matches(const coverage::CoverageMapping &CM, [all …]
|
H A D | CoverageFilters.cpp | 21 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 D | CoverageExporterLcov.cpp | 57 const iterator_range<coverage::FunctionRecordIterator> &Functions) { in renderFunctions() 67 const coverage::CoverageData &FileCoverage) { in renderLineExecutionCounts() 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() 80 ArrayRef<llvm::coverage::ExpansionRecord> Expansions, in collectNestedBranches() 82 std::vector<llvm::coverage::CountedRegion> Branches; in collectNestedBranches() 108 bool sortLine(llvm::coverage::CountedRegion I, in sortLine() [all …]
|
H A D | CoverageExporterJson.cpp | 83 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() 112 const llvm::coverage::CounterMappingRegion &CMR = Record.getDecisionRegion(); in renderMCDCRecord() 118 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderRegions() 125 json::Array renderBranchRegions(ArrayRef<coverage::CountedRegion> Regions) { in renderBranchRegions() 133 json::Array renderMCDCRecords(ArrayRef<coverage::MCDCRecord> Records) { in renderMCDCRecords() 140 std::vector<llvm::coverage::CountedRegion> [all …]
|
H A D | CoverageReport.h | 28 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 D | SourceCoverageViewHTML.h | 20 using namespace coverage; variable 33 const coverage::CoverageMapping &Coverage, 59 const coverage::CoverageMapping &Coverage, 114 coverage::CoverageData &&CoverageInfo) in SourceCoverageViewHTML()
|
H A D | CoverageExporter.h | 27 const coverage::CoverageMapping &Coverage; 35 CoverageExporter(const coverage::CoverageMapping &CoverageMapping, in CoverageExporter()
|
H A D | CoverageSummaryInfo.h | 9 // These structures are used to represent code coverage metrics 22 /// Provides information about region coverage for a function/file. 63 /// Provides information about line coverage for a function/file. 104 /// Provides information about branches coverage for a function/file. 145 /// Provides information about MC/DC coverage for a function/file. 186 /// Provides information about function coverage for a file. 226 /// A summary of function's code coverage. 247 /// Compute the code coverage summary for the given function coverage 249 static FunctionCoverageSummary get(const coverage [all...] |
/freebsd/sys/contrib/openzfs/config/ |
H A D | ax_code_coverage.m4 | 16 # coverage support. Also defines CODE_COVERAGE_RULES which should be 20 # --enable-code-coverage option, which defaults to being disabled. 26 # coverage is enabled. 42 # This results in a "check-code-coverage" rule being added to any 44 # has been configured with --enable-code-coverage). Running `make 45 # check-code-coverage` in that directory will run the module's test suite 46 # (`make check`) and build a code coverage report detailing the code which 82 dnl Check for --enable-code-coverage 87 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])], 91 AC_MSG_CHECKING([whether to build with code coverage support]) [all …]
|
/freebsd/contrib/openpam/ |
H A D | Makefile.am | 23 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 D | configure.ac | 127 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 D | Makefile.in | 852 @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/contrib/file/magic/Magdir/ |
H A D | coverage | 3 # $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), 46 0 belong 0x67636461 GCC gcda coverage (-fprofile-arcs), 52 # cf. http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php [all …]
|
/freebsd/contrib/libucl/m4/ |
H A D | gcov.m4 | 3 # 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/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_activation.cpp | 30 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/contrib/ntp/sntp/libevent/cmake/ |
H A D | CodeCoverage.cmake | 42 # 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. 84 MESSAGE( WARNING "Code coverage results with an optimized (non-Debug) build may be misleading" ) 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." [all …]
|
/freebsd/contrib/libevent/cmake/ |
H A D | CodeCoverage.cmake | 42 # 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. 84 MESSAGE( WARNING "Code coverage results with an optimized (non-Debug) build may be misleading" ) 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." [all …]
|
/freebsd/contrib/libcbor/doc/source/ |
H A D | tests.rst | 19 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/contrib/libcbor/ |
H A D | CMakeLists.txt | 109 add_custom_target(coverage 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 set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g -fprofile-arcs -ftest-coverage --coverage") 105 add_custom_target(coverage global() target [all...] |
/freebsd/cddl/usr.sbin/dwatch/libexec/ |
H A D | udplite | 28 this uint16_t coverage; 51 this->coverage = (uint16_t)args[4]->udplite_coverage; 80 this->coverage, 81 this->coverage == 1 ? "" : "s");
|
/freebsd/crypto/openssl/fuzz/ |
H A D | README.md | 103 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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_coverage_fuchsia.cpp | 16 // would be to report 100% coverage. Implicit tracing information about 51 // Collects trace-pc guard coverage. 74 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/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | CodeGenOptions.def | 224 CODEGENOPT(CoverageMapping , 1, 0) ///< Generate coverage mapping regions to 225 ///< enable code coverage analysis. 226 CODEGENOPT(DumpCoverageMapping , 1, 0) ///< Dump the generated coverage mapping 228 CODEGENOPT(MCDCCoverage , 1, 0) ///< Enable MC/DC code coverage criteria. 272 CODEGENOPT(SanitizeCoverageType, 2, 0) ///< Type of sanitizer coverage 274 CODEGENOPT(SanitizeCoverageIndirectCalls, 1, 0) ///< Enable sanitizer coverage 277 ///< in sanitizer coverage. 279 ///< in sanitizer coverage. 281 ///< in sanitizer coverage. 283 ///< in sanitizer coverage. [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFlags.def | 27 "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 "
|