LCOV - code coverage report
Current view: top level - gcc - diagnostic-format-sarif.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 93.3 % 1440 1344
Test Date: 2024-09-14 15:41:07 Functions: 89.9 % 119 107
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
_Z42diagnostic_output_format_init_sarif_stderrR18diagnostic_contextPK9line_mapsPKcb 0
_Z42diagnostic_output_format_init_sarif_streamR18diagnostic_contextPK9line_mapsPKcbP8_IO_FILE 0
_ZL21maybe_get_sarif_level12diagnostic_t 0
_ZL25sarif_begin_embedded_linkP14pretty_printer 0
_ZN15sarif_code_flow15get_thread_flowEj 0
_ZN22sarif_ice_notification20add_related_locationESt10unique_ptrI14sarif_locationSt14default_deleteIS1_EE 0
_ZN26sarif_stream_output_formatD0Ev 0
_ZN26sarif_stream_output_formatD0Ev 0
_ZN26sarif_stream_output_formatD2Ev 0
_ZNK26sarif_stream_output_format25machine_readable_stderr_pEv 0
_ZNK27sarif_location_relationship13get_target_idEv 0
_ZNK8selftest29test_sarif_diagnostic_context22buffered_output_format25machine_readable_stderr_pEv 0
_ZL17sarif_ice_handlerP18diagnostic_context 2
_ZN16sarif_invocation24add_notification_for_iceER18diagnostic_contextRK15diagnostic_infoR13sarif_builder 2
_ZN22sarif_ice_notificationC2ER18diagnostic_contextRK15diagnostic_infoR13sarif_builder 2
_ZNK24sarif_file_output_format25machine_readable_stderr_pEv 2
_ZN12sarif_result10on_diagramER18diagnostic_contextRK18diagnostic_diagramR13sarif_builder 4
_ZN13sarif_builder12emit_diagramER18diagnostic_contextRK18diagnostic_diagram 4
_ZN13sarif_builder31make_message_object_for_diagramER18diagnostic_contextRK18diagnostic_diagram 4
_ZN19sarif_output_format10on_diagramERK18diagnostic_diagram 4
_ZN8selftest32diagnostic_format_sarif_cc_testsEv 4
_ZN8selftestL15test_simple_logEv 4
_ZN8selftestL31test_message_with_embedded_linkEv 4
_ZN13sarif_builder15make_fix_objectERK13rich_location 5
_ZN13sarif_builder27make_artifact_change_objectERK13rich_location 5
_ZNK13sarif_builder23make_replacement_objectERK10fixit_hint 5
_ZNK13sarif_builder27make_region_object_for_hintERK10fixit_hint 5
_ZNK13sarif_builder28make_artifact_content_objectEPKc 5
_ZZN13sarif_builder16make_tool_objectEvEN17my_plugin_visitor9on_pluginERK29diagnostic_client_plugin_info 5
_ZZN8selftestL31test_message_with_embedded_linkEvENK13test_urlifier23get_url_for_quoted_textEPKcm 8
_ZN8selftestL19get_result_from_logEPK9sarif_log 12
_ZN8selftestL20get_message_from_logEPK9sarif_log 12
_ZN12sarif_result20on_nested_diagnosticER18diagnostic_contextRK15diagnostic_info12diagnostic_tR13sarif_builder 15
_ZN13sarif_builder20make_location_objectER22sarif_location_managerj24diagnostic_artifact_role 16
_ZN13sarif_builder53make_reporting_descriptor_reference_object_for_cwe_idEi 18
_ZNK13sarif_builder43make_reporting_descriptor_object_for_cwe_idEi 18
_ZNK13sarif_builder44make_tool_component_reference_object_for_cweEv 18
_ZN13sarif_builder21make_code_flow_objectER12sarif_resultjRK15diagnostic_path 19
_ZN15sarif_code_flowC2ER12sarif_resultj 19
_ZL16make_pwd_uri_strv 20
_ZN17sarif_thread_flowC2ER15sarif_code_flowRK17diagnostic_threadj 20
_ZN22sarif_location_manager21process_worklist_itemER13sarif_builderRKNS_13worklist_itemE 20
_ZN22sarif_location_manager28add_relationship_to_worklistER14sarif_locationNS_13worklist_item4kindEj 20
_ZNK13sarif_builder37make_artifact_location_object_for_pwdEv 20
_Z24make_sarif_url_for_eventPK15sarif_code_flow21diagnostic_event_id_t 21
_ZL23sarif_end_embedded_linkP14pretty_printerPKc 23
_ZN12sarif_result20add_related_locationESt10unique_ptrI14sarif_locationSt14default_deleteIS1_EE 35
_ZL41get_string_for_location_relationship_kind26location_relationship_kind 39
_ZN14sarif_location13lazily_add_idER22sarif_location_manager 39
_ZN14sarif_location23lazily_add_relationshipERS_26location_relationship_kindR22sarif_location_manager 39
_ZN14sarif_location30lazily_add_relationship_objectERS_R22sarif_location_manager 39
_ZN14sarif_location30lazily_add_relationships_arrayEv 39
_ZN27sarif_location_relationship15lazily_add_kindE26location_relationship_kind 39
_ZN27sarif_location_relationshipC2ER14sarif_locationR22sarif_location_manager 39
_ZNK14sarif_location6get_idEv 39
_ZN13sarif_builder44make_reporting_descriptor_object_for_warningER18diagnostic_contextRK15diagnostic_info12diagnostic_tPKc 58
_ZN13sarif_builder20make_location_objectER22sarif_location_managerRK16diagnostic_event24diagnostic_artifact_role 63
_ZN13sarif_builder36populate_thread_flow_location_objectER12sarif_resultR26sarif_thread_flow_locationRK16diagnostic_eventi 63
_ZN15sarif_code_flow12add_locationER26sarif_thread_flow_location 63
_ZN15sarif_code_flow25get_or_append_thread_flowERK17diagnostic_threadj 63
_ZN17sarif_thread_flow12add_locationEv 63
_ZNK13sarif_builder22maybe_make_kinds_arrayEN16diagnostic_event7meaningE 63
_ZNK15sarif_code_flow23get_thread_flow_loc_objE21diagnostic_event_id_t 72
_ZZN13sarif_builder20make_location_objectER22sarif_location_managerRK13rich_locationPK16logical_location24diagnostic_artifact_roleENK24escape_nonascii_renderer6renderERKS_ 72
_ZN8selftest29test_sarif_diagnostic_contextC2EPKc 80
_Z40diagnostic_output_format_init_sarif_fileR18diagnostic_contextPK9line_mapsPKcbS5_ 83
_ZN13sarif_builder13flush_to_fileEP8_IO_FILE 83
_ZN24sarif_file_output_formatC2ER18diagnostic_contextPK9line_mapsPKcbS6_ 83
_ZNK13sarif_builder31make_multiformat_message_stringEPKc 90
_ZN8selftestL17test_simple_log_2ERKNS_15line_table_caseE 96
_ZN8selftestL25test_make_location_objectERKNS_15line_table_caseE 96
_Z34make_sarif_logical_location_objectRK16logical_location 97
_ZL20maybe_get_sarif_kind21logical_location_kind 97
_ZL32make_rule_id_for_diagnostic_kind12diagnostic_t 103
_ZN14sarif_artifact17populate_contentsER13sarif_builder 147
_ZNK13sarif_builder34maybe_make_artifact_content_objectEPKc 147
_ZL35diagnostic_output_format_init_sarifR18diagnostic_contextSt10unique_ptrI19sarif_output_formatSt14default_deleteIS2_EE 163
_ZN13sarif_builder15flush_to_objectEv 163
_ZN13sarif_builder15make_run_objectESt10unique_ptrI16sarif_invocationSt14default_deleteIS1_EES0_IN4json5arrayES2_IS6_EE 163
_ZN13sarif_builder16make_tool_objectEv 163
_ZN13sarif_builder21make_top_level_objectESt10unique_ptrI16sarif_invocationSt14default_deleteIS1_EES0_IN4json5arrayES2_IS6_EE 163
_ZN13sarif_builder33make_driver_tool_component_objectEv 163
_ZN16sarif_invocation16prepare_to_flushER18diagnostic_context 163
_ZN19sarif_output_formatD0Ev 163
_ZN19sarif_output_formatD0Ev 0
_ZN19sarif_output_formatD2Ev 163
_ZNK13sarif_builder27maybe_make_taxonomies_arrayEv 163
_ZNK13sarif_builder30maybe_make_cwe_taxonomy_objectEv 163
_ZN24sarif_file_output_formatD0Ev 166
_ZN24sarif_file_output_formatD0Ev 83
_ZN24sarif_file_output_formatD2Ev 83
_ZN12sarif_object24get_or_create_propertiesEv 171
_ZN14sarif_artifact14populate_rolesEv 179
_ZL24get_artifact_role_string24diagnostic_artifact_role 197
_ZN13sarif_builderC2ER18diagnostic_contextPK9line_mapsPKcb 227
_ZN16sarif_invocationC2ER13sarif_builderPKPKc 227
_ZN14sarif_artifactC2EPKc 307
_ZN13sarif_builder18make_result_objectER18diagnostic_contextRK15diagnostic_info12diagnostic_tj 325
_ZN22sarif_location_manager16process_worklistER13sarif_builder 325
_ZN13sarif_builder18make_locations_arrER22sarif_location_managerRK15diagnostic_info24diagnostic_artifact_role 327
_ZN13sarif_builder9end_groupEv 327
_ZN19sarif_output_format12on_end_groupEv 327
_ZN19sarif_output_format14on_begin_groupEv 327
_ZN13sarif_builder20on_report_diagnosticER18diagnostic_contextRK15diagnostic_info12diagnostic_t 342
_ZN19sarif_output_format20on_report_diagnosticERK15diagnostic_info12diagnostic_t 342
_ZL38make_date_time_string_for_current_timev 390
_ZN22sarif_location_managerC2Ev 391
_ZN13sarif_builder20make_location_objectER22sarif_location_managerRK13rich_locationPK16logical_location24diagnostic_artifact_role 406
_ZN13sarif_builder19sarif_token_printer12print_tokensEP14pretty_printerRK13pp_token_list 431
_ZNK13sarif_builder16get_source_linesEPKcii 465
_ZNK13sarif_builder34maybe_make_artifact_content_objectEPKciiPK16content_renderer 465
_ZN13sarif_builder24set_any_logical_locs_arrER14sarif_locationPK16logical_location 469
_ZNK13sarif_builder36maybe_make_region_object_for_contextEjPK16content_renderer 469
_ZN13sarif_builder29make_artifact_location_objectEj 474
_ZN13sarif_builder21add_any_include_chainER22sarif_location_managerR14sarif_locationj 485
_ZN13sarif_builder35maybe_make_physical_location_objectEj24diagnostic_artifact_roleiPK16content_renderer 485
_ZNK13sarif_builder19make_message_objectEPKc 621
_ZNK13sarif_builder24maybe_make_region_objectEji 685
_ZN13sarif_builder22get_or_create_artifactEPKc24diagnostic_artifact_roleb 696
_ZN14sarif_artifact8add_roleE24diagnostic_artifact_roleb 696
_ZN13sarif_builder29make_artifact_location_objectEPKc 1008
_ZNK13sarif_builder16get_sarif_columnE17expanded_location 1174

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.