Coverity Scan: DPDK Data Plane Development Kit

Project Name DPDK Data Plane Development Kit
Lines of code analyzed 2,120,856
On Coverity Scan since Jan 22, 2015
Last build analyzed 1 day ago
   
Language C/C++
Repository URL git://dpdk.org/dpdk
Homepage URL http://dpdk.org/
License BSD3Clause (BSD 3-Clause "New" or "Revised" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: b8d1d60fadc414321221843f327744...

Nov 13, 2024
Last Analyzed
2,120,856
Lines of Code Analyzed
1,885,426
Lines of Code in Selected Components
0.40
Defect Density

Defect changes since previous build dated Nov 11, 2024

71
Newly detected
6
Eliminated

Defects by status for current build

3,085
Total defects
753
Outstanding
1,926
Fixed
See how defect density for 'DPDK Data Plane Development Kit' 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
app_test-acl /app/test-acl/.* No 1,086 0.00
app_test-pipeline /app/test-pipeline/.* No 1,747 0.00
app_test-pmd /app/test-pmd/.* No 46,607 0.21
ignore_kernel_src /usr/src/kernels/.* Yes 0 N/A
example_bond /examples/bond/.* No 608 0.00
example_cmdline /examples/cmdline/.* No 305 0.00
example_distributor /examples/distributor/.* No 801 0.00
example_exception_path /examples/exception_path/.* No 0 N/A
example_helloworld /examples/helloworld/.* No 35 0.00
example_ip_fragmentation /examples/ip_fragmentation/.* No 794 1.26
example_ip_pipeline /examples/ip_pipeline/.* No 11,142 0.00
example_ip_reassembly /examples/ip_reassembly/.* No 901 0.00
example_ipv4_multicast /examples/ipv4_multicast/.* No 555 0.00
example_kni /examples/kni/.* No 0 N/A
example_l2fwd /examples/l2fwd/.* No 696 0.00
example_l2fwd-jobstats /examples/l2fwd-jobstats/.* No 762 0.00
example_l3fwd /examples/l3fwd/.* No 6,812 0.15
example_l3fwd-acl /examples/l3fwd-acl/.* No 0 N/A
example_l3fwd-power /examples/l3fwd-power/.* No 2,507 0.00
example_l3fwd-vf /examples/l3fwd-vf/.* No 0 N/A
example_link_status_interrupt /examples/link_status_interrupt/.* No 529 0.00
example_load_balancer /examples/load_balancer/.* No 0 N/A
example_multi_process /examples/multi_process/.* No 1,370 0.73
example_netmap_compat /examples/netmap_compat/.* No 0 N/A
example_packet_ordering /examples/packet_ordering/.* No 589 0.00
example_qos_meter /examples/qos_meter/.* No 441 2.27
example_qos_sched /examples/qos_sched/.* No 2,317 0.00
example_quota_watermark /examples/quota_watermark/.* No 0 N/A
example_rxtx_callbacks /examples/rxtx_callbacks/.* No 268 3.73
example_skeleton /examples/skeleton/.* No 129 0.00
example_timer /examples/timer/.* No 79 0.00
example_vhost /examples/vhost/.* No 1,975 0.51
example_vmdq /examples/vmdq/.* No 485 0.00
example_vmdq_dcb /examples/vmdq_dcb/.* No 534 0.00
example_vm_power_manager /examples/vm_power_manager/.* No 0 N/A
ignore_build_2 /x86_64-native-linuxapp-gcc/.* Yes 0 N/A
ignore_config /config/.* Yes 77 N/A
ignore_doc /doc/.* Yes 0 N/A
ignore_mk /mk/.* Yes 0 N/A
ignore_base_code /drivers/net/*/base/* Yes 235,353 N/A
pmd_af_packet /drivers/net/af_packet/.* No 926 0.00
pmd_e1000 /drivers/net/e1000/.* No 11,188 0.09
pmd_enic /drivers/net/enic/.* No 10,424 0.58
pmd_fm10k /drivers/net/fm10k/.* No 3,835 0.00
pmd_i40e /drivers/net/i40e/.* No 32,186 0.06
pmd_ixgbe /drivers/net/ixgbe/.* No 21,310 0.19
pmd_null /drivers/net/null/.* No 588 0.00
pmd_pcap /drivers/net/pcap/.* No 1,281 0.00
pmd_ring /drivers/net/ring/.* No 676 0.00
pmd_virtio /drivers/net/virtio/.* No 10,910 0.92
pmd_vmxnet3 /drivers/net/vmxnet3/.* No 2,970 1.68
cryptodev /drivers/crypto/* No 66,734 0.66
tmp files /tmp/* Yes 0 N/A
pmd_mlx /drivers/.*mlx.* No 127,054 0.68
examples /examples/*/.* No 42,949 0.21
kernel_freebsd /kernel/freebsd/.* No 0 N/A
tools /*tools/.* No 0 N/A
lib_acl /lib/acl/.* No 3,864 0.00
lib_bbdev /lib/bbdev/.* No 1,978 0.00
lib_bitratestats /lib/bitratestats/.* No 122 0.00
lib_bpf /lib/bpf/.* No 5,058 0.20
lib_cfgfile /lib/cfgfile/.* No 513 0.00
lib_cmdline /lib/cmdline/.* No 2,866 0.00
lib_compressdev /lib/compressdev/.* No 1,275 0.00
lib_cryptodev /lib/cryptodev/.* No 4,605 0.00
lib_dispatcher /lib/dispatcher/.* No 591 0.00
lib_distributor /lib/distributor/.* No 980 0.00
lib_dmadev /lib/dmadev/.* No 1,544 0.00
lib_eal /lib/eal/.* No 33,247 0.51
lib_efd /lib/efd/.* No 893 0.00
lib_ethdev /lib/ethdev/.* No 23,076 0.22
lib_eventdev /lib/eventdev/.* No 12,426 0.08
lib_fib /lib/fib/.* No 2,704 0.00
lib_gpudev /lib/gpudev/.* No 1,090 0.00
lib_graph /lib/graph/.* No 2,890 0.00
lib_gro /lib/gro/.* No 2,516 0.00
lib_gso /lib/gso/.* No 537 0.00
lib_hash /lib/hash/.* No 4,588 0.44
lib_ip_frag /lib/ip_frag/.* No 1,276 0.00
lib_ipsec /lib/ipsec/.* No 3,603 0.56
lib_jobstats /lib/jobstats/.* No 267 0.00
lib_kvargs /lib/kvargs/.* No 248 0.00
lib_latencystats /lib/latencystats/.* No 308 0.00
lib_log /lib/log/.* No 1,105 0.90
lib_lpm /lib/lpm/.* No 1,900 1.58
lib_mbuf /lib/mbuf/.* No 2,583 0.00
lib_member /lib/member/.* No 2,313 0.43
lib_mempool /lib/mempool/.* No 2,315 1.30
lib_meter /lib/meter/.* No 449 0.00
lib_metrics /lib/metrics/.* No 834 0.00
lib_mldev /lib/mldev/.* No 2,003 0.00
lib_net /lib/net/.* No 3,332 0.00
lib_node /lib/node/.* No 2,695 0.37
lib_pcapng /lib/pcapng/.* No 645 0.00
lib_pci /lib/pci/.* No 220 0.00
lib_pdcp /lib/pdcp/.* No 1,941 0.52
lib_pdump /lib/pdump/.* No 686 0.00
lib_pipeline /lib/pipeline/.* No 27,238 0.00
lib_port /lib/port/.* No 4,986 0.00
lib_power /lib/power/.* No 1,388 1.44
lib_rawdev /lib/rawdev/.* No 837 0.00
lib_rcu /lib/rcu/.* No 558 0.00
lib_regexdev /lib/regexdev/.* No 891 0.00
lib_reorder /lib/reorder/.* No 441 0.00
lib_rib /lib/rib/.* No 1,057 0.00
lib_ring /lib/ring/.* No 2,054 0.00
lib_sched /lib/sched/.* No 3,183 0.31
lib_security /lib/security/.* No 1,085 0.00
lib_stack /lib/stack/.* No 466 0.00
lib_table /lib/table/.* No 8,426 0.24
lib_telemetry /lib/telemetry/.* No 1,381 0.00
lib_timer /lib/timer/.* No 815 0.00
lib_vhost /lib/vhost/.* No 13,814 0.43
drivers_baseband /drivers/baseband/.* No 18,504 0.32
drivers_bus /drivers/bus/.* No 29,215 0.51
drivers_common /drivers/common/.* No 162,208 0.06
drivers_compress /drivers/compress/.* No 5,866 0.00
drivers_crypto /drivers/crypto/.* No 0 N/A
drivers_dma /drivers/dma/.* No 9,012 0.44
drivers_event /drivers/event/.* No 46,954 0.28
drivers_gpu /drivers/gpu/.* No 0 N/A
drivers_mempool /drivers/mempool/.* No 3,409 0.00
drivers_ml /drivers/ml/.* No 5,358 0.00
drivers_raw /drivers/raw/.* No 6,325 0.32
drivers_regex /drivers/regex/.* No 728 0.00
drivers_vdpa /drivers/vdpa/.* No 5,048 0.20
libs /lib/.* No 844 0.00
pmd_af_xdp /drivers/net/af_xdp/.* No 0 N/A
pmd_ark /drivers/net/ark/.* No 3,273 1.22
pmd_atlantic /drivers/net/atlantic/.* No 7,540 0.00
pmd_avp /drivers/net/avp/.* No 1,927 0.00
pmd_axgbe /drivers/net/axgbe/.* No 9,805 0.10
pmd_bnx2x /drivers/net/bnx2x/.* No 39,954 0.20
pmd_bnxt /drivers/net/bnxt/.* No 236,927 0.06
pmd_bonding /drivers/net/bonding/.* No 7,273 0.96
pmd_cnxk /drivers/net/cnxk/.* No 30,849 0.29
pmd_cpfl /drivers/net/cpfl/.* No 9,750 0.00
pmd_cxgbe /drivers/net/cxgbe/.* No 8,689 0.23
pmd_dpaa /drivers/net/dpaa/.* No 8,478 0.24
pmd_ena /drivers/net/ena/.* No 3,940 0.25
pmd_enetc /drivers/net/enetc/.* No 1,163 0.86
pmd_enetfec /drivers/net/enetfec/.* No 1,156 4.33
pmd_failsafe /drivers/net/failsafe/.* No 3,946 0.51
pmd_gve /drivers/net/gve/.* No 3,484 0.29
pmd_hinic /drivers/net/hinic/.* No 7,097 0.85
pmd_hns3 /drivers/net/hns3/.* No 29,123 0.17
pmd_iavf /drivers/net/iavf/.* No 23,212 0.09
pmd_ice /drivers/net/ice/.* No 28,060 0.11
pmd_idpf /drivers/net/idpf/.* No 2,236 0.00
pmd_igc /drivers/net/igc/.* No 4,934 0.00
pmd_ionic /drivers/net/ionic/.* No 7,554 0.00
pmd_ipn3ke /drivers/net/ipn3ke/.* No 0 N/A
pmd_mana /drivers/net/mana/.* No 3,407 0.29
pmd_memif /drivers/net/memif/.* No 2,926 0.00
pmd_mvneta /drivers/net/mvneta/.* No 0 N/A
pmd_mvpp2 /drivers/net/mvpp2/.* No 0 N/A
pmd_netvsc /drivers/net/netvsc/.* No 5,393 0.19
pmd_nfb /drivers/net/nfb/.* No 0 N/A
pmd_nfp /drivers/net/nfp/.* No 27,883 0.29
pmd_ngbe /drivers/net/ngbe/.* No 6,969 0.86
pmd_octeon_ep /drivers/net/octeon_ep/.* No 4,235 1.18
pmd_octeontx /drivers/net/octeontx/.* No 2,417 0.00
pmd_pfe /drivers/net/pfe/.* No 2,655 1.13
pmd_qede /drivers/net/qede/.* No 13,340 0.90
pmd_sfc /drivers/net/sfc/.* No 26,785 0.45
pmd_softnic /drivers/net/softnic/.* No 3,648 0.00
pmd_tap /drivers/net/tap/.* No 4,016 0.25
pmd_thunderx /drivers/net/thunderx/.* No 2,810 0.00
pmd_txgbe /drivers/net/txgbe/.* No 16,828 0.53
pmd_vdev_netvsc /drivers/net/vdev_netvsc/.* No 577 0.00
pmd_vhost /drivers/net/vhost/.* No 1,437 0.70
drivers_net /drivers/net/.* No 66,389 1.36
app_test-bbdev /app/test-bbdev/.* No 8,435 0.36
app_test-cmdline /app/test-cmdline/.* No 288 0.00
app_test-compress-perf /app/test-compress-perf/.* No 2,982 0.00
app_test-crypto-perf /app/test-crypto-perf/.* No 7,282 0.27
app_test-dma-perf /app/test-dma-perf/.* No 1,379 0.73
app_test-eventdev /app/test-eventdev/.* No 7,524 0.13
app_test-fib /app/test-fib/.* No 1,145 0.00
app_test-flow-perf /app/test-flow-perf/.* No 3,234 0.62
app_test-gpudev /app/test-gpudev/.* No 362 2.76
app_test-mldev /app/test-mldev/.* No 2,927 0.00
app_test-regex /app/test-regex/.* No 725 0.00
app_test-sad /app/test-sad/.* No 599 0.00
app_test-security-perf /app/test-security-perf/.* No 458 0.00
app_test /app/test/.* No 154,221 0.99
app_dumpcap /app/dumpcap/.* No 836 0.00
app_pdump /app/pdump/.* No 847 1.18
app_proc-info /app/proc-info/.* No 1,882 0.53
app /app/.* No 2,682 2.24
Other .* No 127,006 0.02

CWE Top 25 defects

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