Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 6,373,573
On Coverity Scan since Nov 14, 2013
Last build analyzed about 2 months 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_4.19-293-gdb4b71ff10

Feb 07, 2023
Last Analyzed
6,373,573
Lines of Code Analyzed
6,009,555
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Jan 20, 2023

6
Newly detected
2
Eliminated

Defects by status for current build

2,994
Total defects
484
Outstanding
2,427
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 61,633 N/A
Arm Trusted Firmware /3rdparty/arm-trusted-firmware/.* Yes 85,848 N/A
vboot /3rdparty/vboot/.* Yes 27,879 N/A
opensbi /3rdparty/opensbi/.* Yes 16,968 N/A
libpayload /payloads/libpayload/.* No 54,210 0.37
payloads /payloads/.* No 16,244 0.18
romcc /util/romcc/.* No 0 N/A
host tools /util/.* No 111,211 0.57
Google vendorcode /src/vendorcode/google/.* No 960 0.00
Intel vendorcode /src/vendorcode/intel/.* No 60,818 0.00
AMD vendorcode /src/vendorcode/amd/.* No 17,983 0.00
Siemens vendorcode /src/vendorcode/siemens/.* No 577 0.00
Other vendorcode /src/vendorcode/.* No 265,562 0.22
coreboot /src/.* No 634,932 0.30
Generated Files /cb-build/.* No 4,837,472 0.00
Temp files /tmp/.* No 132 0.00
Host include files /usr/include/.* Yes 39,450 N/A
Host library files /usr/lib/.* Yes 64,116 N/A
Other 3rdparty /3rdparty/.* Yes 68,124 N/A
Coverity /cov-int/.* Yes 0 N/A
ccache .*/.ccache/.* No 0 N/A
Coverity_2 .*/coverity/.* No 0 N/A
Go .*/coreboot/go/.* No 36,135 0.17
AMD Mainboards /src/mainboard/amd/.* No 0 N/A
AMD FSP Vendorcode /src/vendorcode/amd/fsp/.* No 0 N/A
Other .* No 23,135 0.22

CWE Top 25 defects

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