Coverity Scan: OpenBSD kernel

Project Name OpenBSD kernel
Lines of code analyzed 6,632,398
On Coverity Scan since Aug 19, 2016
Last build analyzed 18 days ago
   
Language C/C++
Repository URL [email protected]:/cvs
Homepage URL https://www.openbsd.org
License ISC (ISC License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 20261028_e673a164

Oct 28, 2026
Last Analyzed
6,632,398
Lines of Code Analyzed
0.23
Defect Density

Defect changes since previous build dated Sep 24, 2026

33
Newly detected
14
Eliminated

Defects by status for current build

3,607
Total defects
1,530
Outstanding
1,797
Fixed
See how defect density for 'OpenBSD kernel' 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
arch .*/sys/arch/.* No 30,192 0.70
acpi .*/sys/dev/acpi/.* No 27,546 1.09
ata .*/sys/dev/ata/.* No 3,877 1.03
crypto .*/sys/crypto/.* No 9,461 0.21
ddb .*/sys/ddb/.* No 4,600 1.30
kern .*/sys/kern/.* No 60,426 0.63
i2c .*/sys/dev/i2c/.* No 7,442 0.94
ic .*/sys/dev/ic/.* No 248,092 0.50
isa .*/sys/dev/isa/.* No 6,104 1.15
net .*/sys/net/.* No 88,652 0.59
net80211 .*/sys/net80211/.* No 18,353 0.76
netinet .*/sys/netinet/.* No 28,889 0.90
netinet6 .*/sys/netinet6/.* No 12,885 0.39
pcmcia .*/sys/dev/pcmcia/.* No 8,545 0.82
pv .*/sys/dev/pv/.* No 16,720 0.60
scsi .*/sys/scsi/.* No 12,837 0.23
sdmmc .*/sys/dev/sdmmc/.* No 6,334 0.32
softraid .*softraid.* No 7,716 2.20
usb .*/sys/dev/usb/.* No 135,485 0.26
uvm .*/sys/uvm/.* No 15,945 0.31
wscons .*/sys/dev/wscons/.* No 13,770 0.29
x86emu .*/sys/dev/x86emu/.* No 6,402 0.94
drm .*/sys/dev/pci/drm/.* No 5,255,935 0.16
pci .*/sys/dev/pci/.* No 401,156 0.41
dev .*/sys/dev/.* No 164,764 0.15
fs .*/*fs/.* No 42,611 2.07
Other .* No 47,642 0.17

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