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 projectVersion: 10.4
Line of Code (LOC) | Defect Density |
---|---|
Less than 100,000 | 0.35 |
100,000 to 499,999 | 0.5 |
500,000 to 1 million | 0.7 |
More than 1 million | 0.65 |
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.
Note: Defect density is measured by the number of defects per 1,000 lines of code.
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 |
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 |
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