Coverity Scan: kicad

Project Name kicad
Lines of code analyzed 2,833,619
On Coverity Scan since Dec 03, 2014
Last build analyzed about 14 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: 10.99.0-6787-g7f673eeac3e-dirt...

Nov 19, 2026
Last Analyzed
2,833,619
Lines of Code Analyzed
1,857,052
Lines of Code in Selected Components
0.79
Defect Density

Defect changes since previous build dated Nov 17, 2026

35
Newly detected
14
Eliminated

Defects by status for current build

9,411
Total defects
1,466
Outstanding
7,518
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 355,715 1.47
pcbnew-swig .*/pcbnew/pcbnew_wrap.* Yes 0 N/A
pcbnew-swig2 .*/pcbnew/scripting/pcbnewPYTHON_wrap.* Yes 0 N/A
pcbnew .*/pcbnew/.* No 528,768 0.95
3d-viewer .*/3d-viewer/.* No 37,335 0.35
cvpcb .*/cvpcb/.* No 3,961 0.00
bitmap2component .*/bitmap2component/.* No 0 N/A
utils .*/utils/.* No 1,751 0.00
common .*/common/.* No 467,759 0.62
pcb_calculator .*/pcb_calculator/.* No 14,294 0.14
kicad .*/kicad/.* No 26,047 1.50
gerbview .*/gerbview/.* No 16,415 0.18
page_layout_editor .*/page_layout_editor/.* No 0 N/A
libs .*/libs/.* No 46,052 0.52
plugins .*/plugins/.* No 16,927 0.24
qa .*/qa/.* No 20,526 2.39
system-include /usr/include/.* Yes 643,891 N/A
third-party .*/thirdparty/.* Yes 332,676 N/A
Other .* No 328,446 0.06

CWE Top 25 defects

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