Coverity Scan: OpenWrt

Project Name OpenWrt
Lines of code analyzed 393,917
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 project

Analysis Metrics

Version: Version

May 15, 2022
Last Analyzed
393,917
Lines of Code Analyzed
386,848
Lines of Code in Selected Components
1.37
Defect Density

Defect changes since previous build dated May 08, 2022

0
Newly detected
0
Eliminated

Defects by status for current build

11,515
Total defects
529
Outstanding
10,958
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,286 0.65
fwtool .*/build_dir/target-.*/fwtool/.* No 0 N/A
fstools .*/build_dir/target-.*/fstools-.* No 10,111 2.97
iwinfo .*/build_dir/target-.*/libiwinfo-.* No 8,211 1.46
jsonfilter .*/build_dir/target-.*/jsonfilter-.* No 6,687 0.75
libnl-tiny .*/build_dir/target-.*/libnl-tiny-.* No 4,372 1.14
libubox .*/build_dir/target-.*/libubox-.* No 7,122 1.54
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 18,047 0.55
odhcp6c .*/build_dir/target-.*/odhcp6c-.* No 4,081 1.96
odhcpd-full .*/build_dir/target-.*/odhcpd-full/.* No 7,600 2.76
odhcpd-ipv6only .*/build_dir/target-.*/odhcpd-ipv6only/.* No 6,697 2.54
odhcpd .*/build_dir/target-.*/odhcpd-.* No 0 N/A
opkg .*/build_dir/target-.*/linux-*/opkg-.* No 13,305 4.06
procd .*/build_dir/target-.*/procd-.* No 29,674 0.88
relayd .*/build_dir/target-.*/relayd-.* No 1,817 5.50
rpcd .*/build_dir/target-.*/rpcd-.* No 6,677 4.94
swconfig .*/build_dir/target-.*/swconfig/.* No 1,359 0.00
ubox .*/build_dir/target-.*/ubox-.* No 3,749 3.73
ubus .*/build_dir/target-.*/ubus-.* No 5,978 1.00
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,830 1.37
uclient .*/build_dir/target-.*/uclient-.* No 2,948 1.70
ugps .*/build_dir/target-.*/ugps.* No 1,086 2.76
uhttpd .*/build_dir/target-.*/uhttpd-.* No 5,472 2.19
umbim .*/build_dir/target-.*/umbim-.* No 2,976 1.34
umdns .*/build_dir/target-.*/umdns-.* No 2,732 2.93
urandom-seed .*/build_dir/target-.*/urandom-seed/.* No 0 N/A
usign .*/build_dir/target-.*/usign-.* No 1,885 0.53
ustream .*/build_dir/target-.*/ustream-.* No 4,621 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 7,069 N/A
kernel .*/build_dir/target-*/linux-.*/linux-[0-9]+\.[0-9]+\.[0-9]+/.* No 0 N/A
Other .* No 214,525 1.11

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 16
190 Integer Overflow or Wraparound 2
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