Analizo(3pm)

πŸ“¦
version 1.25.5 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– analizo β€” the manual, but make it a group chat πŸ’–

okay bestie, pull up a chair because we're talking about analizo, a.k.a. the multi-language source code analysis toolkit πŸŽ€ (it's from the Analizo(3pm) page in your User Contributed Perl Documentation, iykyk ✨)


πŸ“– NAME

analizo β€” multi-language source code analysis toolkit. that's it, that's the name, she's simple, she's iconic πŸ’…


πŸš€ USAGE

here's how you summon her:

  analizo <tool> [tool-options] <toolargs> [<tool-args> ...]
  analizo <option>

literally just pick a tool, throw your options at it, and let her cook πŸ“


✨ DESCRIPTION

so analizo is a whole suite of source code analysis tools, and the vibe is: language-independent and extensible 🌈. the analizo program itself? she's a wrapper β€” the tools do the real work, so like, most of the time you're actually using one specific tool out of the bunch. the wrapper is just the girlboss holding the clipboard πŸ“‹. check out TOOLS below for the deets, bestie 🫢


πŸ› οΈ TOOLS

analizo has several individual tools that all share one core infrastructure 🧚 but they do different analysis and produce different output β€” same mother, different daughters πŸ’œ. you normally invoke them like:

  analizo <tool> [tool-options] <toolargs> [<tool-args> ...]

okay so technically you can run these tools against one file or a few files inside a project, but lowkey that's not the moment β€” normally it only makes sense to run it against the entire source tree (like, passing . or ./src as input directories, no cap 🫑).

the options and the output are specific to each tool, so pls pls pls go read the manual for whichever tool(s) you actually want, don't just assume πŸ’€.

oh and β€” run analizo with no command line arguments at all and it'll show you the list of available tools. free menu, no cover charge πŸ‘‘


πŸ’« OPTIONS

these are the options for the wrapper analizo script. the options for each individual tool live in that tool's own manual page, so don't get it twisted πŸ’…

  • --version, -v β€” shows you the version information and then exits, like a polite queen bowing out πŸ‘‘
  • --help, -h β€” displays the manpage for the analizo script, or for any analizo tool. one flag, all the lore πŸ“š
  • --usage β€” shows you the only usage of the named tool, instead of displaying its manpage. short and sweet, the "just the specs, thanks" option ⭐

πŸŽ€ CONFIGURATION FILE

bestie. she's configurable. and it's per-project πŸ¦‹

you do it with a file called .analizo sitting in the current directory. the syntax goes like this: one line per tool, and 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'll load .analizo and act like the options written in there were actually passed to it on the command line 😳 (spooky, right? iconic.)

‼️ but listen β€” options you type on the command line will override any options in configuration files. command line stays the main character πŸ‘‘

Example, because examples are everything:

  metrics: --language cpp
  graph: --modules

you can stash a file like that in the root directory of your project and just live there 🌸. every time you run analizo metrics from that directory, it'll only consider C++ code. and when you run analizo graph from that same directory, it'll use the --modules option. set it and forget it, fr fr ✨


πŸ“œ HISTORY

okay storytime, gather round 🧚

Analizo started out as a modified version of egypt, by Andreas Gustafsson (available at http://www.gson.org/egypt/ as of the time this is being written β€” so like, at the time of writing, okay? don't come for me). but then so many features got added (and removed) that at some point during October 2009 it genuinely felt like it wasn't egypt anymore, and a new name was needed 😌. the project was then renamed to Analizo, which means "analysis" in Esperanto. love a glow-up with linguistic flair πŸ’–

she was also relicensed under the GPL version 3. and this relicensing was possible because the license of the original egypt allows that: "the same terms as Perl itself" means either the Artistic License or the GPL version 1 or later. receipts kept, paperwork immaculate πŸ“„βœ¨


  Copyright (c) 1994-2006 Andreas Gustafsson
  Copyright (c) 2008-2010 Antonio Terceiro
  Copyright (c) 2014-2021 Joenio Marques da Costa

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 πŸ’œ


πŸ‘‘ AUTHORS

Andreas Gustafsson wrote the original version of analizo. since them several people contributed to analizo's development πŸ™Œ. see the AUTHORS file for a complete list β€” and yes bestie, go actually read it, credit is due 🫢


anyway, that's the whole page, no skips, no skimming, we ate and left no crumbs πŸ’… this one came to you from perl v5.40.1, dated 2025-12-13 β€” so like, if you're reading this in the future, hi, you're doing amazing, and Analizo(3pm) says mwah πŸ˜˜πŸ’–βœ¨

πŸ“¦ where this page comes from