Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 789,977
On Coverity Scan since Sep 25, 2013
Last build analyzed 19 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: 2018-09-01_06-19-05

Sep 01, 2018
Last Analyzed
789,977
Lines of Code Analyzed
696,669
Lines of Code in Selected Components
3.55
Defect Density

Defect changes since previous build dated Jul 18, 2018

1,933
Newly detected
13
Eliminated

Defects by status for current build

14,473
Total defects
2,473
Outstanding
11,613
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 707,762 1.49
lldb /tools/lldb/.* No 0 N/A
compiler-rt /projects/compiler-rt/.* No 0 N/A
generated /build-llvm/.* No 3,335,471 0.03
tools /tools/.* No 105,926 0.64
TableGen .*TableGen.* No 40,407 0.92
Transforms .*Transforms.* No 146,868 0.86
Target /lib/Target/.* No 467,487 0.99
unittests /unittests/.* Yes 25 N/A
tests /test/.* Yes 0 N/A
system /usr/include/.* Yes 93,283 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 0 N/A
polly .*/polly/.* No 0 N/A
polly-isl .*/polly/lib/External/isl/.* No 0 N/A
headers /include/.* No 152,969 1.43
llvm-codegen /lib/CodeGen/.* No 156,557 0.99
llvm-ExecutionEngine /lib/ExecutionEngine/.* No 11,290 0.80
llvm-IR /lib/IR/.* No 38,913 0.39
llvm-MC /lib/MC/.* No 23,503 0.77
llvm-Support /lib/Support/.* No 32,611 1.44
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 49,058 0.69
libs /lib/.* No 76,736 0.98
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 61,445 0.07

CWE Top 25 defects

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