Coverity Scan: OpenSC/OpenSC

Project Name OpenSC/OpenSC
Lines of code analyzed 212,349
On Coverity Scan since Jan 24, 2015
Last build analyzed 19 days ago
   
Language C/C++
Repository URL https://github.com/OpenSC/OpenSC.git
Homepage URL https://github.com/OpenSC/OpenSC
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: 3f24f0b48a481a8cf2e46059d8238a...

Jan 26, 2026
Last Analyzed
212,349
Lines of Code Analyzed
174,802
Lines of Code in Selected Components
0.03
Defect Density

Defect changes since previous build dated Jan 25, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

693
Total defects
6
Outstanding
659
Fixed
See how defect density for 'OpenSC/OpenSC' 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
common .*/src/common/.* No 2,294 0.00
libopensc .*/src/libopensc/.* No 86,903 0.03
pkcs15init .*/src/pkcs15init/.* No 18,198 0.05
scconf .*/src/scconf/.* No 1,142 0.00
pkcs11 .*/src/pkcs11/.* No 18,691 0.05
tools .*/src/tools/.* No 31,913 0.03
libsm .*/src/libsm/.* No 0 N/A
smm .*/src/smm/.* No 1,522 0.00
minidriver .*/src/minidriver/.* No 0 N/A
tests .*/tests/.* No 10,438 0.00
system header /usr/.* Yes 37,547 N/A
Other .* No 3,713 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 1
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