About

Analizo is a multi-language source code analysis toolkit. It  parses source code in multiple languages and report useful information about it, such as module dependency, source code metrics and more.

Analizo uses doxyparse to parse the source code, and is currently tested and expected to work well with C, C++ and Java source code.

Workflow

Analizo uses the Doxygen multi-language interpretation resource. Once the source-code representation is complete, Doxyparse obtains the information and reports them. Afterwards, Analizo calculates the metrics based on this data.

Development State

Calculates the following metrics per Module/Class:

  • LOC: Total Lines of Code
  • AMZ_SIZE: Average Lines per Method
  • LCOM: Lack of Cohesion
  • CBO: Coupling between Objects
  • Afferent Connections
  • DIT: Depth of Inheritance Tree
  • NoC: Number of Children
  • RFC: Response for Class
  • Number of Public Methods
  • Number of Public Variables

Summary for all Modules/Classes:

  • Total Number of Modules
  • Total of LOC
  • Total Number of Functions
  • Total Number of Public Functions
  • Average CBO
  • Average LCO
  • COF: Coupling Factor

Installation

Debian package

Add the following line to your /etc/apt/sources.list:

deb http://app.dcc.ufba.br/~terceiro/analizo/ ./


Then do:

$ wget -q -O - http://app.dcc.ufba.br/~terceiro/analizo/signing-key.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install analizo

From sources

See the HACKING file for instructions on how to install analizo's dependencies. You neeed to install the dependencies before installing analizo.

Download analizo tarball, extract it and run the following commands inside the analizo-x.y.z directory:

$ perl Makefile.PL
$ make
$ sudo make install

Source Code

http://github.com/terceiro/analizo

analizo-utils: tools for large scale source code analysis

Sometimes you'll want to run analizo against several projects at once, or even against the entire history of a project using its version control repository. For that we have been working on analizo-utils, a package that contains some utility scripts to be used together with analizo for performing this type of large-scale analysis.

Copyright

  • Copyright (c) 1994-2006 Andreas Gustafsson
  • Copyright (c) 2008-2009 Antonio Terceiro

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.