Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 5,194,635
On Coverity Scan since Sep 25, 2013
Last build analyzed about 3 hours 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: 2016-12-21_02-36-55

Dec 21, 2016
Last Analyzed
5,194,635
Lines of Code Analyzed
5,087,208
Lines of Code in Selected Components
0.58
Defect Density

Defect changes since previous build dated Dec 16, 2016

24
Newly detected
25
Eliminated

Defects by status for current build

10,080
Total defects
2,941
Outstanding
6,744
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 656,615 1.03
lldb /tools/lldb/.* No 394,750 1.33
compiler-rt /projects/compiler-rt/.* No 0 N/A
generated /build-llvm/.* No 2,837,725 0.06
tools /tools/.* No 192,635 0.71
TableGen .*TableGen.* No 30,050 0.93
Transforms .*Transforms.* No 117,945 0.95
Target /lib/Target/.* No 372,599 1.00
unittests /unittests/.* Yes 0 N/A
tests /test/.* Yes 0 N/A
system /usr/include/.* Yes 107,229 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 198 N/A
polly .*/polly/.* No 0 N/A
polly-isl .*/polly/lib/External/isl/.* No 0 N/A
headers /include/.* No 127,627 2.08
llvm-codegen /lib/CodeGen/.* No 131,437 0.90
llvm-ExecutionEngine /lib/ExecutionEngine/.* No 11,970 1.17
llvm-IR /lib/IR/.* No 33,382 0.45
llvm-MC /lib/MC/.* No 19,528 0.97
llvm-Support /lib/Support/.* No 27,114 1.62
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 41,845 0.62
libs /lib/.* No 51,759 0.91
json-lib /tools/polly/lib/JSON/.* Yes 0 N/A
Other .* No 40,024 0.17

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
190 Integer Overflow or Wraparound 40
676 Use of Potentially Dangerous Function 1
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