Coverity Scan: Das U-Boot

Project Name Das U-Boot
Lines of code analyzed 861,944
On Coverity Scan since May 17, 2014
Last build analyzed about 24 hours 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: v2026.04-rc4

Mar 09, 2026
Last Analyzed
861,944
Lines of Code Analyzed
1.03
Defect Density

Defect changes since previous build dated Feb 24, 2026

6
Newly detected
0
Eliminated

Defects by status for current build

1,752
Total defects
892
Outstanding
773
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 25,384 3.51
Test code .*/test/.* No 32,080 1.96
Sandbox architecture and board .*/(arch/sandbox|board/sandbox)/.* No 4,437 2.48
Commands .*/cmd/* No 42,446 1.41
Partition table handling .*/disk/* No 2,852 0.70
Environment .*/env/* No 3,919 0.51
Networking .*/net/* No 50,492 1.03
Filesystems .*/fs/* No 43,640 1.86
DTC .*/(scripts/dtc|lib/libfdt)/.* No 20,454 1.76
Other .* No 636,413 0.78

CWE Top 25 defects

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