Coverity Scan: kicad

Project Name kicad
Lines of code analyzed 2,759,793
On Coverity Scan since Dec 03, 2014
Last build analyzed about 11 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-5680-gdec0a10ab19-dirt...

Oct 21, 2026
Last Analyzed
2,759,793
Lines of Code Analyzed
1,784,729
Lines of Code in Selected Components
0.63
Defect Density

Defect changes since previous build dated Oct 20, 2026

5
Newly detected
0
Eliminated

Defects by status for current build

9,001
Total defects
1,123
Outstanding
7,452
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 343,190 1.33
pcbnew-swig .*/pcbnew/pcbnew_wrap.* Yes 0 N/A
pcbnew-swig2 .*/pcbnew/scripting/pcbnewPYTHON_wrap.* Yes 0 N/A
pcbnew .*/pcbnew/.* No 505,931 0.87
3d-viewer .*/3d-viewer/.* No 37,258 0.30
cvpcb .*/cvpcb/.* No 3,957 0.00
bitmap2component .*/bitmap2component/.* No 0 N/A
utils .*/utils/.* No 1,751 0.00
common .*/common/.* No 434,908 0.27
pcb_calculator .*/pcb_calculator/.* No 14,295 0.14
kicad .*/kicad/.* No 26,087 0.80
gerbview .*/gerbview/.* No 16,396 0.18
page_layout_editor .*/page_layout_editor/.* No 0 N/A
libs .*/libs/.* No 45,668 0.53
plugins .*/plugins/.* No 16,923 0.24
qa .*/qa/.* No 19,320 1.76
system-include /usr/include/.* Yes 641,632 N/A
third-party .*/thirdparty/.* Yes 333,432 N/A
Other .* No 320,286 0.05

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 48
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