Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 7,174,822
On Coverity Scan since Nov 14, 2013
Last build analyzed 24 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_4.21-135-g5f5f7ca93c

Sep 01, 2023
Last Analyzed
7,174,822
Lines of Code Analyzed
6,797,687
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Aug 22, 2023

16
Newly detected
4
Eliminated

Defects by status for current build

3,037
Total defects
513
Outstanding
2,460
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,675 N/A
Arm Trusted Firmware /3rdparty/arm-trusted-firmware/.* Yes 95,053 N/A
vboot /3rdparty/vboot/.* Yes 28,914 N/A
opensbi /3rdparty/opensbi/.* Yes 16,968 N/A
libpayload /payloads/libpayload/.* No 54,135 0.46
payloads /payloads/.* No 16,242 0.18
romcc /util/romcc/.* No 0 N/A
host tools /util/.* No 112,688 0.58
Google vendorcode /src/vendorcode/google/.* No 966 1.04
Intel vendorcode /src/vendorcode/intel/.* No 61,533 0.00
AMD vendorcode /src/vendorcode/amd/.* No 18,278 0.00
Siemens vendorcode /src/vendorcode/siemens/.* No 577 0.00
Other vendorcode /src/vendorcode/.* No 265,503 0.22
coreboot /src/.* No 656,093 0.32
Generated Files /cb-build/.* No 5,598,547 0.00
Temp files /tmp/.* No 150 0.00
Host include files /usr/include/.* Yes 39,537 N/A
Host library files /usr/lib/.* Yes 64,116 N/A
Other 3rdparty /3rdparty/.* Yes 70,872 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,610 0.21

CWE Top 25 defects

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