Coverity Scan: llvm-cov

Project Name llvm-cov
Lines of code analyzed 16,294,772
On Coverity Scan since Jul 22, 2022
Last build analyzed 4 days ago
   
Language C/C++
Repository URL https://github.com/fixathon/llvm.git
Homepage URL N/A
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: llvmorg-21.1.0

Oct 12, 2025
Last Analyzed
16,294,772
Lines of Code Analyzed
15,903,794
Lines of Code in Selected Components
0.98
Defect Density

Defect changes since previous build dated Sep 10, 2025

2,450
Newly detected
1,251
Eliminated

Defects by status for current build

21,049
Total defects
15,545
Outstanding
2,406
Fixed
See how defect density for 'llvm-cov' 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
lldb .*/lldb/.* No 559,457 1.70
llvm .*/llvm/.* No 2,518,932 2.36
mlir .*/mlir/.* No 2,122,444 1.44
bolt .*/bolt/.* No 66,285 12.67
polly .*/polly/.* No 176,892 3.06
flang .*/flang/.* No 0 N/A
libcxx .*/libcxx/.* No 192 0.00
libcxxabi .*/libcxxabi/.* No 1,572 0.00
libunwind .*/libunwind/.* No 14,398 0.14
openmp .*/openmp/.* No 72,889 1.43
compiler-rt .*/compiler-rt/.* No 113,594 1.57
clang-tools-extra .*/clang-tools-extra/.* No 137,668 4.98
lld .*/lld/.* No 80,537 1.39
clang .*/clang/.* No 1,611,513 0.79
Transforms .*Transforms.* No 0 N/A
TableGen .*TableGen.* No 0 N/A
ignore-LinkAllPasses .*/llvm/include/llvm/LinkAllPasses.h Yes 0 N/A
ignore-system /Applications/.* Yes 390,978 N/A
llvm-target /lib/Target/.* No 8,379,386 0.01
third-party .*/third-party/.* No 29,758 1.04
Other .* No 18,277 0.38

CWE Top 25 defects

ID CWE-Name Number of Defects
131 Incorrect Calculation of Buffer Size 4
190 Integer Overflow or Wraparound 646
676 Use of Potentially Dangerous Function 7
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