Coverity Scan: collectd/collectd

Project Name collectd/collectd
Lines of code analyzed 246,700
On Coverity Scan since Nov 28, 2015
Last build analyzed a while ago
   
Language C/C++
Secondary Language Java
Repository URL https://github.com/collectd/collectd.git
Homepage URL https://github.com/collectd/collectd
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 1da3305

Sep 24, 2020
Last Analyzed
246,700
Lines of Code Analyzed
239,611
Lines of Code in Selected Components
0.15
Defect Density

Defect changes since previous build dated Jun 26, 2018

25
Newly detected
17
Eliminated

Defects by status for current build

205
Total defects
37
Outstanding
161
Fixed
See how defect density for 'collectd/collectd' 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
Generated by lex and yacc /src/liboconfig/(parser|scanner)\.[ch] Yes 5,100 N/A
Generated by protobuf .*\.pb-c\.[ch] Yes 1,989 N/A
java bindings /bindings/java/.* No 0 N/A
daemon /src/daemon/.* No 6,441 0.62
client /src/libcollectdclient/.* No 2,712 1.47
liboconfig /src/liboconfig/.* No 178 0.00
testsuite .*_test.c No 0 N/A
amqp plugin /src/amqp.c No 904 0.00
apache plugin /src/apache.c No 425 0.00
aggregation plugin /src/aggregation.c No 551 0.00
apcups plugin /src/apcups.c No 305 0.00
apple_sensors plugin /src/apple_sensors.c No 138 0.00
aquaero plugin /src/aquaero.c No 0 N/A
ascent plugin /src/ascent.c No 0 N/A
barometer plugin /src/barometer.c No 0 N/A
battery plugin /src/battery.c No 578 0.00
bind plugin /src/bind.c No 0 N/A
ceph plugin /src/ceph.c No 1,092 0.92
cgroups plugin /src/cgroups.c No 0 N/A
conntrack plugin /src/conntrack.c No 0 N/A
contextswitch plugin /src/contextswitch.c No 84 0.00
cpu plugin /src/cpu.c No 659 0.00
cpufreq plugin /src/cpufreq.c No 0 N/A
csv plugin /src/csv.c No 216 4.63
curl plugin /src/curl.c No 560 0.00
curl_json plugin /src/curl_json.c No 766 0.00
curl_xml plugin /src/curl_xml.c No 0 N/A
dbi plugin /src/dbi.c No 597 0.00
df plugin /src/df.c No 277 0.00
disk plugin /src/disk.c No 865 0.00
dns plugin /src/dns.c No 287 0.00
drbd plugin /src/drbd.c No 0 N/A
email plugin /src/email.c No 484 0.00
entropy plugin /src/entropy.c No 0 N/A
ethstat plugin /src/ethstat.c No 0 N/A
exec plugin /src/exec.c No 700 1.43
fhcount plugin /src/fhcount.c No 0 N/A
filecount plugin /src/filecount.c No 405 0.00
fscache plugin /src/fscache.c No 0 N/A
gmond plugin /src/gmond.c No 0 N/A
hddtemp plugin /src/hddtemp.c No 174 0.00
interface plugin /src/interface.c No 288 0.00
ipc plugin /src/ipc.c No 0 N/A
ipmi plugin /src/ipmi.c No 0 N/A
iptables plugin /src/iptables.c No 0 N/A
ipvs plugin /src/ipvs.c No 0 N/A
irq plugin /src/irq.c No 0 N/A
java plugin /src/java.c No 0 N/A
load plugin /src/load.c No 132 0.00
log_logstash plugin /src/log_logstash.c No 266 0.00
logfile plugin /src/logfile.c No 152 0.00
lpar plugin /src/lpar.c No 0 N/A
lvm plugin /src/lvm.c No 0 N/A
madwifi plugin /src/madwifi.c No 0 N/A
match plugins /src/match_*\.c No 729 0.00
mbmon plugin /src/mbmon.c No 153 0.00
md plugin /src/md.c No 0 N/A
memcachec plugin /src/memcachec.c No 353 0.00
memcached plugin /src/memcached.c No 580 0.00
memory plugin /src/memory.c No 356 0.00
mic plugin /src/mic.c No 0 N/A
modbus plugin /src/modbus.c No 870 1.15
mqtt plugin /src/mqtt.c No 602 0.00
multimeter plugin /src/multimeter.c No 158 0.00
mysql plugin /src/mysql.c No 0 N/A
netapp plugin /src/netapp.c No 0 N/A
netlink plugin /src/netlink.c No 0 N/A
network plugin /src/network.c No 2,500 0.00
nfs plugin /src/nfs.c No 0 N/A
nginx plugin /src/nginx.c No 187 0.00
notify_desktop plugin /src/notify_desktop.c No 113 0.00
notify_email plugin /src/notify_email.c No 0 N/A
notify_nagios plugin /src/notify_nagios.c No 102 0.00
ntpd plugin /src/ntpd.c No 674 0.00
numa plugin /src/numa.c No 0 N/A
nut plugin /src/nut.c No 0 N/A
olsrd plugin /src/olsrd.c No 464 0.00
onewire plugin /src/onewire.c No 0 N/A
openldap plugin /src/openldap.c No 400 0.00
openvpn plugin /src/openvpn.c No 392 0.00
oracle plugin /src/oracle.c No 0 N/A
perl plugin /src/perl.c No 1,789 0.56
pf plugin /src/pf.c No 0 N/A
pinba plugin /src/pinba.c No 468 0.00
ping plugin /src/ping.c No 509 0.00
powerdns plugin /src/powerdns.c No 648 0.00
processes plugin /src/processes.c No 2,178 0.00
protocols plugin /src/protocols.c No 0 N/A
python plugin /src/python*\.c No 1,290 0.00
redis plugin /src/redis.c No 630 0.00
routeros plugin /src/routeros.c No 0 N/A
rrdcached plugin /src/rrdcached.c No 389 2.57
rrdtool plugin /src/rrdtool.c No 821 0.00
sensors plugin /src/sensors.c No 0 N/A
serial plugin /src/serial.c No 0 N/A
sigrok plugin /src/sigrok.c No 0 N/A
smart plugin /src/smart.c No 0 N/A
snmp plugin /src/snmp.c No 1,769 0.00
statsd plugin /src/statsd.c No 693 1.44
swap plugin /src/swap.c No 536 0.00
syslog plugin /src/syslog.c No 104 0.00
table plugin /src/table.c No 365 0.00
tail plugin /src/tail.c No 220 0.00
tail_csv plugin /src/tail_csv.c No 442 0.00
tape plugin /src/tape.c No 0 N/A
target plugins /src/target_*\.c No 1,492 4.69
tcpconns plugin /src/tcpconns.c No 736 0.00
teamspeak2 plugin /src/teamspeak2.c No 484 0.00
ted plugin /src/ted.c No 184 0.00
thermal plugin /src/thermal.c No 0 N/A
threshold plugin /src/threshold.c No 527 0.00
tokyotyrant plugin /src/tokyotyrant.c No 0 N/A
turbostat plugin /src/turbostat.c No 0 N/A
unixsock plugin /src/unixsock.c No 297 0.00
uptime plugin /src/uptime.c No 113 0.00
users plugin /src/users.c No 66 0.00
uuid plugin /src/uuid.c No 139 0.00
varnish plugin /src/varnish.c No 1,714 0.00
collectdmon /src/collectdmon.c No 275 0.00
virt plugin /src/virt.c No 0 N/A
vmem plugin /src/vmem.c No 0 N/A
vserver plugin /src/vserver.c No 0 N/A
wireless plugin /src/wireless.c No 0 N/A
write_graphite plugin /src/write_graphite.c No 400 2.50
write_http plugin /src/write_http.c No 730 0.00
write_kafka plugin /src/write_kafka.c No 399 2.51
write_log plugin /src/write_log.c No 82 0.00
write_mongodb plugin /src/write_mongodb.c No 308 0.00
write_redis plugin /src/write_redis.c No 203 0.00
write_riemann plugin /src/write_riemann* No 863 1.16
write_sensu plugin /src/write_sensu.c No 1,042 0.00
write_tsdb plugin /src/write_tsdb.c No 465 0.00
xmms plugin /src/xmms.c No 0 N/A
zfs_arc plugin /src/zfs_arc.c No 0 N/A
zone plugin /src/zone.c No 0 N/A
zookeeper plugin /src/zookeeper.c No 188 0.00
chrony plugin /src/chrony.c No 806 0.00
grpc plugin /src/grpc.cc No 0 N/A
xencpu plugin /src/xencpu.c No 0 N/A
intel_rdt src/intel_rdt.c No 0 N/A
intel_pmu src/intel_pmu.c No 0 N/A
mcelog src/mcelog.c No 0 N/A
ovs_stats src/ovs_stats.c No 0 N/A
ovs_events src/ovs_events.c No 0 N/A
utils_ovs src/utils_ovs.c No 0 N/A
dpdkevents src/dpdkevents.c No 0 N/A
dpdkstats src/dpdkstats.c No 0 N/A
utils_dpdk src/utils_dpdk.c No 0 N/A
Other .* No 606,729 0.02

CWE Top 25 defects

ID CWE-Name Number of Defects
676 Use of Potentially Dangerous Function 5
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