Coverity Scan: Wireshark

Project Name Wireshark
Lines of code analyzed 5,445,769
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.5.0rc0-2959-g4c79f89e

Jul 10, 2025
Last Analyzed
5,445,769
Lines of Code Analyzed
5,173,122
Lines of Code in Selected Components
0.81
Defect Density

Defect changes since previous build dated Jul 08, 2025

19
Newly detected
17
Eliminated

Defects by status for current build

17,739
Total defects
4,171
Outstanding
13,378
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 30,102 0.03
ccache .*/.ccache/tmp/.* Yes 0 N/A
System includes /usr/include/.* Yes 272,647 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 374,707 0.10
File parsers /wiretap/.* No 10,669 1.41
Utility routines /wsutil/.* No 9 0.00
Other .* No 4,757,699 0.86

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