Coverity Scan: systemd/systemd

Project Name systemd/systemd
Lines of code analyzed 930,870
On Coverity Scan since Apr 04, 2013
Last build analyzed about 12 hours ago
   
Language C/C++
Repository URL https://github.com/systemd/systemd
Homepage URL N/A
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: bf49f3b

Apr 20, 2024
Last Analyzed
930,870
Lines of Code Analyzed
926,450
Lines of Code in Selected Components
0.03
Defect Density

Defect changes since previous build dated Apr 19, 2024

0
Newly detected
1
Eliminated

Defects by status for current build

1,596
Total defects
31
Outstanding
1,166
Fixed
See how defect density for 'systemd/systemd' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
gperf-generated .*\.gperf$ Yes 4,420 N/A
libsystemd .*/src/libsystemd/.* No 54,209 0.00
libsystemd-network .*/src/libsystemd-network/.* No 19,522 0.15
libsystemd-terminal .*/src/libsystemd-terminal/.* No 0 N/A
machine .*/src/machine.*/.* No 6,369 0.00
locale .*/src/locale/.* No 2,153 0.00
bootchart .*/src/bootchart/.* No 0 N/A
analyze .*/src/analyze/.* No 6,315 0.00
tmpfiles .*/src/tmpfiles/.* No 3,768 0.00
timesync .*/src/timesync/.* No 1,990 0.00
systemctl .*/src/systemctl/.* No 9,271 0.00
resolve .*/src/resolve.*/.* No 33,886 0.00
shared .*/src/shared/.* No 97,955 0.01
network .*/src/network/.* No 55,049 0.00
nspawn .*/src/nspawn/.* No 11,963 0.00
nss .*/src/nss.*/.* No 2,467 0.00
login .*/src/login/.* No 14,847 0.00
libudev .*/src/libudev/.* No 1,620 0.00
bus-proxyd .*/src/bus-proxyd/.* No 0 N/A
core .*/src/core/.* No 79,004 0.04
journal .*/src/journal.*/.* No 12,933 0.00
udev .*/src/udev/.* No 22,657 0.09
tests .*/src/test/.* No 46,463 0.00
man /man/.* Yes 0 N/A
catalog /catalog/.* Yes 0 N/A
Other .* No 444,515 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 1
190 Integer Overflow or Wraparound 3
676 Use of Potentially Dangerous Function 1
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project