Coverity Scan: mantidproject/mantid

Project Name mantidproject/mantid
Lines of code analyzed 1,799,663
On Coverity Scan since Mar 20, 2013
Last build analyzed about 6 hours 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

Jun 29, 2026
Last Analyzed
1,799,663
Lines of Code Analyzed
733,804
Lines of Code in Selected Components
2.88
Defect Density

Defect changes since previous build dated Jun 27, 2026

0
Newly detected
1
Eliminated

Defects by status for current build

7,641
Total defects
2,110
Outstanding
5,276
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,874 3.59
QtPropertyBrowser .*/QtPropertyBrowser/.* No 18,402 0.60
Qt widgets .*/qt/widgets/.* No 107,534 1.13
Qt Scientific Interfaces .*/qt/scientific_interfaces/.* No 66,051 2.45
conda */mambaforge/* Yes 0 N/A
SIP generated */sip-generated/* Yes 102,856 N/A
Qt icons .*/qt/icons/.* No 36,083 0.03
Qt Python .*/qt/python/mantidqt/sip/.* No 472 10.59
pixi */.pixi/envs/default/* Yes 963,003 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