GCC Code Coverage Report


Directory: src/
Date: 2024-07-13 00:54:47
Exec Total Coverage
Lines: 1100 1263 87.1%
Functions: 225 229 98.3%
Branches: 337 520 64.8%

Function File Line Call count
MSG_CONTACT src/contact/msg-contact.h 31 called 4 times
MSG_CONTACT_SERVICE src/contact/msg-contact-service.h 28 called 3 times
MSG_DRIVE src/drive/msg-drive.h 48 called 12 times
MSG_DRIVE_ITEM src/drive/msg-drive-item.h 31 called 95 times
MSG_DRIVE_ITEM_FILE src/drive/msg-drive-item-file.h 32 called 26 times
MSG_DRIVE_SERVICE src/drive/msg-drive-service.h 33 called 66 times
MSG_IS_DRIVE_ITEM_FILE src/drive/msg-drive-item-file.h 32 called 2 times
MSG_IS_SERVICE src/msg-service.h 33 called 5 times
MSG_MAIL_FOLDER src/message/msg-mail-folder.h 31 called 16 times
MSG_MESSAGE src/message/msg-message.h 31 called 5 times
MSG_MESSAGE_SERVICE src/message/msg-message-service.h 28 called 11 times
MSG_SERVICE src/msg-service.h 33 called 262 times
MSG_USER src/user/msg-user.h 31 called 2 times
MSG_USER_SERVICE src/user/msg-user-service.h 27 called 2 times
close_callback src/msg-input-stream.c 270 called 1 time
glib_autoptr_cleanup_MsgContact src/contact/msg-contact.h 31 called 2 times
glib_autoptr_cleanup_MsgDriveItem src/drive/msg-drive-item.h 31 called 67 times
glib_autoptr_cleanup_MsgMailFolder src/message/msg-mail-folder.h 31 called 1 time
glib_autoptr_cleanup_MsgMessage src/message/msg-message.h 31 called 3 times
glib_autoptr_cleanup_MsgService src/msg-service.h 33 called 1 time
glib_autoptr_cleanup_MsgUser src/user/msg-user.h 31 called 2 times
glib_autoptr_clear_MsgContact src/contact/msg-contact.h 31 called 2 times
glib_autoptr_clear_MsgDriveItem src/drive/msg-drive-item.h 31 called 67 times
glib_autoptr_clear_MsgMailFolder src/message/msg-mail-folder.h 31 called 1 time
glib_autoptr_clear_MsgMessage src/message/msg-message.h 31 called 3 times
glib_autoptr_clear_MsgService src/msg-service.h 33 called 1 time
glib_autoptr_clear_MsgUser src/user/msg-user.h 31 called 2 times
glib_listautoptr_cleanup_MsgContact src/contact/msg-contact.h 31 called 1 time
glib_listautoptr_cleanup_MsgDrive src/drive/msg-drive.h 48 called 20 times
glib_listautoptr_cleanup_MsgDriveItem src/drive/msg-drive-item.h 31 called 4 times
glib_listautoptr_cleanup_MsgMailFolder src/message/msg-mail-folder.h 31 called 2 times
glib_listautoptr_cleanup_MsgMessage src/message/msg-message.h 31 called 1 time
msg_contact_class_init src/contact/msg-contact.c 59 called 2 times
msg_contact_class_intern_init src/contact/msg-contact.c 38 called 2 times
msg_contact_finalize src/contact/msg-contact.c 41 called 2 times
msg_contact_get_given_name src/contact/msg-contact.c 139 called 2 times
msg_contact_get_id src/contact/msg-contact.c 182 called 3 times
msg_contact_get_name src/contact/msg-contact.c 110 called 1 time
msg_contact_get_surname src/contact/msg-contact.c 168 called 2 times
msg_contact_get_type src/contact/msg-contact.c 38 called 8 times
msg_contact_get_type_once src/contact/msg-contact.c 38 called 2 times
msg_contact_init src/contact/msg-contact.c 54 called 3 times
msg_contact_new src/contact/msg-contact.c 74 called 3 times
msg_contact_new_from_json src/contact/msg-contact.c 89 called 2 times
msg_contact_service_class_init src/contact/msg-contact-service.c 41 called 2 times
msg_contact_service_class_intern_init src/contact/msg-contact-service.c 33 called 2 times
msg_contact_service_create src/contact/msg-contact-service.c 123 called 1 time
msg_contact_service_delete src/contact/msg-contact-service.c 176 called 1 time
msg_contact_service_get_contacts src/contact/msg-contact-service.c 62 called 1 time
msg_contact_service_get_type src/contact/msg-contact-service.c 33 called 5 times
msg_contact_service_get_type_once src/contact/msg-contact-service.c 33 called 2 times
msg_contact_service_init src/contact/msg-contact-service.c 36 called 1 time
msg_contact_service_new src/contact/msg-contact-service.c 46 called 1 time
msg_contact_set_given_name src/contact/msg-contact.c 123 called 1 time
msg_contact_set_surname src/contact/msg-contact.c 152 called 1 time
msg_drive_class_init src/drive/msg-drive.c 63 called 2 times
msg_drive_class_intern_init src/drive/msg-drive.c 42 called 2 times
msg_drive_finalize src/drive/msg-drive.c 45 called 11 times
msg_drive_get_created src/drive/msg-drive.c 230 called 1 time
msg_drive_get_drive_type src/drive/msg-drive.c 160 called 1 time
msg_drive_get_id src/drive/msg-drive.c 146 called 9 times
msg_drive_get_modified src/drive/msg-drive.c 244 called 1 time
msg_drive_get_name src/drive/msg-drive.c 174 called 1 time
msg_drive_get_remaining src/drive/msg-drive.c 216 called 1 time
msg_drive_get_total src/drive/msg-drive.c 188 called 1 time
msg_drive_get_type src/drive/msg-drive.c 42 called 24 times
msg_drive_get_type_once src/drive/msg-drive.c 42 called 2 times
msg_drive_get_used src/drive/msg-drive.c 202 called 1 time
msg_drive_init src/drive/msg-drive.c 58 called 11 times
msg_drive_item_class_init src/drive/msg-drive-item.c 69 called 2 times
msg_drive_item_class_intern_init src/drive/msg-drive-item.c 42 called 2 times
msg_drive_item_file_class_init src/drive/msg-drive-item-file.c 46 called 2 times
msg_drive_item_file_class_intern_init src/drive/msg-drive-item-file.c 27 called 2 times
msg_drive_item_file_finalize src/drive/msg-drive-item-file.c 30 called 24 times
msg_drive_item_file_get_mime_type src/drive/msg-drive-item-file.c 114 called 1 time
msg_drive_item_file_get_thumbnail_uri src/drive/msg-drive-item-file.c 128 called 1 time
msg_drive_item_file_get_type src/drive/msg-drive-item-file.c 27 called 54 times
msg_drive_item_file_get_type_once src/drive/msg-drive-item-file.c 27 called 2 times
msg_drive_item_file_init src/drive/msg-drive-item-file.c 41 called 25 times
msg_drive_item_file_new src/drive/msg-drive-item-file.c 61 called 25 times
msg_drive_item_file_new_from_json src/drive/msg-drive-item-file.c 75 called 18 times
msg_drive_item_finalize src/drive/msg-drive-item.c 45 called 42 times
msg_drive_item_folder_class_init src/drive/msg-drive-item-folder.c 34 called 2 times
msg_drive_item_folder_class_intern_init src/drive/msg-drive-item-folder.c 26 called 2 times
msg_drive_item_folder_get_type src/drive/msg-drive-item-folder.c 26 called 25 times
msg_drive_item_folder_get_type_once src/drive/msg-drive-item-folder.c 26 called 2 times
msg_drive_item_folder_init src/drive/msg-drive-item-folder.c 29 called 24 times
msg_drive_item_folder_new src/drive/msg-drive-item-folder.c 46 called 24 times
msg_drive_item_folder_new_from_json src/drive/msg-drive-item-folder.c 61 called 24 times
msg_drive_item_get_created src/drive/msg-drive-item.c 244 called 1 time
msg_drive_item_get_drive_id src/drive/msg-drive-item.c 324 called 46 times
msg_drive_item_get_etag src/drive/msg-drive-item.c 276 called 1 time
msg_drive_item_get_id src/drive/msg-drive-item.c 211 called 48 times
msg_drive_item_get_instance_private src/drive/msg-drive-item.c 42 called 206 times
msg_drive_item_get_modified src/drive/msg-drive-item.c 260 called 1 time
msg_drive_item_get_name src/drive/msg-drive-item.c 178 called 9 times
msg_drive_item_get_parent_id src/drive/msg-drive-item.c 340 called 2 times
msg_drive_item_get_size src/drive/msg-drive-item.c 308 called 1 time
msg_drive_item_get_type src/drive/msg-drive-item.c 42 called 100 times
msg_drive_item_get_type_once src/drive/msg-drive-item.c 42 called 2 times
msg_drive_item_get_user src/drive/msg-drive-item.c 292 called 1 time
msg_drive_item_init src/drive/msg-drive-item.c 64 called 49 times
msg_drive_item_is_shared src/drive/msg-drive-item.c 356 called 1 time
msg_drive_item_new_from_json src/drive/msg-drive-item.c 86 called 42 times
msg_drive_item_set_id src/drive/msg-drive-item.c 226 called 2 times
msg_drive_item_set_name src/drive/msg-drive-item.c 193 called 7 times
msg_drive_item_set_parent_id src/drive/msg-drive-item.c 371 called 2 times
msg_drive_new src/drive/msg-drive.c 78 called 11 times
msg_drive_new_from_json src/drive/msg-drive.c 93 called 10 times
msg_drive_service_add_item_to_folder src/drive/msg-drive-service.c 585 called 7 times
msg_drive_service_class_init src/drive/msg-drive-service.c 42 called 3 times
msg_drive_service_class_intern_init src/drive/msg-drive-service.c 34 called 3 times
msg_drive_service_copy_file src/drive/msg-drive-service.c 700 called 1 time
msg_drive_service_create_folder src/drive/msg-drive-service.c 359 called 8 times
msg_drive_service_delete src/drive/msg-drive-service.c 423 called 11 times
msg_drive_service_download_item src/drive/msg-drive-service.c 168 called 2 times
msg_drive_service_download_url src/drive/msg-drive-service.c 336 called 1 time
msg_drive_service_get_drives src/drive/msg-drive-service.c 71 called 10 times
msg_drive_service_get_root src/drive/msg-drive-service.c 133 called 9 times
msg_drive_service_get_shared_with_me src/drive/msg-drive-service.c 635 called 1 time
msg_drive_service_get_type src/drive/msg-drive-service.c 34 called 69 times
msg_drive_service_get_type_once src/drive/msg-drive-service.c 34 called 3 times
msg_drive_service_init src/drive/msg-drive-service.c 37 called 2 times
msg_drive_service_list_children src/drive/msg-drive-service.c 206 called 1 time
msg_drive_service_move_file src/drive/msg-drive-service.c 771 not called
msg_drive_service_new src/drive/msg-drive-service.c 55 called 2 times
msg_drive_service_rename src/drive/msg-drive-service.c 278 called 1 time
msg_drive_service_update src/drive/msg-drive-service.c 460 called 7 times
msg_drive_service_update_finish src/drive/msg-drive-service.c 534 called 7 times
msg_error_quark src/msg-error.c 31 called 4 times
msg_input_stream_can_seek src/msg-input-stream.c 325 called 1 time
msg_input_stream_can_truncate src/msg-input-stream.c 391 called 1 time
msg_input_stream_class_init src/msg-input-stream.c 425 called 2 times
msg_input_stream_class_intern_init src/msg-input-stream.c 43 called 2 times
msg_input_stream_close_async src/msg-input-stream.c 285 called 1 time
msg_input_stream_close_finish src/msg-input-stream.c 307 called 1 time
msg_input_stream_ensure_msg src/msg-input-stream.c 110 called 3 times
msg_input_stream_finalize src/msg-input-stream.c 55 called 2 times
msg_input_stream_get_instance_private src/msg-input-stream.c 43 called 2 times
msg_input_stream_get_message src/msg-input-stream.c 416 called 1 time
msg_input_stream_get_type src/msg-input-stream.c 43 called 16 times
msg_input_stream_get_type_once src/msg-input-stream.c 43 called 2 times
msg_input_stream_init src/msg-input-stream.c 49 called 2 times
msg_input_stream_new src/msg-input-stream.c 86 called 2 times
msg_input_stream_read_async src/msg-input-stream.c 227 called 1 time
msg_input_stream_read_finish src/msg-input-stream.c 260 called 1 time
msg_input_stream_read_fn src/msg-input-stream.c 210 called 1 time
msg_input_stream_seek src/msg-input-stream.c 331 called 2 times
msg_input_stream_seekable_iface_init src/msg-input-stream.c 440 called 2 times
msg_input_stream_tell src/msg-input-stream.c 317 called 1 time
msg_input_stream_truncate src/msg-input-stream.c 397 called 1 time
msg_json_object_get_string src/msg-json-utils.c 4 called 349 times
msg_mail_folder_class_init src/message/msg-mail-folder.c 57 called 2 times
msg_mail_folder_class_intern_init src/message/msg-mail-folder.c 39 called 2 times
msg_mail_folder_finalize src/message/msg-mail-folder.c 42 called 16 times
msg_mail_folder_get_display_name src/message/msg-mail-folder.c 109 called 7 times
msg_mail_folder_get_total_item_count src/message/msg-mail-folder.c 133 called 7 times
msg_mail_folder_get_type src/message/msg-mail-folder.c 39 called 33 times
msg_mail_folder_get_type_once src/message/msg-mail-folder.c 39 called 2 times
msg_mail_folder_get_unread_item_count src/message/msg-mail-folder.c 121 called 7 times
msg_mail_folder_init src/message/msg-mail-folder.c 52 called 16 times
msg_mail_folder_new src/message/msg-mail-folder.c 72 called 16 times
msg_mail_folder_new_from_json src/message/msg-mail-folder.c 87 called 15 times
msg_message_class_init src/message/msg-message.c 59 called 2 times
msg_message_class_intern_init src/message/msg-message.c 38 called 2 times
msg_message_finalize src/message/msg-message.c 41 called 3 times
msg_message_get_body_preview src/message/msg-message.c 121 called 1 time
msg_message_get_id src/message/msg-message.c 145 called 3 times
msg_message_get_subject src/message/msg-message.c 109 called 2 times
msg_message_get_type src/message/msg-message.c 38 called 10 times
msg_message_get_type_once src/message/msg-message.c 38 called 2 times
msg_message_init src/message/msg-message.c 54 called 4 times
msg_message_new src/message/msg-message.c 74 called 4 times
msg_message_new_from_json src/message/msg-message.c 89 called 2 times
msg_message_service_class_init src/message/msg-message-service.c 42 called 2 times
msg_message_service_class_intern_init src/message/msg-message-service.c 34 called 2 times
msg_message_service_create_draft src/message/msg-message-service.c 282 called 1 time
msg_message_service_delete src/message/msg-message-service.c 248 called 1 time
msg_message_service_get_mail_folder src/message/msg-message-service.c 190 called 7 times
msg_message_service_get_mail_folders src/message/msg-message-service.c 126 called 1 time
msg_message_service_get_messages src/message/msg-message-service.c 63 called 1 time
msg_message_service_get_type src/message/msg-message-service.c 34 called 13 times
msg_message_service_get_type_once src/message/msg-message-service.c 34 called 2 times
msg_message_service_init src/message/msg-message-service.c 37 called 1 time
msg_message_service_new src/message/msg-message-service.c 47 called 1 time
msg_message_set_body src/message/msg-message.c 127 called 1 time
msg_message_set_subject src/message/msg-message.c 136 called 1 time
msg_service_accept_certificate_cb src/msg-service.c 78 called 48 times
msg_service_build_message src/msg-service.c 115 called 85 times
msg_service_class_init src/msg-service.c 326 called 6 times
msg_service_class_intern_init src/msg-service.c 30 called 6 times
msg_service_get_authorizer src/msg-service.c 423 called 2 times
msg_service_get_https_port src/msg-service.c 58 called 87 times
msg_service_get_instance_private src/msg-service.c 30 called 264 times
msg_service_get_log_level src/msg-service.c 286 called 10 times
msg_service_get_next_link src/msg-service.c 438 called 15 times
msg_service_get_property src/msg-service.c 263 not called
msg_service_get_session src/msg-service.c 408 called 6 times
msg_service_get_type src/msg-service.c 30 called 277 times
msg_service_get_type_once src/msg-service.c 30 called 6 times
msg_service_init src/msg-service.c 304 called 5 times
msg_service_new_message_from_uri src/msg-service.c 88 called 84 times
msg_service_parse_response src/msg-service.c 354 called 68 times
msg_service_refresh_authorization src/msg-service.c 43 called 82 times
msg_service_send src/msg-service.c 160 called 1 time
msg_service_send_and_parse_response src/msg-service.c 208 called 65 times
msg_service_send_and_read src/msg-service.c 184 called 14 times
msg_service_set_authorizer src/msg-service.c 228 called 5 times
msg_service_set_property src/msg-service.c 245 called 5 times
msg_user_class_init src/user/msg-user.c 51 called 2 times
msg_user_class_intern_init src/user/msg-user.c 33 called 2 times
msg_user_finalize src/user/msg-user.c 36 called 2 times
msg_user_get_mail src/user/msg-user.c 99 called 1 time
msg_user_get_type src/user/msg-user.c 33 called 5 times
msg_user_get_type_once src/user/msg-user.c 33 called 2 times
msg_user_init src/user/msg-user.c 46 called 2 times
msg_user_new src/user/msg-user.c 66 called 2 times
msg_user_new_from_json src/user/msg-user.c 81 called 1 time
msg_user_service_class_init src/user/msg-user-service.c 41 called 2 times
msg_user_service_class_intern_init src/user/msg-user-service.c 33 called 2 times
msg_user_service_get_type src/user/msg-user-service.c 33 called 4 times
msg_user_service_get_type_once src/user/msg-user-service.c 33 called 2 times
msg_user_service_get_user src/user/msg-user-service.c 63 called 2 times
msg_user_service_init src/user/msg-user-service.c 36 called 1 time
msg_user_service_new src/user/msg-user-service.c 46 called 1 time
on_restarted src/msg-input-stream.c 102 not called
read_callback src/msg-input-stream.c 131 not called
read_send_callback src/msg-input-stream.c 156 called 1 time
soup_log_printer src/msg-service.c 276 called 2499 times