Coverity Scan: DPDK Data Plane Development Kit

Project Name DPDK Data Plane Development Kit
Lines of code analyzed 2,041,210
On Coverity Scan since Jan 22, 2015
Last build analyzed 2 days 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: d7fcf40e1f8946e2d1ac8870df53b5...

Jun 12, 2024
Last Analyzed
2,041,210
Lines of Code Analyzed
1,814,880
Lines of Code in Selected Components
0.28
Defect Density

Defect changes since previous build dated Jun 10, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

2,743
Total defects
503
Outstanding
1,822
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,754 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 762 0.00
example_l3fwd /examples/l3fwd/.* No 6,752 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 589 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,975 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 75 N/A
ignore_doc /doc/.* Yes 0 N/A
ignore_mk /mk/.* Yes 0 N/A
ignore_base_code /drivers/net/*/base/* Yes 226,255 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,551 0.31
pmd_fm10k /drivers/net/fm10k/.* No 3,814 0.00
pmd_i40e /drivers/net/i40e/.* No 31,992 0.00
pmd_ixgbe /drivers/net/ixgbe/.* No 21,304 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,902 0.28
pmd_vmxnet3 /drivers/net/vmxnet3/.* No 2,963 1.35
cryptodev /drivers/crypto/* No 62,396 0.75
tmp files /tmp/* Yes 0 N/A
pmd_mlx /drivers/.*mlx.* No 120,620 0.49
examples /examples/*/.* No 42,267 0.12
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,485 0.00
lib_dispatcher /lib/dispatcher/.* No 591 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,051 0.31
lib_efd /lib/efd/.* No 893 0.00
lib_ethdev /lib/ethdev/.* No 22,489 0.04
lib_eventdev /lib/eventdev/.* No 12,325 0.08
lib_fib /lib/fib/.* No 2,539 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,304 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 543 0.00
lib_lpm /lib/lpm/.* No 1,920 0.52
lib_mbuf /lib/mbuf/.* No 2,563 0.00
lib_member /lib/member/.* No 2,313 0.00
lib_mempool /lib/mempool/.* No 2,275 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,064 0.00
lib_node /lib/node/.* No 2,670 0.00
lib_pcapng /lib/pcapng/.* No 645 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,252 0.00
lib_port /lib/port/.* No 4,998 0.00
lib_power /lib/power/.* No 4,241 0.24
lib_rawdev /lib/rawdev/.* No 826 0.00
lib_rcu /lib/rcu/.* No 582 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,066 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 466 0.00
lib_table /lib/table/.* No 8,448 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,585 0.29
drivers_baseband /drivers/baseband/.* No 18,498 0.16
drivers_bus /drivers/bus/.* No 27,854 0.57
drivers_common /drivers/common/.* No 158,140 0.06
drivers_compress /drivers/compress/.* No 5,867 0.00
drivers_crypto /drivers/crypto/.* No 0 N/A
drivers_dma /drivers/dma/.* No 7,654 0.39
drivers_event /drivers/event/.* No 44,424 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,950 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.00
pmd_bnx2x /drivers/net/bnx2x/.* No 39,957 0.18
pmd_bnxt /drivers/net/bnxt/.* No 236,807 0.05
pmd_bonding /drivers/net/bonding/.* No 7,282 0.41
pmd_cnxk /drivers/net/cnxk/.* No 25,312 0.20
pmd_cpfl /drivers/net/cpfl/.* No 9,699 0.00
pmd_cxgbe /drivers/net/cxgbe/.* No 8,692 0.35
pmd_dpaa /drivers/net/dpaa/.* No 7,749 0.26
pmd_ena /drivers/net/ena/.* No 3,955 0.25
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,031 0.07
pmd_iavf /drivers/net/iavf/.* No 23,212 0.00
pmd_ice /drivers/net/ice/.* No 27,652 0.00
pmd_idpf /drivers/net/idpf/.* No 2,242 0.00
pmd_igc /drivers/net/igc/.* No 4,930 0.00
pmd_ionic /drivers/net/ionic/.* No 7,560 0.00
pmd_ipn3ke /drivers/net/ipn3ke/.* No 0 N/A
pmd_mana /drivers/net/mana/.* No 3,406 0.59
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.19
pmd_nfb /drivers/net/nfb/.* No 0 N/A
pmd_nfp /drivers/net/nfp/.* No 24,340 0.08
pmd_ngbe /drivers/net/ngbe/.* No 6,068 0.82
pmd_octeon_ep /drivers/net/octeon_ep/.* No 4,144 1.21
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.75
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,171 0.16
pmd_thunderx /drivers/net/thunderx/.* No 2,810 0.00
pmd_txgbe /drivers/net/txgbe/.* No 15,757 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,316 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 6,014 0.00
app_test-dma-perf /app/test-dma-perf/.* No 1,379 0.73
app_test-eventdev /app/test-eventdev/.* No 7,495 0.13
app_test-fib /app/test-fib/.* No 1,164 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,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 149,762 0.93
app_dumpcap /app/dumpcap/.* No 802 0.00
app_pdump /app/pdump/.* No 838 0.00
app_proc-info /app/proc-info/.* No 1,878 0.00
app /app/.* No 2,709 1.85
Other .* No 123,679 0.00

CWE Top 25 defects

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