Coverity Scan: prplOS

Project Name prplOS
Lines of code analyzed 900,751
On Coverity Scan since Jul 20, 2021
Last build analyzed about 2 months ago
   
Language C/C++
Repository URL https://gitlab.com/prpl-foundation/prplOS/prplos
Homepage URL N/A
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 64cc6d32

Sep 27, 2024
Last Analyzed
900,751
Lines of Code Analyzed
534,435
Lines of Code in Selected Components
2.34
Defect Density

Defect changes since previous build dated Sep 20, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

2,740
Total defects
1,253
Outstanding
1,463
Fixed
See how defect density for 'prplOS' 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.86
fstools .*/build_dir/target-.*/fstools-.* No 10,129 4.84
iwinfo .*/build_dir/target-.*/libiwinfo-.* No 7,497 1.33
jsonfilter .*/build_dir/target-.*/jsonfilter-.* No 6,687 1.79
libnl-tiny .*/build_dir/target-.*/libnl-tiny-.* No 4,372 1.60
libubox .*/build_dir/target-.*/libubox-.* No 7,131 2.10
netifd .*/build_dir/target-.*/netifd-.* No 18,103 1.38
odhcp6c .*/build_dir/target-.*/odhcp6c-.* No 4,086 2.45
odhcpd .*/build_dir/target-.*/odhcpd-.* No 6,697 4.03
opkg .*/build_dir/target-.*/linux-*/opkg-.* No 13,317 4.43
rpcd .*/build_dir/target-.*/rpcd-.* No 6,634 5.13
swconfig .*/build_dir/target-.*/swconfig/.* No 1,359 0.00
ubox .*/build_dir/target-.*/ubox-.* No 3,667 3.00
ubus .*/build_dir/target-.*/ubus-.* No 6,070 1.15
ucert .*/build_dir/target-.*/ucert.* No 1,407 2.84
uci .*/build_dir/target-.*/uci-.* No 6,038 0.99
uclient .*/build_dir/target-.*/uclient-.* No 2,949 2.37
cgi-io .*/build_dir/target-.*/cgi-io/.* No 0 N/A
uhttpd .*/build_dir/target-.*/uhttpd-.* No 0 N/A
umdns .*/build_dir/target-.*/umdns-.* No 2,737 3.29
usign .*/build_dir/target-.*/usign-.* No 1,885 0.00
ustream .*/build_dir/target-.*/ustream-.* No 1,612 0.00
bbfd .*/build_dir/target-.*/bbfd-.* No 0 N/A
obuspa .*/build_dir/target-.*/obuspa-.* No 0 N/A
owsd .*/build_dir/target-.*/owsd-.* No 0 N/A
ucwmp .*/build_dir/target-.*/cwmp-.* No 0 N/A
dropbear .*/build_dir/target-.*/dropbear-.* No 74,113 0.47
dnsmasq .*/build_dir/target-.*/dnsmasq-.* No 33,423 1.59
prplMesh .*/build_dir/target-.*/prplMesh-.* No 222,310 2.32
procd .*/build_dir/target-.*/procd-.* No 14,772 2.50
amx-cli .*/build_dir/target-.*/amx-cli-.* No 2,914 3.09
tr181-deviceinfo .*/build_dir/target-.*/tr181-deviceinfo-.* No 4,239 0.94
tr181-dhcpv4 .*/build_dir/target-.*/tr181-dhcpv4-.* No 4,416 0.91
tr181-dhcpv6s- .*/build_dir/target-.*/tr181-dhcpv6s-.* No 1,900 0.53
tr181-ip .*/build_dir/target-.*/tr181-ip-.* No 5,974 0.50
libdhcpoptions .*/build_dir/target-.*/libdhcpoptions-.* No 1,492 1.34
libfwinterface .*/build_dir/target-.*/libfwinterface-.* No 1,643 2.43
libfwrules .*/build_dir/target-.*/libfwrules-.* No 2,155 0.00
libnetmodel .*/build_dir/target-.*/libnetmodel-.* No 2,561 1.56
mod-amxb-ubus .*/build_dir/target-.*/amxb_ubus-.* No 1,852 0.54
mod-ba-cli .*/build_dir/target-.*/mod-ba-cli-.* No 3,723 0.54
mod-dmext .*/build_dir/target-.*/mod-dmext-.* No 1,273 0.79
netdev-plugin .*/build_dir/target-.*/netdev-.* No 4,339 1.38
netmodel .*/build_dir/target-.*/netmodel-.* No 3,749 0.53
routing-manager .*/build_dir/target-.*/tr181-routing-.* No 3,998 1.00
time-manager .*/build_dir/target-.*/tr181-time-.* No 3,418 1.46
tr181-bridging .*/build_dir/target-.*/tr181-bridging-.* No 3,693 0.00
tr181-firewall .*/build_dir/target-.*/tr181-firewall-.* No 10,055 0.60
wan-manager .*/build_dir/target-.*/wan-manager-.* No 3,556 0.28
tr181-device .*/build_dir/target-.*/tr181-device-.* No 907 0.00
mod-sahtrace .*/build_dir/target-.*/mod-sahtrace-.* No 297 0.00
ignore rest .* Yes 366,316 N/A
Other .* No 0 N/A

CWE Top 25 defects

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