Coverity Scan: systemd/systemd

Project Name systemd/systemd
Lines of code analyzed 1,047,067
On Coverity Scan since Apr 04, 2013
Last build analyzed about 15 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: 3a7486c

Feb 23, 2026
Last Analyzed
1,047,067
Lines of Code Analyzed
1,042,334
Lines of Code in Selected Components
0.06
Defect Density

Defect changes since previous build dated Feb 22, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

1,903
Total defects
59
Outstanding
1,432
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,733 N/A
libsystemd .*/src/libsystemd/.* No 66,748 0.16
libsystemd-network .*/src/libsystemd-network/.* No 20,629 0.00
machine .*/src/machine.*/.* No 9,156 0.00
locale .*/src/locale/.* No 1,718 0.00
analyze .*/src/analyze/.* No 7,412 0.00
tmpfiles .*/src/tmpfiles/.* No 3,771 0.00
timesync .*/src/timesync/.* No 1,996 0.00
systemctl .*/src/systemctl/.* No 9,338 0.00
resolve .*/src/resolve.*/.* No 39,852 0.03
shared .*/src/shared/.* No 111,928 0.09
network .*/src/network/.* No 61,353 0.03
nspawn .*/src/nspawn/.* No 11,350 0.09
nss .*/src/nss.*/.* No 2,489 0.40
login .*/src/login/.* No 16,591 0.00
libudev .*/src/libudev/.* No 1,595 0.00
core .*/src/core/.* No 86,823 0.02
journal .*/src/journal.*/.* No 14,814 0.07
udev .*/src/udev/.* No 25,817 0.19
tests .*/src/test/.* No 53,898 0.09
man /man/.* Yes 0 N/A
catalog /catalog/.* Yes 0 N/A
Other .* No 495,225 0.04

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 42
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