Analizo3pm
Multi-language source code analysis toolkit
Usage
analizo <tool> [tool-options] <toolargs> [<tool-args> ...]analizo <option>
Overview
analizo is a suite of source code analysis tools, aimed at being language-independent and extensible. The 'analizo' program is a wrapper for the analizo tools, which do the real work, so most of the time you'll be using one specific tool among the available ones. See TOOLS below for more information.
Tools
analizo has several individual tools that share a core infrastructure, but do different analysis and produce different output. They are normally invoked like this:
analizo <tool> [tool-options] <tool-args> [<tool-args> ...]
Although you can invoke analizo tools against one or few files inside a project, normally it only makes sense to run it against the entire source tree (e.g. passing "." or "./src" as input directories).
The options and output are specific to each tool, so make sure to read the corresponding manual for the tool(s) you want.
Run analizo without any command line arguments to see the list of available tools.
Options
The following are the options for the wrapper analizo script. The options for each tools are documented in the respective tool's manual page.
-
--version, -v -
Displays version information and exits.
-
--help, -h -
Displays the manpage for the 'analizo' script or any analizo 'tool'.
-
--usage -
Displays the only usage of the named tool, instead of display its manpage.
Configuration file
Analizo can be configured in a per-project way by means of a file called .analizo in the current directory. The syntax for this file is: one line per tool, each line has the tool name, a colon and one or more command line options:
<tool-name>: OPTIONS
When you run an analizo tool from inside that directory, it will load .analizo and act as if the options specified there were actually passed to it in the command line. Note that options in the command line will override any options in configuration files, though.
Example:
metrics: --language cppgraph: --modules
You can store a file like that in the root directory of your project. Every time you run analizo metrics from that directory, it will only consider C++ code. When you run analizo graph from that directory it will use the --modules option.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.