Coverity Scan: kicad

Project Name kicad
Lines of code analyzed 1,928,306
On Coverity Scan since Dec 03, 2014
Last build analyzed about 2 hours ago
   
Language C/C++
Repository URL https://gitlab.com/kicad/code/kicad
Homepage URL http://www.kicad.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 9.99.0-180-g5027a562e4-dirty

Feb 27, 2025
Last Analyzed
1,928,306
Lines of Code Analyzed
1,024,663
Lines of Code in Selected Components
2.48
Defect Density

Defect changes since previous build dated Feb 26, 2025

4
Newly detected
1
Eliminated

Defects by status for current build

7,802
Total defects
2,546
Outstanding
5,174
Fixed
See how defect density for 'kicad' 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
eeschema .*/eeschema/.* No 180,785 2.70
pcbnew-swig .*/pcbnew/pcbnew_wrap.* Yes 207,868 N/A
pcbnew-swig2 .*/pcbnew/scripting/pcbnewPYTHON_wrap.* Yes 0 N/A
pcbnew .*/pcbnew/.* No 269,663 1.92
3d-viewer .*/3d-viewer/.* No 30,607 0.88
cvpcb .*/cvpcb/.* No 3,928 3.05
bitmap2component .*/bitmap2component/.* No 1,707 0.00
utils .*/utils/.* No 13,236 0.30
common .*/common/.* No 270,741 0.99
pcb_calculator .*/pcb_calculator/.* No 14,379 0.07
kicad .*/kicad/.* No 16,738 1.67
gerbview .*/gerbview/.* No 14,504 1.79
page_layout_editor .*/page_layout_editor/.* No 0 N/A
libs .*/libs/.* No 25,882 1.39
plugins .*/plugins/.* No 14,226 0.14
qa .*/qa/.* No 5,224 1.53
system-include /usr/include/.* Yes 588,496 N/A
third-party .*/thirdparty/.* Yes 107,279 N/A
Other .* No 163,328 0.27

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 33
676 Use of Potentially Dangerous Function 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