Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 8,554,831
On Coverity Scan since Nov 14, 2013
Last build analyzed 5 days ago
   
Language C/C++
Repository URL http://review.coreboot.org/coreboot.git
Homepage URL http://www.coreboot.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: coreboot_25.06-53-gd24c4086e1

Jul 05, 2025
Last Analyzed
8,554,831
Lines of Code Analyzed
8,160,542
Lines of Code in Selected Components
0.11
Defect Density

Defect changes since previous build dated Sep 29, 2024

173
Newly detected
20
Eliminated

Defects by status for current build

3,390
Total defects
890
Outstanding
2,399
Fixed
See how defect density for 'coreboot' 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
ChromeEC /3rdparty/chromeec/.* Yes 0 N/A
Arm Trusted Firmware /3rdparty/arm-trusted-firmware/.* Yes 133,220 N/A
vboot /3rdparty/vboot/.* Yes 30,020 N/A
opensbi /3rdparty/opensbi/.* Yes 16,911 N/A
libpayload /payloads/libpayload/.* No 51,663 0.62
payloads /payloads/.* No 16,251 0.18
host tools /util/.* No 115,071 1.43
Google vendorcode /src/vendorcode/google/.* No 1,104 0.91
Intel vendorcode /src/vendorcode/intel/.* No 95,573 0.00
AMD vendorcode /src/vendorcode/amd/.* No 65,722 0.37
Siemens vendorcode /src/vendorcode/siemens/.* No 577 0.00
Other vendorcode /src/vendorcode/.* No 333,770 0.26
coreboot /src/.* No 763,000 0.31
Generated Files /cb-build/.* No 7,926,154 0.00
Temp files /tmp/.* No 130 0.00
Host include files /usr/include/.* Yes 46,180 N/A
Host library files /usr/lib/.* Yes 63,716 N/A
Other 3rdparty /3rdparty/.* Yes 68,063 N/A
Coverity /cov-int/.* Yes 0 N/A
ccache .*/.ccache/.* No 0 N/A
Coverity_2 .*/coverity/.* No 0 N/A
AMD Mainboards /src/mainboard/amd/.* No 0 N/A
AMD FSP Vendorcode /src/vendorcode/amd/fsp/.* No 0 N/A
Go modules .*/coreboot/go/.* Yes 36,179 N/A
Other .* No 53 0.00

CWE Top 25 defects

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