Coverity Scan: systemd/systemd

Project Name systemd/systemd
Lines of code analyzed 1,219,450
On Coverity Scan since Apr 04, 2013
Last build analyzed about 23 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: 4a80153

Nov 14, 2026
Last Analyzed
1,219,450
Lines of Code Analyzed
1,214,509
Lines of Code in Selected Components
0.01
Defect Density

Defect changes since previous build dated Nov 13, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

2,025
Total defects
8
Outstanding
1,486
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,941 N/A
libsystemd .*/src/libsystemd/.* No 89,243 0.00
libsystemd-network .*/src/libsystemd-network/.* No 25,292 0.00
machine .*/src/machine.*/.* No 9,374 0.00
locale .*/src/locale/.* No 1,711 0.00
analyze .*/src/analyze/.* No 7,973 0.00
tmpfiles .*/src/tmpfiles/.* No 4,383 0.00
timesync .*/src/timesync/.* No 2,077 0.00
systemctl .*/src/systemctl/.* No 9,667 0.00
resolve .*/src/resolve.*/.* No 43,203 0.02
shared .*/src/shared/.* No 142,944 0.03
network .*/src/network/.* No 62,653 0.00
nspawn .*/src/nspawn/.* No 11,653 0.00
nss .*/src/nss.*/.* No 2,421 0.00
login .*/src/login/.* No 17,822 0.00
libudev .*/src/libudev/.* No 1,589 0.00
core .*/src/core/.* No 91,776 0.00
journal .*/src/journal.*/.* No 15,177 0.00
udev .*/src/udev/.* No 24,776 0.00
tests .*/src/test/.* No 72,502 0.01
man /man/.* Yes 0 N/A
catalog /catalog/.* Yes 0 N/A
Other .* No 578,277 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
190 Integer Overflow or Wraparound 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