Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 12,622,946
On Coverity Scan since Sep 25, 2013
Last build analyzed 5 months ago
   
Language C/C++
Repository URL https://github.com/llvm/llvm-project
Homepage URL https://llvm.org/
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: Version

Nov 14, 2023
Last Analyzed
12,622,946
Lines of Code Analyzed
12,421,026
Lines of Code in Selected Components
0.78
Defect Density

Defect changes since previous build dated Oct 14, 2023

37
Newly detected
24
Eliminated

Defects by status for current build

29,045
Total defects
9,638
Outstanding
19,296
Fixed
See how defect density for 'llvm' 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
generated /build-llvm/.* No 7,831,527 0.39
TableGen .*TableGen.* No 74,890 1.19
Transforms .*Transforms.* No 332,071 1.97
system /usr/include/.* Yes 201,771 N/A
polly .*/polly/.* No 176,577 0.89
clang .*/clang/.* No 970,812 1.15
lldb .*/lldb/.* No 403,614 1.58
lld .*/lld/.* No 65,346 1.48
compiler-rt .*/compiler-rt/.* No 124,368 0.90
clang-tools-extra .*/clang-tools-extra/.* No 126,374 1.86
ignore-LinkAllPasses .*/llvm/include/llvm/LinkAllPasses.h Yes 149 N/A
llvm-target .*/llvm/lib/Target/.* No 741,119 0.92
openmp .*/openmp/.* No 35,688 1.88
llvm .*/llvm/.* No 1,026,304 1.30
libunwind .*/libunwind/.* No 14,995 0.07
Mlir .*/mlir/.* No 248,381 2.94
flang .*/flang/.* No 187,945 2.21
bolt .*/bolt/.* No 58,501 1.25
libcxx .*/libcxx/.* No 0 N/A
libcxxabi .*/libcxxabi/.* No 0 N/A
Other .* No 5,920 0.68

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 51
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