Coverity Scan: cado-nfs

Project Name cado-nfs
Lines of code analyzed 357,005
On Coverity Scan since May 28, 2021
Last build analyzed about 9 hours ago
   
Language C/C++
Repository URL https://gitlab.inria.fr/cado-nfs/cado-nfs
Homepage URL https://cado-nfs.gitlabpages.inria.fr/
License LGPL (GNU Library or "Lesser" General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2.3.0-6097-g3c0c6a754

Jul 15, 2025
Last Analyzed
357,005
Lines of Code Analyzed
352,970
Lines of Code in Selected Components
1.10
Defect Density

Defect changes since previous build dated Jul 14, 2025

13
Newly detected
17
Eliminated

Defects by status for current build

1,147
Total defects
388
Outstanding
508
Fixed
See how defect density for 'cado-nfs' 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
polyselect .*/polyselect/.* No 15,723 1.21
sieve .*/sieve/.* No 43,904 3.01
filter .*/filter/.* No 8,813 1.13
square root .*/sqrt/.* No 4,477 2.68
flint .*(?<!tests)/linalg/bwc/flint-fft/(?!transform_interface.[ch]).* Yes 4,035 N/A
utils .*/utils/.* No 64,493 1.35
mpfq .*/linalg/bwc/mpfq/.* No 0 N/A
bw .*/linalg/bwc/.* No 42,755 2.27
linear algebra (other) .*/linalg/.* No 7,574 1.32
embedded fmtlib .*/utils/embedded/fmt/.* Yes 0 N/A
Other .* No 166,554 0.09

CWE Top 25 defects

ID CWE-Name Number of Defects
131 Incorrect Calculation of Buffer Size 2
190 Integer Overflow or Wraparound 36
676 Use of Potentially Dangerous Function 13
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