Coverity Scan: Wireshark

Project Name Wireshark
Lines of code analyzed 5,417,330
On Coverity Scan since Feb 24, 2006
Last build analyzed about 16 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.7.0rc0-1292-ge5a796d9

Dec 16, 2025
Last Analyzed
5,417,330
Lines of Code Analyzed
5,141,473
Lines of Code in Selected Components
1.22
Defect Density

Defect changes since previous build dated Dec 14, 2025

51
Newly detected
57
Eliminated

Defects by status for current build

19,998
Total defects
6,264
Outstanding
13,544
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,826 0.12
ccache .*/.ccache/tmp/.* Yes 0 N/A
System includes /usr/include/.* Yes 275,857 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 327,944 0.09
File parsers /wiretap/.* No 10,679 1.40
Utility routines /wsutil/.* No 9 0.00
Other .* No 4,770,367 1.30

CWE Top 25 defects

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