Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 5,270,428
On Coverity Scan since Sep 25, 2013
Last build analyzed 9 days ago
   
Language C/C++
Repository URL http://llvm.org/svn/llvm-project/llvm/trunk
Homepage URL http://llvm.org/
License NCSA (University of Illinois/NCSA Open Source License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2017-05-19_15-57-28

May 19, 2017
Last Analyzed
5,270,428
Lines of Code Analyzed
5,164,558
Lines of Code in Selected Components
0.63
Defect Density

Defect changes since previous build dated May 18, 2017

54
Newly detected
22
Eliminated

Defects by status for current build

11,177
Total defects
3,254
Outstanding
7,488
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
clang /tools/clang/.* No 666,866 1.56
lldb /tools/lldb/.* No 373,359 1.11
compiler-rt /projects/compiler-rt/.* No 0 N/A
generated /build-llvm/.* No 2,894,367 0.05
tools /tools/.* No 136,400 0.87
TableGen .*TableGen.* No 32,056 0.84
Transforms .*Transforms.* No 126,660 1.07
Target /lib/Target/.* No 397,081 1.02
unittests /unittests/.* Yes 0 N/A
tests /test/.* Yes 0 N/A
system /usr/include/.* Yes 105,667 N/A
unittests-clang /tools/clang/unittests/.* Yes 0 N/A
FailOnPurpose-LinkAllPasses_h /include/llvm/LinkAlPasses.h Yes 0 N/A
FailOnPurpose-linkpolly /tools/polly/include/polly/LinkAllPasses.h Yes 0 N/A
include_llvm_LinkAllPasses_h /include/llvm/LinkAllPasses.h Yes 203 N/A
polly .*/polly/.* No 0 N/A
polly-isl .*/polly/lib/External/isl/.* No 0 N/A
headers /include/.* No 138,045 2.09
llvm-codegen /lib/CodeGen/.* No 140,812 0.92
llvm-ExecutionEngine /lib/ExecutionEngine/.* No 12,143 1.07
llvm-IR /lib/IR/.* No 34,492 0.52
llvm-MC /lib/MC/.* No 21,042 0.90
llvm-Support /lib/Support/.* No 29,172 1.65
clang-modernize /tools/clang/tools/extra/clang-modernize/.* No 0 N/A
clang-rename /tools/clang/tools/extra/clang-rename/.* No 0 N/A
clang-tidy /tools/clang/tools/extra/clang-tidy/.* No 0 N/A
clang-modularize /tools/clang/tools/extra/modularize/.* No 0 N/A
llvm-Analysis /lib/Analysis/.* No 44,909 0.67
libs /lib/.* No 64,322 0.92
lld /tools/lld/.* No 0 N/A
json-lib /tools/polly/lib/JSON/.* Yes 0 N/A
Other .* No 53,816 0.09

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 40
676 Use of Potentially Dangerous Function 2
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