Coverity Scan: DPDK Data Plane Development Kit

Project Name DPDK Data Plane Development Kit
Lines of code analyzed 1,267,041
On Coverity Scan since Jan 22, 2015
Last build analyzed 5 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: 8b6b2bf6b5788c56765e128e5af3ab...

Sep 21, 2020
Last Analyzed
1,267,041
Lines of Code Analyzed
968,051
Lines of Code in Selected Components
0.28
Defect Density

Defect changes since previous build dated Sep 17, 2020

1
Newly detected
28
Eliminated

Defects by status for current build

1,591
Total defects
270
Outstanding
1,075
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
librte_acl /lib/librte_acl/.* No 2,911 0.00
librte_cfgfile /lib/librte_cfgfile/.* No 66 0.00
librte_cmdline /lib/librte_cmdline/.* No 562 0.00
librte_distributor /lib/librte_distributor/.* No 910 0.00
librte_eal /lib/librte_eal/.* No 27,751 0.14
librte_hash /lib/librte_hash/.* No 3,154 0.00
librte_ip_frag /lib/librte_ip_frag/.* No 1,098 0.00
librte_jobstats /lib/librte_jobstats/.* No 271 0.00
librte_kni /lib/librte_kni/.* No 763 0.00
librte_kvargs /lib/librte_kvargs/.* No 36 0.00
librte_lpm /lib/librte_lpm/.* No 1,923 0.00
librte_mbuf /lib/librte_mbuf/.* No 2,515 0.00
librte_mempool /lib/librte_mempool/.* No 2,059 0.97
librte_meter /lib/librte_meter/.* No 334 0.00
librte_net /lib/librte_net/.* No 1,582 0.63
librte_pipeline /lib/librte_pipeline/.* No 4,921 0.00
librte_port /lib/librte_port/.* No 4,028 0.25
librte_power /lib/librte_power/.* No 2,027 0.00
librte_reorder /lib/librte_reorder/.* No 298 0.00
librte_ring /lib/librte_ring/.* No 1,797 0.00
librte_sched /lib/librte_sched/.* No 2,258 0.00
librte_table /lib/librte_table/.* No 6,372 0.00
librte_timer /lib/librte_timer/.* No 836 0.00
librte_vhost /lib/librte_vhost/.* No 10,429 0.10
app_test-acl /app/test-acl/.* No 878 0.00
app_test-pipeline /app/test-pipeline/.* No 1,696 0.00
app_test-pmd /app/test-pmd/.* No 39,250 0.15
ignore_kernel_src /usr/src/kernels/.* Yes 0 N/A
example_bond /examples/bond/.* No 723 0.00
example_cmdline /examples/cmdline/.* No 32 0.00
example_distributor /examples/distributor/.* No 729 0.00
example_exception_path /examples/exception_path/.* No 0 N/A
example_helloworld /examples/helloworld/.* No 34 0.00
example_ip_fragmentation /examples/ip_fragmentation/.* No 800 0.00
example_ip_pipeline /examples/ip_pipeline/.* No 11,270 0.00
example_ip_reassembly /examples/ip_reassembly/.* No 907 0.00
example_ipv4_multicast /examples/ipv4_multicast/.* No 558 0.00
example_kni /examples/kni/.* No 881 0.00
example_l2fwd /examples/l2fwd/.* No 693 0.00
example_l2fwd-jobstats /examples/l2fwd-jobstats/.* No 772 0.00
example_l3fwd /examples/l3fwd/.* No 3,890 0.00
example_l3fwd-acl /examples/l3fwd-acl/.* No 1,670 0.00
example_l3fwd-power /examples/l3fwd-power/.* No 2,353 0.00
example_l3fwd-vf /examples/l3fwd-vf/.* No 0 N/A
example_link_status_interrupt /examples/link_status_interrupt/.* No 543 0.00
example_load_balancer /examples/load_balancer/.* No 0 N/A
example_multi_process /examples/multi_process/.* No 1,526 0.00
example_netmap_compat /examples/netmap_compat/.* No 0 N/A
example_packet_ordering /examples/packet_ordering/.* No 571 0.00
example_qos_meter /examples/qos_meter/.* No 400 0.00
example_qos_sched /examples/qos_sched/.* No 2,343 0.00
example_quota_watermark /examples/quota_watermark/.* No 0 N/A
example_rxtx_callbacks /examples/rxtx_callbacks/.* No 242 0.00
example_skeleton /examples/skeleton/.* No 134 0.00
example_timer /examples/timer/.* No 77 0.00
example_vhost /examples/vhost/.* No 1,475 0.00
example_vmdq /examples/vmdq/.* No 494 0.00
example_vmdq_dcb /examples/vmdq_dcb/.* No 543 0.00
example_vm_power_manager /examples/vm_power_manager/.* No 3,274 0.00
ignore_build_2 /x86_64-native-linuxapp-gcc/.* Yes 0 N/A
ignore_config /config/.* Yes 68 N/A
ignore_doc /doc/.* Yes 0 N/A
ignore_mk /mk/.* Yes 0 N/A
app_test /app/test/.* Yes 95,215 N/A
ignore_base_code /drivers/net/*/base/* Yes 203,707 N/A
pmd_af_packet /drivers/net/af_packet/.* No 865 0.00
pmd_e1000 /drivers/net/e1000/.* No 11,462 0.00
pmd_enic /drivers/net/enic/.* No 8,261 0.00
pmd_fm10k /drivers/net/fm10k/.* No 3,827 0.00
pmd_i40e /drivers/net/i40e/.* No 32,523 0.00
pmd_ixgbe /drivers/net/ixgbe/.* No 20,685 0.00
pmd_null /drivers/net/null/.* No 560 0.00
pmd_pcap /drivers/net/pcap/.* No 1,193 0.00
pmd_ring /drivers/net/ring/.* No 581 1.72
pmd_virtio /drivers/net/virtio/.* No 8,476 0.00
pmd_vmxnet3 /drivers/net/vmxnet3/.* No 2,413 0.41
cryptodev /drivers/crypto/* No 43,959 0.43
tmp files /tmp/* Yes 0 N/A
pmd_mlx /drivers/.*mlx.* No 0 N/A
Other .* No 625,785 0.14

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