Project Name | Das U-Boot |
---|---|
Lines of code analyzed | 569,179 |
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 projectVersion: v2025.01-rc3-46-gf96e5133184a
Line of Code (LOC) | Defect Density |
---|---|
Less than 100,000 | 0.35 |
100,000 to 499,999 | 0.5 |
500,000 to 1 million | 0.7 |
More than 1 million | 0.65 |
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.
Note: Defect density is measured by the number of defects per 1,000 lines of code.
Component Name | Pattern | Ignore | Line of Code | Defect density |
---|---|---|---|---|
Host tools | .*/tools/.* | No | 23,915 | 3.43 |
Test code | .*/test/.* | No | 28,103 | 0.75 |
Sandbox architecture and board | .*/(arch/sandbox|board/sandbox)/.* | No | 4,281 | 2.34 |
Commands | .*/cmd/* | No | 36,134 | 0.66 |
Partition table handling | .*/disk/* | No | 2,812 | 0.71 |
Environment | .*/env/* | No | 1,568 | 0.64 |
Networking | .*/net/* | No | 10,384 | 1.06 |
Filesystems | .*/fs/* | No | 18,863 | 1.64 |
DTC | .*/(scripts/dtc|lib/libfdt)/.* | No | 18,921 | 1.69 |
Other | .* | No | 424,224 | 0.39 |
ID | CWE-Name | Number of Defects |
---|---|---|
120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | 6 |
190 | Integer Overflow or Wraparound | 5 |
676 | Use of Potentially Dangerous Function | 13 |
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