Coverity Scan: MariaDB

Project Name MariaDB
Lines of code analyzed 1,796,726
On Coverity Scan since Feb 04, 2013
Last build analyzed a while ago
   
Language C/C++
Secondary Language Java
Repository URL https://github.com/MariaDB/server
Homepage URL mariadb.org
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 10.4

Mar 08, 2023
Last Analyzed
1,796,726
Lines of Code Analyzed
1,651,861
Lines of Code in Selected Components
1.05
Defect Density

Defect changes since previous build dated Jan 18, 2023

43
Newly detected
94
Eliminated

Defects by status for current build

3,675
Total defects
1,734
Outstanding
1,891
Fixed
See how defect density for 'MariaDB' 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
ndb /storage/ndb/.* Yes 0 N/A
readline /cmd-line-utils/readline/.* Yes 0 N/A
handlersocket /plugin/handler_socket/.* Yes 3,997 N/A
cassandra /storage/cassandra/.* Yes 0 N/A
mroonga /storage/mroonga/.* Yes 0 N/A
tokudb /storage/tokudb/.* Yes 0 N/A
connect /storage/connect/.* Yes 5,131 N/A
spider /storage/spider/.* Yes 76,214 N/A
ColumnStore /storage/columnstore/.* Yes 0 N/A
RocksDB /storage/rocksdb/.* Yes 0 N/A
oqgraph /storage/oqgraph/.* Yes 0 N/A
libmariadb /libmariadb/.* Yes 48,450 N/A
Galera /wsrep-lib/.* Yes 11,073 N/A
InnoDB /storage/innobase/.* No 187,497 0.89
Other .* No 1,461,444 0.91

CWE Top 25 defects

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