Coverity Scan: OpenBSD kernel

Project Name OpenBSD kernel
Lines of code analyzed 5,776,728
On Coverity Scan since Aug 19, 2016
Last build analyzed 6 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: 20241116_feb640d4

Nov 16, 2024
Last Analyzed
5,776,728
Lines of Code Analyzed
0.26
Defect Density

Defect changes since previous build dated Aug 31, 2024

29
Newly detected
44
Eliminated

Defects by status for current build

3,150
Total defects
1,527
Outstanding
1,346
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 27,803 0.61
acpi .*/sys/dev/acpi/.* No 25,423 0.98
ata .*/sys/dev/ata/.* No 3,878 1.03
crypto .*/sys/crypto/.* No 9,498 0.21
ddb .*/sys/ddb/.* No 4,591 1.31
kern .*/sys/kern/.* No 59,248 0.74
i2c .*/sys/dev/i2c/.* No 7,378 1.08
ic .*/sys/dev/ic/.* No 212,922 0.56
isa .*/sys/dev/isa/.* No 6,121 0.98
net .*/sys/net/.* No 84,178 0.70
net80211 .*/sys/net80211/.* No 17,594 0.85
netinet .*/sys/netinet/.* No 28,080 1.00
netinet6 .*/sys/netinet6/.* No 13,173 0.61
pcmcia .*/sys/dev/pcmcia/.* No 8,545 0.70
pv .*/sys/dev/pv/.* No 16,206 0.68
scsi .*/sys/scsi/.* No 13,435 0.30
sdmmc .*/sys/dev/sdmmc/.* No 6,325 0.47
softraid .*softraid.* No 7,705 2.21
usb .*/sys/dev/usb/.* No 132,789 0.26
uvm .*/sys/uvm/.* No 16,262 0.37
wscons .*/sys/dev/wscons/.* No 13,696 0.29
x86emu .*/sys/dev/x86emu/.* No 6,402 1.56
drm .*/sys/dev/pci/drm/.* No 4,484,892 0.18
pci .*/sys/dev/pci/.* No 330,492 0.40
dev .*/sys/dev/.* No 153,195 0.14
fs .*/*fs/.* No 41,986 2.48
Other .* No 45,096 0.13

CWE Top 25 defects

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