Coverity Scan: ceph

Project Name ceph
Lines of code analyzed 2,699,379
On Coverity Scan since Aug 15, 2011
Last build analyzed 2 months ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/ceph/ceph/
Homepage URL https://ceph.io/
License LGPL (GNU Library or "Lesser" General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 19.2.0

Sep 28, 2024
Last Analyzed
2,699,379
Lines of Code Analyzed
2,178,227
Lines of Code in Selected Components
4.06
Defect Density

Defect changes since previous build dated Jul 24, 2024

634
Newly detected
551
Eliminated

Defects by status for current build

16,423
Total defects
8,840
Outstanding
7,365
Fixed
See how defect density for 'ceph' 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
headers /usr/include/.* Yes 282,095 N/A
lib /usr/lib/.* Yes 65,752 N/A
include .*/src/include/.* No 29,878 2.24
librados .*/src/librados/.* No 10,819 3.51
librbd .*/src/librbd/.* No 85,906 6.41
mds .*/src/mds/.* No 75,493 2.52
lib64 /usr/lib64/.* Yes 4,785 N/A
mon .*/src/mon/.* No 49,362 6.50
osd .*/src/osd/.* No 86,229 7.80
common .*/src/common/.* No 107,170 2.18
crimson .*/src/crimson/.* No 0 N/A
crush .*/src/crush/.* No 10,918 3.85
crypto .*/src/crypto/.* No 1,113 7.19
libglobal .*/src/global/.* No 1,382 5.79
fmt .*/src/fmt/.* No 10,871 4.69
xxHash .*/src/xxHash/.* No 808 0.00
utf8proc .*/src/utf8proc/.* No 0 N/A
spdk .*/src/spdk/.* No 0 N/A
spawn .*/src/spawn/.* No 564 0.00
seastar .*/src/seastar/.* No 0 N/A
s3select .*/src/s3select/.* No 18,781 4.85
rocksdb .*/src/rocksdb/.* No 202,778 2.52
rapidjson .*/src/rapidjson/.* No 0 N/A
libkmip .*/src/libkmip/.* No 15,725 0.45
googletest .*/src/googletest/.* No 0 N/A
isa-l .*/src/isa-l/.* No 24,622 0.57
log .*/src/log/.* No 880 11.36
msg .*/src/msg/.* No 17,408 6.78
kv .*/src/kv/.* No 5,124 4.68
libradosstriper .*/src/libradosstriper/.* No 2,081 3.36
key_value_store .*/src/key_value_store/.* No 0 N/A
json_spirit .*/src/json_spirit/.* No 1,582 16.43
journal .*/src/journal/.* No 4,729 11.42
messages .*/src/messages/.* No 12,391 3.87
exporter .*/src/exporter/.* No 797 81.56
erasure-code .*/src/erasure-code/.* No 21,180 0.99
dokan .*/src/dokan/.* No 0 N/A
compressor .*/src/compressor/.* No 1,066 6.57
cls .*/src/cls/.* No 36,117 2.41
client .*/src/client/.* No 22,116 4.43
blk .*/src/blk/.* No 2,174 4.14
neorados .*/src/neorados/.* No 1,730 7.51
os .*/src/os/.* No 44,943 5.94
osdc .*/src/osdc/.* No 13,792 6.16
perfglue .*/src/perfglue/.* No 184 5.43
rbd_replay .*/src/rbd_replay/.* No 2,910 8.59
zstd .*/src/zstd/.* No 471 0.00
tracing .*/src/tracing/.* No 89 0.00
tools .*/src/tools/.* No 81,629 7.36
pybind .*/src/pybind/.* No 260,920 0.94
rgw .*/src/rgw/.* No 208,865 5.57
mgr .*/src/mgr/.* No 15,249 7.08
dmclock .*/src/dmclock/.* No 1,900 5.26
pmem .*/src/pmdk/.* No 42,255 0.88
test .*/src/test/.* Yes 155,476 N/A
base .*/src/.*\.cc No 12,129 7.09
auth .*/src/auth/.* No 1,949 4.10
java .*/src/java/.* No 0 N/A
jaegertracing .*/src/jaegertracing/.* Yes 13,044 N/A
Other .* No 904,836 1.03

CWE Top 25 defects

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