perl-Socket-2.038-510.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
perl-Socket-2.038-build/Socket-2.038/Socket.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
perl-Socket-2.038-build/Socket-2.038/Socket.c:1882:17: warning[deadcode.DeadStores]: Value stored to 'file' during its initialization is never read
# 1880|       char* file = __FILE__;
# 1881|   #else
# 1882|->     const char* file = __FILE__;
# 1883|   #endif
# 1884|   

Error: COMPILER_WARNING (CWE-563): [#def3]
perl-Socket-2.038-build/Socket-2.038/test-0.c:17:23: warning[-Wunused-but-set-variable]: variable ‘sa’ set but not used
#   17 |     { struct sockaddr sa; sa.sa_len = 0; }
#      |                       ^~

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-191.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameperl-Socket-2.038-510.fc41
store-results-to/tmp/tmp0yibj648/perl-Socket-2.038-510.fc41.tar.xz
time-created2024-07-03 16:51:57
time-finished2024-07-03 16:52:51
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp0yibj648/perl-Socket-2.038-510.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp0yibj648/perl-Socket-2.038-510.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9