Coverity Scan: kicad

Project Name kicad
Lines of code analyzed 1,739,568
On Coverity Scan since Dec 03, 2014
Last build analyzed 1 day 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: 8.99.0-1907-gc0d8d87364-dirty

Jul 26, 2024
Last Analyzed
1,739,568
Lines of Code Analyzed
866,703
Lines of Code in Selected Components
2.54
Defect Density

Defect changes since previous build dated Jul 25, 2024

2
Newly detected
1
Eliminated

Defects by status for current build

6,741
Total defects
2,198
Outstanding
4,461
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 174,424 2.14
pcbnew-swig .*/pcbnew/pcbnew_wrap.* Yes 189,938 N/A
pcbnew-swig2 .*/pcbnew/scripting/pcbnewPYTHON_wrap.* Yes 0 N/A
pcbnew .*/pcbnew/.* No 241,436 1.60
3d-viewer .*/3d-viewer/.* No 30,299 0.76
cvpcb .*/cvpcb/.* No 3,924 2.55
bitmap2component .*/bitmap2component/.* No 1,747 0.00
utils .*/utils/.* No 13,234 0.30
common .*/common/.* No 234,376 0.79
pcb_calculator .*/pcb_calculator/.* No 14,380 0.56
kicad .*/kicad/.* No 13,751 2.04
gerbview .*/gerbview/.* No 13,968 1.86
page_layout_editor .*/page_layout_editor/.* No 0 N/A
libs .*/libs/.* No 23,648 1.14
plugins .*/plugins/.* No 14,217 0.00
qa .*/qa/.* No 4,993 1.20
system-include /usr/include/.* Yes 574,137 N/A
third-party .*/thirdparty/.* Yes 108,790 N/A
Other .* No 82,326 0.39

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