Coverity Scan: mantidproject/mantid

Project Name mantidproject/mantid
Lines of code analyzed 1,799,554
On Coverity Scan since Mar 20, 2013
Last build analyzed 1 day ago
   
Language C/C++
Repository URL git://github.com/mantidproject/mantid.git
Homepage URL www.mantidproject.org
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: refs/heads/main

Jul 03, 2026
Last Analyzed
1,799,554
Lines of Code Analyzed
719,145
Lines of Code in Selected Components
2.95
Defect Density

Defect changes since previous build dated Jul 01, 2026

37
Newly detected
32
Eliminated

Defects by status for current build

7,647
Total defects
2,123
Outstanding
5,281
Fixed
See how defect density for 'mantidproject/mantid' 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
Framework .*/Framework/.* No 503,786 3.58
QtPropertyBrowser .*/QtPropertyBrowser/.* No 17,485 0.80
Qt widgets .*/qt/widgets/.* No 103,712 1.28
Qt Scientific Interfaces .*/qt/scientific_interfaces/.* No 65,677 2.48
conda */mambaforge/* Yes 0 N/A
SIP generated */sip-generated/* Yes 96,606 N/A
Qt icons .*/qt/icons/.* No 35,900 0.03
Qt Python .*/qt/python/mantidqt/sip/.* No 472 10.59
pixi */.pixi/envs/default/* Yes 983,803 N/A
Other .* No 1,388 1.44

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 4
190 Integer Overflow or Wraparound 31
676 Use of Potentially Dangerous Function 8
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