Coverity Scan: mantidproject/mantid

Project Name mantidproject/mantid
Lines of code analyzed 1,816,308
On Coverity Scan since Mar 20, 2013
Last build analyzed 2 days 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

Oct 09, 2026
Last Analyzed
1,816,308
Lines of Code Analyzed
734,751
Lines of Code in Selected Components
2.87
Defect Density

Defect changes since previous build dated Oct 07, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

7,725
Total defects
2,111
Outstanding
5,368
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 506,823 3.53
QtPropertyBrowser .*/QtPropertyBrowser/.* No 17,480 0.80
Qt widgets .*/qt/widgets/.* No 103,791 1.28
Qt Scientific Interfaces .*/qt/scientific_interfaces/.* No 69,033 2.42
conda */mambaforge/* Yes 0 N/A
SIP generated */sip-generated/* Yes 97,248 N/A
Qt icons .*/qt/icons/.* No 35,902 0.00
Qt Python .*/qt/python/mantidqt/sip/.* No 386 12.95
pixi */.pixi/envs/default/* Yes 984,309 N/A
Other .* No 1,405 1.42

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