Fixed defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
msgraph-0.2.1-build/msgraph-0.2.1/src/contact/msg-contact-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
msgraph-0.2.1-build/msgraph-0.2.1/src/contact/msg-contact-service.c:177:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  175|     }
#  176|   
#  177|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  178|     if (local_error) {
#  179|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def3]
msgraph-0.2.1-build/msgraph-0.2.1/src/contact/msg-contact-service.c:220:3: warning[deadcode.DeadStores]: Value stored to 'response' is never read
#  218|     url = g_strconcat (MSG_API_ENDPOINT, "/me/contacts/", msg_contact_get_id (contact), NULL);
#  219|     message = msg_service_build_message (MSG_SERVICE (self), "DELETE", url, NULL, FALSE);
#  220|->   response = msg_service_send_and_read (MSG_SERVICE (self), message, cancellable, &local_error);
#  221|     if (local_error) {
#  222|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CPPCHECK_WARNING: [#def4]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:172:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  170|     }
#  171|   
#  172|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  173|     if (local_error) {
#  174|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def6]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:280:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  278|     }
#  279|   
#  280|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  281|     if (local_error) {
#  282|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def7]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:375:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  373|     }
#  374|   
#  375|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  376|     if (local_error) {
#  377|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def8]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:488:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  486|     }
#  487|   
#  488|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  489|     if (local_error != NULL) {
#  490|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def9]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:610:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  608|     }
#  609|   
#  610|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  611|     if (local_error) {
#  612|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def10]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:691:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  689|     }
#  690|   
#  691|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  692|     if (local_error) {
#  693|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def11]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:760:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  758|     }
#  759|   
#  760|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  761|     if (local_error) {
#  762|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def12]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive-service.c:819:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  817|     }
#  818|   
#  819|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  820|     if (local_error) {
#  821|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CPPCHECK_WARNING: [#def13]
msgraph-0.2.1-build/msgraph-0.2.1/src/drive/msg-drive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def15]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c:90:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#   88|     }
#   89|   
#   90|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#   91|     if (local_error) {
#   92|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def16]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c:164:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  162|     }
#  163|   
#  164|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  165|     if (local_error) {
#  166|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def17]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c:259:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  257|     }
#  258|   
#  259|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  260|     if (local_error) {
#  261|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def18]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c:302:3: warning[deadcode.DeadStores]: Value stored to 'response' is never read
#  300|     url = g_strconcat (MSG_API_ENDPOINT, "/me/messages/", msg_message_get_id (message), NULL);
#  301|     soup_message = msg_service_build_message (MSG_SERVICE (self), "DELETE", url, NULL, FALSE);
#  302|->   response = msg_service_send_and_read (MSG_SERVICE (self), soup_message, cancellable, &local_error);
#  303|     if (local_error) {
#  304|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def19]
msgraph-0.2.1-build/msgraph-0.2.1/src/message/msg-message-service.c:369:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#  367|     }
#  368|   
#  369|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#  370|     if (local_error) {
#  371|       g_propagate_error (error, g_steal_pointer (&local_error));

Error: CLANG_WARNING: [#def20]
msgraph-0.2.1-build/msgraph-0.2.1/src/user/msg-user-service.c:91:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
#   89|     }
#   90|   
#   91|->   parser = msg_service_parse_response (response, &root_object, &local_error);
#   92|     if (local_error) {
#   93|       g_propagate_error (error, local_error);

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-11.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namemsgraph-0.2.3-1.fc41
diffbase-store-results-to/tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:20:09
diffbase-time-finished2024-07-03 16:21:32
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-11.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namemsgraph-0.2.1-1.fc40
store-results-to/tmp/tmpyub_wxvx/msgraph-0.2.1-1.fc40.tar.xz
time-created2024-07-03 16:18:07
time-finished2024-07-03 16:19:55
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpyub_wxvx/msgraph-0.2.1-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpyub_wxvx/msgraph-0.2.1-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9