Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 8,095,040
On Coverity Scan since Nov 14, 2013
Last build analyzed 8 days ago
Language C/C++
Repository URL
Homepage URL
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: coreboot_24.05-503-g779f3c06f8

Jul 14, 2024
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Jul 07, 2024

Newly detected

Defects by status for current build

Total defects
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 97,052 N/A
vboot /3rdparty/vboot/.* Yes 30,081 N/A
opensbi /3rdparty/opensbi/.* Yes 16,968 N/A
libpayload /payloads/libpayload/.* No 50,644 0.43
payloads /payloads/.* No 16,247 0.18
host tools /util/.* No 114,179 1.23
Google vendorcode /src/vendorcode/google/.* No 1,020 0.98
Intel vendorcode /src/vendorcode/intel/.* No 79,038 0.00
AMD vendorcode /src/vendorcode/amd/.* No 65,779 0.33
Siemens vendorcode /src/vendorcode/siemens/.* No 577 0.00
Other vendorcode /src/vendorcode/.* No 319,233 0.24
coreboot /src/.* No 677,576 0.26
Generated Files /cb-build/.* No 6,460,362 0.00
Temp files /tmp/.* No 138 0.00
Host include files /usr/include/.* Yes 43,765 N/A
Host library files /usr/lib/.* Yes 63,716 N/A
Other 3rdparty /3rdparty/.* Yes 70,443 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,135 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') 3
190 Integer Overflow or Wraparound 28





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