Coverity Scan: DPDK Data Plane Development Kit

Project Name DPDK Data Plane Development Kit
Lines of code analyzed 2,005,605
On Coverity Scan since Jan 22, 2015
Last build analyzed about 16 hours 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: 92d644f1d58838561d0996b2d4a9f5...

Feb 21, 2024
Last Analyzed
2,005,605
Lines of Code Analyzed
1,779,444
Lines of Code in Selected Components
0.28
Defect Density

Defect changes since previous build dated Feb 19, 2024

18
Newly detected
11
Eliminated

Defects by status for current build

2,709
Total defects
492
Outstanding
1,792
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,754 0.00
app_test-pmd /app/test-pmd/.* No 45,414 0.13
ignore_kernel_src /usr/src/kernels/.* Yes 0 N/A
example_bond /examples/bond/.* No 608 0.00
example_cmdline /examples/cmdline/.* No 325 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 795 0.00
example_ip_pipeline /examples/ip_pipeline/.* No 11,156 0.00
example_ip_reassembly /examples/ip_reassembly/.* No 902 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 761 0.00
example_l3fwd /examples/l3fwd/.* No 6,743 0.00
example_l3fwd-acl /examples/l3fwd-acl/.* No 0 N/A
example_l3fwd-power /examples/l3fwd-power/.* No 2,464 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.00
example_netmap_compat /examples/netmap_compat/.* No 0 N/A
example_packet_ordering /examples/packet_ordering/.* No 573 0.00
example_qos_meter /examples/qos_meter/.* No 441 0.00
example_qos_sched /examples/qos_sched/.* No 2,308 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,972 0.00
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 76 N/A
ignore_doc /doc/.* Yes 0 N/A
ignore_mk /mk/.* Yes 0 N/A
ignore_base_code /drivers/net/*/base/* Yes 226,085 N/A
pmd_af_packet /drivers/net/af_packet/.* No 893 0.00
pmd_e1000 /drivers/net/e1000/.* No 11,186 0.00
pmd_enic /drivers/net/enic/.* No 9,555 0.31
pmd_fm10k /drivers/net/fm10k/.* No 3,815 0.00
pmd_i40e /drivers/net/i40e/.* No 31,790 0.00
pmd_ixgbe /drivers/net/ixgbe/.* No 21,285 0.00
pmd_null /drivers/net/null/.* No 588 0.00
pmd_pcap /drivers/net/pcap/.* No 1,277 0.00
pmd_ring /drivers/net/ring/.* No 669 0.00
pmd_virtio /drivers/net/virtio/.* No 10,892 0.09
pmd_vmxnet3 /drivers/net/vmxnet3/.* No 2,961 1.35
cryptodev /drivers/crypto/* No 61,907 0.76
tmp files /tmp/* Yes 0 N/A
pmd_mlx /drivers/.*mlx.* No 115,635 0.44
examples /examples/*/.* No 42,236 0.14
kernel_freebsd /kernel/freebsd/.* No 0 N/A
tools /*tools/.* No 0 N/A
lib_acl /lib/acl/.* No 3,870 0.00
lib_bbdev /lib/bbdev/.* No 1,771 0.00
lib_bitratestats /lib/bitratestats/.* No 122 0.00
lib_bpf /lib/bpf/.* No 4,941 0.00
lib_cfgfile /lib/cfgfile/.* No 513 0.00
lib_cmdline /lib/cmdline/.* No 2,863 0.00
lib_compressdev /lib/compressdev/.* No 1,275 0.00
lib_cryptodev /lib/cryptodev/.* No 4,488 0.00
lib_dispatcher /lib/dispatcher/.* No 590 0.00
lib_distributor /lib/distributor/.* No 980 0.00
lib_dmadev /lib/dmadev/.* No 1,509 0.00
lib_eal /lib/eal/.* No 32,011 0.28
lib_efd /lib/efd/.* No 893 0.00
lib_ethdev /lib/ethdev/.* No 22,326 0.09
lib_eventdev /lib/eventdev/.* No 12,327 0.08
lib_fib /lib/fib/.* No 2,537 0.00
lib_gpudev /lib/gpudev/.* No 1,090 0.00
lib_graph /lib/graph/.* No 2,666 0.00
lib_gro /lib/gro/.* No 2,515 0.00
lib_gso /lib/gso/.* No 537 0.00
lib_hash /lib/hash/.* No 4,303 0.23
lib_ip_frag /lib/ip_frag/.* No 1,278 0.00
lib_ipsec /lib/ipsec/.* No 3,537 0.00
lib_jobstats /lib/jobstats/.* No 267 0.00
lib_kvargs /lib/kvargs/.* No 234 0.00
lib_latencystats /lib/latencystats/.* No 310 0.00
lib_log /lib/log/.* No 532 0.00
lib_lpm /lib/lpm/.* No 1,921 0.52
lib_mbuf /lib/mbuf/.* No 2,562 0.00
lib_member /lib/member/.* No 2,314 0.00
lib_mempool /lib/mempool/.* No 2,274 0.00
lib_meter /lib/meter/.* No 449 0.00
lib_metrics /lib/metrics/.* No 834 0.00
lib_mldev /lib/mldev/.* No 1,961 0.00
lib_net /lib/net/.* No 3,076 0.00
lib_node /lib/node/.* No 2,670 0.00
lib_pcapng /lib/pcapng/.* No 644 0.00
lib_pci /lib/pci/.* No 220 0.00
lib_pdcp /lib/pdcp/.* No 1,941 0.00
lib_pdump /lib/pdump/.* No 686 0.00
lib_pipeline /lib/pipeline/.* No 27,249 0.00
lib_port /lib/port/.* No 4,998 0.00
lib_power /lib/power/.* No 4,241 0.47
lib_rawdev /lib/rawdev/.* No 826 0.00
lib_rcu /lib/rcu/.* No 581 0.00
lib_regexdev /lib/regexdev/.* No 891 0.00
lib_reorder /lib/reorder/.* No 441 0.00
lib_rib /lib/rib/.* No 1,065 0.00
lib_ring /lib/ring/.* No 2,065 0.00
lib_sched /lib/sched/.* No 3,183 0.00
lib_security /lib/security/.* No 1,086 0.00
lib_stack /lib/stack/.* No 465 0.00
lib_table /lib/table/.* No 8,438 0.00
lib_telemetry /lib/telemetry/.* No 1,357 0.00
lib_timer /lib/timer/.* No 815 0.00
lib_vhost /lib/vhost/.* No 13,564 0.15
drivers_baseband /drivers/baseband/.* No 17,964 0.17
drivers_bus /drivers/bus/.* No 27,817 0.54
drivers_common /drivers/common/.* No 155,625 0.07
drivers_compress /drivers/compress/.* No 4,162 0.00
drivers_crypto /drivers/crypto/.* No 0 N/A
drivers_dma /drivers/dma/.* No 7,260 0.41
drivers_event /drivers/event/.* No 44,190 0.07
drivers_gpu /drivers/gpu/.* No 0 N/A
drivers_mempool /drivers/mempool/.* No 3,391 0.00
drivers_ml /drivers/ml/.* No 5,333 0.00
drivers_raw /drivers/raw/.* No 5,951 0.17
drivers_regex /drivers/regex/.* No 728 0.00
drivers_vdpa /drivers/vdpa/.* No 4,666 0.21
libs /lib/.* No 691 0.00
pmd_af_xdp /drivers/net/af_xdp/.* No 0 N/A
pmd_ark /drivers/net/ark/.* No 3,273 0.61
pmd_atlantic /drivers/net/atlantic/.* No 7,543 0.00
pmd_avp /drivers/net/avp/.* No 1,929 0.00
pmd_axgbe /drivers/net/axgbe/.* No 9,472 0.11
pmd_bnx2x /drivers/net/bnx2x/.* No 39,978 0.18
pmd_bnxt /drivers/net/bnxt/.* No 236,700 0.05
pmd_bonding /drivers/net/bonding/.* No 7,282 0.41
pmd_cnxk /drivers/net/cnxk/.* No 19,836 0.00
pmd_cpfl /drivers/net/cpfl/.* No 9,697 0.00
pmd_cxgbe /drivers/net/cxgbe/.* No 8,691 0.35
pmd_dpaa /drivers/net/dpaa/.* No 7,749 0.26
pmd_ena /drivers/net/ena/.* No 3,840 0.26
pmd_enetc /drivers/net/enetc/.* No 1,165 0.86
pmd_enetfec /drivers/net/enetfec/.* No 1,161 3.45
pmd_failsafe /drivers/net/failsafe/.* No 3,942 0.51
pmd_gve /drivers/net/gve/.* No 3,320 0.00
pmd_hinic /drivers/net/hinic/.* No 7,097 0.85
pmd_hns3 /drivers/net/hns3/.* No 28,030 0.07
pmd_iavf /drivers/net/iavf/.* No 23,088 0.00
pmd_ice /drivers/net/ice/.* No 27,487 0.04
pmd_idpf /drivers/net/idpf/.* No 2,241 0.00
pmd_igc /drivers/net/igc/.* No 4,930 0.00
pmd_ionic /drivers/net/ionic/.* No 7,596 0.00
pmd_ipn3ke /drivers/net/ipn3ke/.* No 0 N/A
pmd_mana /drivers/net/mana/.* No 0 N/A
pmd_memif /drivers/net/memif/.* No 2,915 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,359 0.37
pmd_nfb /drivers/net/nfb/.* No 0 N/A
pmd_nfp /drivers/net/nfp/.* No 23,071 0.30
pmd_ngbe /drivers/net/ngbe/.* No 6,068 0.82
pmd_octeon_ep /drivers/net/octeon_ep/.* No 4,064 1.23
pmd_octeontx /drivers/net/octeontx/.* No 2,418 0.00
pmd_pfe /drivers/net/pfe/.* No 2,656 1.13
pmd_qede /drivers/net/qede/.* No 13,341 0.82
pmd_sfc /drivers/net/sfc/.* No 26,768 0.30
pmd_softnic /drivers/net/softnic/.* No 3,648 0.00
pmd_tap /drivers/net/tap/.* No 6,161 0.32
pmd_thunderx /drivers/net/thunderx/.* No 2,809 0.00
pmd_txgbe /drivers/net/txgbe/.* No 15,755 0.32
pmd_vdev_netvsc /drivers/net/vdev_netvsc/.* No 580 0.00
pmd_vhost /drivers/net/vhost/.* No 1,436 0.70
drivers_net /drivers/net/.* No 15,353 0.72
app_test-bbdev /app/test-bbdev/.* No 8,279 0.00
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 5,835 0.00
app_test-dma-perf /app/test-dma-perf/.* No 978 0.00
app_test-eventdev /app/test-eventdev/.* No 7,189 0.14
app_test-fib /app/test-fib/.* No 1,164 0.00
app_test-flow-perf /app/test-flow-perf/.* No 3,227 0.62
app_test-gpudev /app/test-gpudev/.* No 362 2.76
app_test-mldev /app/test-mldev/.* No 2,929 0.00
app_test-regex /app/test-regex/.* No 725 0.00
app_test-sad /app/test-sad/.* No 603 0.00
app_test-security-perf /app/test-security-perf/.* No 458 0.00
app_test /app/test/.* No 147,804 0.94
app_dumpcap /app/dumpcap/.* No 805 0.00
app_pdump /app/pdump/.* No 838 0.00
app_proc-info /app/proc-info/.* No 1,878 0.00
app /app/.* No 3,505 1.43
Other .* No 121,605 0.00

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 19
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