Coverity Scan: Wireshark

Project Name Wireshark
Lines of code analyzed 5,473,519
On Coverity Scan since Feb 24, 2006
Last build analyzed about 18 hours ago
   
Language C/C++
Repository URL https://gitlab.com/wireshark/wireshark/
Homepage URL https://www.wireshark.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v4.5.0rc0-3372-g6f39460c

Aug 17, 2025
Last Analyzed
5,473,519
Lines of Code Analyzed
5,197,676
Lines of Code in Selected Components
1.26
Defect Density

Defect changes since previous build dated Aug 16, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

19,820
Total defects
6,555
Outstanding
13,075
Fixed
See how defect density for 'Wireshark' 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
Dissectors /epan/dissectors/.* No 32,760 0.15
ccache .*/.ccache/tmp/.* Yes 0 N/A
System includes /usr/include/.* Yes 275,843 N/A
Qt MOC files /ui/qt/moc*.cpp Yes 0 N/A
Qt UIC files .*/ui/qt/ui_.*.h Yes 0 N/A
Qt UI .*/ui/qt/.* No 384,061 0.09
File parsers /wiretap/.* No 10,668 1.41
Utility routines /wsutil/.* No 9 0.00
Other .* No 4,776,143 1.36

CWE Top 25 defects

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