Analiz...s_batch(3pm)
π NAME π
analizo-metrics-batch β bestie, this one processes a whole pile of source code directories in batch mode, no cap π
β¨ USAGE β¨
analizo metrics-batch [OPTIONS] [<input> [<input> ...]]
π¦ DESCRIPTION π¦
Okay so picture this: you've got a bunch of source code directories and you want them all processed. analizo metrics-batch runs analizo metrics on each one in batch, and if you want, it consolidates every single result into one glorious data file. Iconic behavior honestly π
The way this slays is when you wanna analyze several projects at once, or β my personal fave β several different versions of the same project. You just hand it a list of directories on the command line and each one gets treated as its own separate project. And if you pass no directories at all? No stress, it just goes ahead and analyzes every subdirectory of the current directory. Main character energy fr fr π
Say you wanna process 5 back-to-back releases of myproject, from version 0.1.0 all the way to 0.5.0. Here's the whole vibe:
- First, unpack those release tarballs somewhere, let's say
/tmp/analysis:
$ ls -1 /tmp/analysis
myproject-0.1.0
myproject-0.2.0
myproject-0.3.0
myproject-0.4.0
myproject-0.5.0
- Then
cdinto that directory and runanalizo metrics-batch:
$ cd /tmp/analysis
$ analizo metrics-batch
- And
analizo metrics-batchwill scoop all that metrics data into a single.csvfile, which you can then import into spreadsheet software or statistical packages. Obsessed. π
Also FYI: analizo metrics-batch is part of the analizo suite β it's giving family reunion π«Ά
π OPTIONS π
--parallel N,-p Nβ turns on parallel processing support, using N concurrent worker processes. Bestie, you're usually gonna want N to be less than or equal to the number of CPUs in your machine.
Heads up though! analizo metrics extraction is a CPU-intensive process, so if you set N to be exactly the number of CPUs you have, you might just drag your machine into a completely unusable state. π Don't do that to yourself.
--output <file>,-o <file>β writes the output to <file>. Default is to write tometrics.csv. That file can then be opened in data analysis programs. Slay π--quiet,-qβ suppresses messages to standard output. Silence is golden β¨
πΈ COPYRIGHT AND AUTHORS πΈ
See analizo(1). (iykyk π)
That's the whole thing, bestie π§ β and the tea on the version: this is perl v5.40.1, dated 2025-12-13, from Analiz...s_batch(3pm). Go forth and batch those metrics π
β¨
π¦ where this page comes from
- ubuntu resolute: analizo 1.25.5-3 Β· GPL-3.0-or-later
- ubuntu stonking: analizo 1.25.5-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms