Coverity Scan: Das U-Boot

Project Name Das U-Boot
Lines of code analyzed 598,809
On Coverity Scan since May 17, 2014
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://source.denx.de/u-boot/u-boot/
Homepage URL https://u-boot.readthedocs.io/en/latest/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v2025.07-975-g021783860f7e

Jul 25, 2025
Last Analyzed
598,809
Lines of Code Analyzed
0.85
Defect Density

Defect changes since previous build dated Jul 24, 2025

8
Newly detected
3
Eliminated

Defects by status for current build

1,299
Total defects
506
Outstanding
704
Fixed
See how defect density for 'Das U-Boot' 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
Host tools .*/tools/.* No 24,560 4.11
Test code .*/test/.* No 30,108 1.59
Sandbox architecture and board .*/(arch/sandbox|board/sandbox)/.* No 4,374 2.51
Commands .*/cmd/* No 37,830 0.79
Partition table handling .*/disk/* No 2,463 0.81
Environment .*/env/* No 1,585 0.63
Networking .*/net/* No 10,877 1.47
Filesystems .*/fs/* No 23,044 1.43
DTC .*/(scripts/dtc|lib/libfdt)/.* No 18,958 1.95
Other .* No 450,202 0.51

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 3
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 86
676 Use of Potentially Dangerous Function 4
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