Coverity Scan: Wireshark

Project Name Wireshark
Lines of code analyzed 5,417,487
On Coverity Scan since Feb 24, 2006
Last build analyzed 3 days 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-1075-g516ba22c

Dec 02, 2025
Last Analyzed
5,417,487
Lines of Code Analyzed
5,141,633
Lines of Code in Selected Components
1.27
Defect Density

Defect changes since previous build dated Nov 30, 2025

2
Newly detected
2
Eliminated

Defects by status for current build

20,085
Total defects
6,510
Outstanding
13,385
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,818 0.15
ccache .*/.ccache/tmp/.* Yes 0 N/A
System includes /usr/include/.* Yes 275,854 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,595 0.12
File parsers /wiretap/.* No 10,679 1.40
Utility routines /wsutil/.* No 9 0.00
Other .* No 4,770,923 1.35

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