Coverity Scan: collectd/collectd

Project Name collectd/collectd
Lines of code analyzed 245,181
On Coverity Scan since Nov 28, 2015
Last build analyzed about 1 month 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: 77ca1a4

Dec 15, 2017
Last Analyzed
245,181
Lines of Code Analyzed
238,386
Lines of Code in Selected Components
0.09
Defect Density

Defect changes since previous build dated Dec 14, 2017

0
Newly detected
0
Eliminated

Defects by status for current build

188
Total defects
22
Outstanding
155
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,043 N/A
Generated by protobuf .*\.pb-c\.[ch] Yes 1,752 N/A
java bindings /bindings/java/.* No 1,778 1.12
daemon /src/daemon/.* No 8,669 0.46
client /src/libcollectdclient/.* No 2,511 0.00
liboconfig /src/liboconfig/.* No 522 0.00
testsuite .*_test.c No 0 N/A
amqp plugin /src/amqp.c No 799 0.00
apache plugin /src/apache.c No 429 0.00
aggregation plugin /src/aggregation.c No 558 0.00
apcups plugin /src/apcups.c No 305 0.00
apple_sensors plugin /src/apple_sensors.c No 0 N/A
aquaero plugin /src/aquaero.c No 0 N/A
ascent plugin /src/ascent.c No 465 0.00
barometer plugin /src/barometer.c No 1,041 0.00
battery plugin /src/battery.c No 544 1.84
bind plugin /src/bind.c No 1,146 0.87
ceph plugin /src/ceph.c No 1,088 0.92
cgroups plugin /src/cgroups.c No 139 7.19
conntrack plugin /src/conntrack.c No 52 0.00
contextswitch plugin /src/contextswitch.c No 86 0.00
cpu plugin /src/cpu.c No 642 0.00
cpufreq plugin /src/cpufreq.c No 52 0.00
csv plugin /src/csv.c No 216 4.63
curl plugin /src/curl.c No 544 0.00
curl_json plugin /src/curl_json.c No 747 0.00
curl_xml plugin /src/curl_xml.c No 723 0.00
dbi plugin /src/dbi.c No 593 0.00
df plugin /src/df.c No 258 0.00
disk plugin /src/disk.c No 788 0.00
dns plugin /src/dns.c No 286 0.00
drbd plugin /src/drbd.c No 90 0.00
email plugin /src/email.c No 485 0.00
entropy plugin /src/entropy.c No 27 0.00
ethstat plugin /src/ethstat.c No 241 4.15
exec plugin /src/exec.c No 657 0.00
fhcount plugin /src/fhcount.c No 81 0.00
filecount plugin /src/filecount.c No 421 0.00
fscache plugin /src/fscache.c No 79 0.00
gmond plugin /src/gmond.c No 780 0.00
hddtemp plugin /src/hddtemp.c No 174 0.00
interface plugin /src/interface.c No 282 0.00
ipc plugin /src/ipc.c No 219 0.00
ipmi plugin /src/ipmi.c No 0 N/A
iptables plugin /src/iptables.c No 315 0.00
ipvs plugin /src/ipvs.c No 184 0.00
irq plugin /src/irq.c No 98 0.00
java plugin /src/java.c No 2,140 0.00
load plugin /src/load.c No 128 0.00
log_logstash plugin /src/log_logstash.c No 271 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 144 0.00
madwifi plugin /src/madwifi.c No 634 0.00
match plugins /src/match_*\.c No 728 0.00
mbmon plugin /src/mbmon.c No 153 0.00
md plugin /src/md.c No 113 0.00
memcachec plugin /src/memcachec.c No 366 0.00
memcached plugin /src/memcached.c No 572 0.00
memory plugin /src/memory.c No 314 0.00
mic plugin /src/mic.c No 0 N/A
modbus plugin /src/modbus.c No 742 0.00
mqtt plugin /src/mqtt.c No 575 0.00
multimeter plugin /src/multimeter.c No 158 0.00
mysql plugin /src/mysql.c No 722 0.00
netapp plugin /src/netapp.c No 0 N/A
netlink plugin /src/netlink.c No 590 0.00
network plugin /src/network.c No 2,382 0.00
nfs plugin /src/nfs.c No 477 0.00
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 215 0.00
notify_nagios plugin /src/notify_nagios.c No 102 0.00
ntpd plugin /src/ntpd.c No 668 0.00
numa plugin /src/numa.c No 99 0.00
nut plugin /src/nut.c No 308 0.00
olsrd plugin /src/olsrd.c No 464 0.00
onewire plugin /src/onewire.c No 394 0.00
openldap plugin /src/openldap.c No 398 0.00
openvpn plugin /src/openvpn.c No 378 0.00
oracle plugin /src/oracle.c No 0 N/A
perl plugin /src/perl.c No 1,796 0.56
pf plugin /src/pf.c No 0 N/A
pinba plugin /src/pinba.c No 473 0.00
ping plugin /src/ping.c No 488 0.00
postgresql plugin /src/postgresql.c No 929 0.00
powerdns plugin /src/powerdns.c No 650 0.00
processes plugin /src/processes.c No 2,002 0.00
protocols plugin /src/protocols.c No 149 0.00
python plugin /src/python*\.c No 1,268 0.00
redis plugin /src/redis.c No 374 0.00
routeros plugin /src/routeros.c No 0 N/A
rrdcached plugin /src/rrdcached.c No 400 0.00
rrdtool plugin /src/rrdtool.c No 816 0.00
sensors plugin /src/sensors.c No 405 2.47
serial plugin /src/serial.c No 63 0.00
sigrok plugin /src/sigrok.c No 284 0.00
smart plugin /src/smart.c No 200 0.00
snmp plugin /src/snmp.c No 1,313 0.76
statsd plugin /src/statsd.c No 687 0.00
swap plugin /src/swap.c No 505 0.00
syslog plugin /src/syslog.c No 102 0.00
table plugin /src/table.c No 380 0.00
tail plugin /src/tail.c No 256 0.00
tail_csv plugin /src/tail_csv.c No 421 0.00
tape plugin /src/tape.c No 0 N/A
target plugins /src/target_*\.c No 1,492 0.00
tcpconns plugin /src/tcpconns.c No 738 0.00
teamspeak2 plugin /src/teamspeak2.c No 483 0.00
ted plugin /src/ted.c No 184 0.00
thermal plugin /src/thermal.c No 139 0.00
threshold plugin /src/threshold.c No 588 0.00
tokyotyrant plugin /src/tokyotyrant.c No 102 0.00
turbostat plugin /src/turbostat.c No 1,089 0.00
unixsock plugin /src/unixsock.c No 301 0.00
uptime plugin /src/uptime.c No 110 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,540 0.00
collectdmon /src/collectdmon.c No 275 0.00
virt plugin /src/virt.c No 1,738 0.00
vmem plugin /src/vmem.c No 173 0.00
vserver plugin /src/vserver.c No 216 4.63
wireless plugin /src/wireless.c No 95 0.00
write_graphite plugin /src/write_graphite.c No 395 0.00
write_http plugin /src/write_http.c No 681 0.00
write_kafka plugin /src/write_kafka.c No 389 0.00
write_log plugin /src/write_log.c No 82 0.00
write_mongodb plugin /src/write_mongodb.c No 0 N/A
write_redis plugin /src/write_redis.c No 199 0.00
write_riemann plugin /src/write_riemann* No 0 N/A
write_sensu plugin /src/write_sensu.c No 1,022 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 254 0.00
zone plugin /src/zone.c No 0 N/A
zookeeper plugin /src/zookeeper.c No 178 0.00
chrony plugin /src/chrony.c No 789 0.00
grpc plugin /src/grpc.cc No 0 N/A
xencpu plugin /src/xencpu.c No 97 0.00
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 166,627 0.02

CWE Top 25 defects

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