Difference between revisions of "Code Statistics plugin"

From Code::Blocks
(New page: Category: Code::Blocks Contrib Plugins __NOTOC__ {{Infobox_Plugin| name = Code Statistics | logo = Image:Generic-plugin.png | developer = Zlika | maintainer ...)
 
 
Line 3: Line 3:
 
{{Infobox_Plugin|
 
{{Infobox_Plugin|
 
   name = Code Statistics |
 
   name = Code Statistics |
   logo = [[Image:Generic-plugin.png]] |
+
   logo = [[File:Codestats.png]] |
 
   developer = [[User:Zlika|Zlika]] |
 
   developer = [[User:Zlika|Zlika]] |
 
   maintainer = Zlika |
 
   maintainer = Zlika |
   version =  
+
   version = 0.5
 
}}
 
}}
 
== Introduction ==
 
== Introduction ==

Latest revision as of 23:34, 26 August 2011


Code Statistics
Codestats.png
Developer(s): Zlika
Maintainer(s): Zlika
Version: 0.5

Introduction

Analizes the source code files of the current project and generates statistics.

The statistics generated are:

  • Number of files
  • Number of lines
  • Number and percentage of blank lines
  • Number and percentage of comment lines
  • Number and percentage of code lines
  • Number and percentage of lines that have mixed code and comments

Features

  • Source code analisis for multiple languages
  • Configuration dialog

Usage

Image 1. Statistics Window

Analizing a Project

Activate the project you want to analize and then got to the menu Plugins\Code Statistics.

Image 1 shows a screenshot of the window that appears. In that image you can see that the analized project is small and poorly documented, because only 5 percent of the lines have comments.

Plugin Configuration

To add/remove/edit languages analized by the plugin go to the menu Settings\Editor. There select the section Code statistics settings and change the parameters according to your needs.