Code Statistics plugin

From Code::Blocks
Revision as of 00:59, 7 August 2008 by Elzorro (talk | contribs) (New page: Category: Code::Blocks Contrib Plugins __NOTOC__ {{Infobox_Plugin| name = Code Statistics | logo = Image:Generic-plugin.png | developer = Zlika | maintainer ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Code Statistics
Generic-plugin.png
Developer(s): Zlika
Maintainer(s): Zlika
Version:

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.