Coverity Scan: Wireshark

Project Name Wireshark
Lines of code analyzed 5,455,026
On Coverity Scan since Feb 24, 2006
Last build analyzed 1 day 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-3142-g8cbe6343

Jul 27, 2025
Last Analyzed
5,455,026
Lines of Code Analyzed
5,179,183
Lines of Code in Selected Components
0.80
Defect Density

Defect changes since previous build dated Jul 26, 2025

2
Newly detected
1
Eliminated

Defects by status for current build

17,760
Total defects
4,155
Outstanding
13,415
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,114 0.03
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 376,657 0.10
File parsers /wiretap/.* No 10,669 1.41
Utility routines /wsutil/.* No 9 0.00
Other .* No 4,763,547 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 114
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