LCOV - code coverage report
Current view: top level - gcc - diagnostic-format-json.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 83.6 % 274 229
Test Date: 2025-01-11 13:11:20 Functions: 74.3 % 35 26
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_Z39diagnostic_output_format_init_json_fileR18diagnostic_contextbPKc 12
_Z41diagnostic_output_format_init_json_stderrR18diagnostic_contextb 32
_ZL18json_from_metadataPK19diagnostic_metadata 4
_ZL18make_json_for_pathR18diagnostic_contextP14pretty_printerPK15diagnostic_path 5
_ZL20json_from_fixit_hintR18diagnostic_contextPK10fixit_hint 6
_ZL24json_from_location_rangeR18diagnostic_contextPK14location_rangej 68
_ZL27json_from_expanded_locationR18diagnostic_contextm 157
_ZL34diagnostic_output_format_init_jsonR18diagnostic_contextSt10unique_ptrI18json_output_formatSt14default_deleteIS2_EE 44
_ZN18json_output_format10on_diagramERK18diagnostic_diagram 0
_ZN18json_output_format10set_bufferEP28diagnostic_per_format_buffer 54
_ZN18json_output_format12on_end_groupEv 52
_ZN18json_output_format13flush_to_fileEP8_IO_FILE 44
_ZN18json_output_format14on_begin_groupEv 52
_ZN18json_output_format14update_printerEv 0
_ZN18json_output_format16after_diagnosticERK15diagnostic_info 59
_ZN18json_output_format20on_report_diagnosticERK15diagnostic_info12diagnostic_t 64
_ZN18json_output_format22make_per_format_bufferEv 1
_ZN18json_output_formatC2ER18diagnostic_contextb 44
_ZN23json_file_output_formatC2ER18diagnostic_contextbPKc 12
_ZN23json_file_output_formatD0Ev 24
_ZN23json_file_output_formatD0Ev 12
_ZN23json_file_output_formatD2Ev 12
_ZN25json_stderr_output_formatD0Ev 64
_ZN25json_stderr_output_formatD0Ev 32
_ZN25json_stderr_output_formatD2Ev 32
_ZN29diagnostic_json_format_buffer5clearEv 14
_ZN29diagnostic_json_format_buffer5flushEv 0
_ZN29diagnostic_json_format_buffer7move_toER28diagnostic_per_format_buffer 0
_ZN8selftest31diagnostic_format_json_cc_testsEv 4
_ZN8selftestL18test_bad_endpointsEv 4
_ZN8selftestL21test_unknown_locationEv 4
_ZNK18json_output_format27follows_reference_printer_pEv 0
_ZNK18json_output_format4dumpEP8_IO_FILEi 0
_ZNK23json_file_output_format25machine_readable_stderr_pEv 0
_ZNK25json_stderr_output_format25machine_readable_stderr_pEv 0
_ZNK29diagnostic_json_format_buffer4dumpEP8_IO_FILEi 0
_ZNK29diagnostic_json_format_buffer7empty_pEv 5

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.