Coverity Scan: systemd/systemd

Project Name systemd/systemd
Lines of code analyzed 1,021,668
On Coverity Scan since Apr 04, 2013
Last build analyzed about 10 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: dfb46b9

Oct 08, 2025
Last Analyzed
1,021,668
Lines of Code Analyzed
1,017,002
Lines of Code in Selected Components
0.13
Defect Density

Defect changes since previous build dated Oct 07, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

1,861
Total defects
136
Outstanding
1,399
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,666 N/A
libsystemd .*/src/libsystemd/.* No 65,810 0.23
libsystemd-network .*/src/libsystemd-network/.* No 20,446 0.00
machine .*/src/machine.*/.* No 8,942 0.00
locale .*/src/locale/.* No 1,714 0.00
analyze .*/src/analyze/.* No 7,234 0.14
tmpfiles .*/src/tmpfiles/.* No 3,797 0.00
timesync .*/src/timesync/.* No 1,993 0.00
systemctl .*/src/systemctl/.* No 9,444 0.00
resolve .*/src/resolve.*/.* No 46,165 0.04
shared .*/src/shared/.* No 96,831 0.14
network .*/src/network/.* No 59,257 0.03
nspawn .*/src/nspawn/.* No 11,289 0.09
nss .*/src/nss.*/.* No 2,429 0.41
login .*/src/login/.* No 16,420 0.06
libudev .*/src/libudev/.* No 1,592 0.00
core .*/src/core/.* No 83,831 0.18
journal .*/src/journal.*/.* No 14,684 1.57
udev .*/src/udev/.* No 25,667 0.12
tests .*/src/test/.* No 51,586 0.16
man /man/.* Yes 0 N/A
catalog /catalog/.* Yes 0 N/A
Other .* No 487,925 0.06

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 52
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