Coverity Scan: llvm

Project Name llvm
Lines of code analyzed 908,282
On Coverity Scan since Sep 25, 2013
Last build analyzed about 1 month ago
Language C/C++
Repository URL
Homepage URL
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-10-29_09-15-57

Oct 29, 2018
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Oct 26, 2018

Newly detected

Defects by status for current build

Total defects
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 7,701 1.30
lldb /tools/lldb/.* No 0 N/A
compiler-rt /projects/compiler-rt/.* No 0 N/A
generated /build-llvm/.* No 877,078 0.01
tools /tools/.* No 108,959 0.63
TableGen .*TableGen.* No 41,002 0.93
Transforms .*Transforms.* No 149,530 0.85
Target /lib/Target/.* No 252,321 0.96
unittests /unittests/.* Yes 25 N/A
tests /test/.* Yes 0 N/A
system /usr/include/.* Yes 93,304 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 159,847 1.29
llvm-codegen /lib/CodeGen/.* No 135,405 0.94
llvm-ExecutionEngine /lib/ExecutionEngine/.* No 16,280 1.04
llvm-IR /lib/IR/.* No 39,464 0.41
llvm-MC /lib/MC/.* No 23,869 0.75
llvm-Support /lib/Support/.* No 34,471 1.48
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 51,026 0.71
libs /lib/.* No 79,115 0.95
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 58,554 0.07

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 20
676 Use of Potentially Dangerous Function 2





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