Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 5,441,736
On Coverity Scan since Sep 25, 2013
Last build analyzed about 11 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: 2017-09-21_09-39-32

Sep 21, 2017
Last Analyzed
5,441,736
Lines of Code Analyzed
5,334,292
Lines of Code in Selected Components
0.59
Defect Density

Defect changes since previous build dated Sep 17, 2017

1
Newly detected
1
Eliminated

Defects by status for current build

11,720
Total defects
3,132
Outstanding
8,088
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 687,749 1.48
lldb /tools/lldb/.* No 376,944 1.03
compiler-rt /projects/compiler-rt/.* No 0 N/A
generated /build-llvm/.* No 2,977,521 0.05
tools /tools/.* No 155,363 0.69
TableGen .*TableGen.* No 34,025 0.82
Transforms .*Transforms.* No 130,836 1.05
Target /lib/Target/.* No 413,060 0.91
unittests /unittests/.* Yes 25 N/A
tests /test/.* Yes 0 N/A
system /usr/include/.* Yes 107,216 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 144,472 1.77
llvm-codegen /lib/CodeGen/.* No 144,577 0.91
llvm-ExecutionEngine /lib/ExecutionEngine/.* No 12,469 1.12
llvm-IR /lib/IR/.* No 35,209 0.48
llvm-MC /lib/MC/.* No 21,426 0.84
llvm-Support /lib/Support/.* No 29,187 1.03
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 46,412 0.65
libs /lib/.* No 68,618 0.89
lld /tools/lld/.* No 0 N/A
json-lib /tools/polly/lib/JSON/.* Yes 0 N/A
polly-ignore-again .*/tools/polly/include/polly/LinkAllPasses.h.* Yes 0 N/A
Other .* No 63,141 0.11

CWE Top 25 defects

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