Project Name | OpenWrt |
---|---|
Lines of code analyzed | 470,508 |
On Coverity Scan since | Feb 05, 2013 |
Last build analyzed | 5 days ago |
Language | C/C++ |
Repository URL | git://git.openwrt.org/openwrt/openwrt.git |
Homepage URL | https://openwrt.org/ |
License | N/A |
Want to view defects or help fix defects?
Add me to projectVersion: main-a7abc7ec3b61be553f33c49e5...
Line of Code (LOC) | Defect Density |
---|---|
Less than 100,000 | 0.35 |
100,000 to 499,999 | 0.5 |
500,000 to 1 million | 0.7 |
More than 1 million | 0.65 |
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.
Note: Defect density is measured by the number of defects per 1,000 lines of code.
Component Name | Pattern | Ignore | Line of Code | Defect density |
---|---|---|---|---|
firewall | .*/build_dir/target-.*/firewall-.* | No | 9,371 | 0.85 |
fwtool | .*/build_dir/target-.*/fwtool/.* | No | 0 | N/A |
fstools | .*/build_dir/target-.*/fstools-.* | No | 10,518 | 3.61 |
iwinfo | .*/build_dir/target-.*/libiwinfo-.* | No | 7,896 | 1.01 |
jsonfilter | .*/build_dir/target-.*/jsonfilter-.* | No | 6,765 | 0.74 |
libnl-tiny | .*/build_dir/target-.*/libnl-tiny-.* | No | 4,525 | 1.55 |
libubox | .*/build_dir/target-.*/libubox-.* | No | 8,841 | 2.38 |
luci-lib-nixio | .*/build_dir/target-.*/luci-lib-nixio | No | 0 | N/A |
mtd | .*/build_dir/target-.*/linux-.*/mtd/.* | No | 1,681 | 16.66 |
netifd | .*/build_dir/target-.*/netifd-.* | No | 19,397 | 0.93 |
odhcp6c | .*/build_dir/target-.*/odhcp6c-.* | No | 4,175 | 2.40 |
odhcpd-full | .*/build_dir/target-.*/odhcpd-full/.* | No | 0 | N/A |
odhcpd-ipv6only | .*/build_dir/target-.*/odhcpd-ipv6only/.* | No | 7,154 | 3.91 |
odhcpd | .*/build_dir/target-.*/odhcpd-.* | No | 0 | N/A |
opkg | .*/build_dir/target-.*/linux-*/opkg-.* | No | 13,420 | 4.55 |
procd | .*/build_dir/target-.*/procd-.* | No | 14,974 | 2.27 |
relayd | .*/build_dir/target-.*/relayd-.* | No | 1,899 | 5.27 |
rpcd | .*/build_dir/target-.*/rpcd-.* | No | 6,802 | 4.85 |
swconfig | .*/build_dir/target-.*/swconfig/.* | No | 1,384 | 0.00 |
ubox | .*/build_dir/target-.*/ubox-.* | No | 4,106 | 2.92 |
ubus | .*/build_dir/target-.*/ubus-.* | No | 6,226 | 1.12 |
ucert-tiny | .*/build_dir/target-.*/ucert-tiny/.* | No | 1,486 | 2.69 |
ucert-full | .*/build_dir/target-.*/ucert-full/.* | No | 0 | N/A |
uci | .*/build_dir/target-.*/uci-.* | No | 5,867 | 1.02 |
uclient | .*/build_dir/target-.*/uclient-.* | No | 3,201 | 2.19 |
ugps | .*/build_dir/target-.*/ugps.* | No | 1,202 | 3.33 |
uhttpd | .*/build_dir/target-.*/uhttpd-.* | No | 5,594 | 2.32 |
umbim | .*/build_dir/target-.*/umbim-.* | No | 3,057 | 0.00 |
umdns | .*/build_dir/target-.*/umdns-.* | No | 3,092 | 2.59 |
urandom-seed | .*/build_dir/target-.*/urandom-seed/.* | No | 0 | N/A |
usign | .*/build_dir/target-.*/usign-.* | No | 1,964 | 0.00 |
ustream | .*/build_dir/target-.*/ustream-.* | No | 1,750 | 0.00 |
gpio-button-hotplug | .*/build_dir/target-.*/linux-.*/gpio-button-hotplug/.* | No | 0 | N/A |
kernel-ignore | .*/build_dir/target-*/linux-.*/linux-[0-9]+\.[0-9]+\.[0-9]+/.* | Yes | 6,816 | N/A |
kernel | .*/build_dir/target-*/linux-.*/linux-[0-9]+\.[0-9]+\.[0-9]+/.* | No | 0 | N/A |
dnsmasq | .*/build_dir/target-.*/dnsmasq-.* | No | 34,596 | 1.73 |
unetd | .*/build_dir/target-.*/unetd-.* | No | 11,576 | 5.18 |
ustp | .*/build_dir/target-.*/ustp-.* | No | 7,557 | 1.72 |
usteer | .*/build_dir/target-.*/usteer-.* | No | 5,523 | 2.90 |
dropbear | .*/build_dir/target-.*/dropbear-.* | No | 74,861 | 0.32 |
libusb | .*/build_dir/target-.*/libusb-.* | No | 11,041 | 1.27 |
usbmode | .*/build_dir/target-.*/usbmode-.* | No | 1,429 | 1.40 |
ucode | .*/build_dir/target-.*/ucode-.* | No | 18,908 | 2.75 |
iptables | .*/build_dir/target-.*/linux-.*/iptables-.* | No | 53,358 | 1.11 |
uqmi | .*/build_dir/target-.*/uqmi-.* | No | 27,453 | 0.33 |
cgi-io | .*/build_dir/target-.*/cgi-io-.* | No | 1,842 | 1.09 |
Other | .* | No | 59,237 | 0.02 |
ID | CWE-Name | Number of Defects |
---|---|---|
120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | 14 |
190 | Integer Overflow or Wraparound | 44 |
676 | Use of Potentially Dangerous Function | 12 |
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