Coverity Scan: OpenWrt

Project Name OpenWrt
Lines of code analyzed 346,718
On Coverity Scan since Feb 05, 2013
Last build analyzed 4 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 project

Analysis Metrics

Version: Version

Oct 24, 2021
Last Analyzed
346,718
Lines of Code Analyzed
340,616
Lines of Code in Selected Components
1.52
Defect Density

Defect changes since previous build dated Oct 17, 2021

0
Newly detected
2
Eliminated

Defects by status for current build

11,365
Total defects
519
Outstanding
10,817
Fixed
See how defect density for 'OpenWrt' 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
firewall .*/build_dir/target-.*/firewall-.* No 9,295 0.65
fwtool .*/build_dir/target-.*/fwtool/.* No 0 N/A
fstools .*/build_dir/target-.*/fstools-.* No 10,056 4.18
iwinfo .*/build_dir/target-.*/libiwinfo-.* No 8,190 1.47
jsonfilter .*/build_dir/target-.*/jsonfilter-.* No 6,677 0.75
libnl-tiny .*/build_dir/target-.*/libnl-tiny-.* No 4,352 1.15
libubox .*/build_dir/target-.*/libubox-.* No 7,093 1.55
luci-lib-nixio .*/build_dir/target-.*/luci-lib-nixio No 0 N/A
mtd .*/build_dir/target-.*/linux-.*/mtd/.* No 0 N/A
netifd .*/build_dir/target-.*/netifd-.* No 17,901 0.50
odhcp6c .*/build_dir/target-.*/odhcp6c-.* No 4,063 1.97
odhcpd-full .*/build_dir/target-.*/odhcpd-full/.* No 7,373 2.58
odhcpd-ipv6only .*/build_dir/target-.*/odhcpd-ipv6only/.* No 6,478 2.62
odhcpd .*/build_dir/target-.*/odhcpd-.* No 0 N/A
opkg .*/build_dir/target-.*/linux-*/opkg-.* No 13,282 4.07
procd .*/build_dir/target-.*/procd-.* No 29,100 0.89
relayd .*/build_dir/target-.*/relayd-.* No 1,807 5.53
rpcd .*/build_dir/target-.*/rpcd-.* No 5,919 5.41
swconfig .*/build_dir/target-.*/swconfig/.* No 1,359 0.00
ubox .*/build_dir/target-.*/ubox-.* No 3,657 3.28
ubus .*/build_dir/target-.*/ubus-.* No 5,932 1.01
ucert-tiny .*/build_dir/target-.*/ucert-tiny/.* No 0 N/A
ucert-full .*/build_dir/target-.*/ucert-full/.* No 0 N/A
uci .*/build_dir/target-.*/uci-.* No 5,820 1.37
uclient .*/build_dir/target-.*/uclient-.* No 2,938 1.70
ugps .*/build_dir/target-.*/ugps.* No 1,076 2.79
uhttpd .*/build_dir/target-.*/uhttpd-.* No 5,071 2.37
umbim .*/build_dir/target-.*/umbim-.* No 2,966 1.35
umdns .*/build_dir/target-.*/umdns-.* No 2,722 2.94
urandom-seed .*/build_dir/target-.*/urandom-seed/.* No 0 N/A
usign .*/build_dir/target-.*/usign-.* No 1,875 0.53
ustream .*/build_dir/target-.*/ustream-.* No 4,587 0.22
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,102 N/A
kernel .*/build_dir/target-*/linux-.*/linux-[0-9]+\.[0-9]+\.[0-9]+/.* No 0 N/A
Other .* No 171,030 1.30

CWE Top 25 defects

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