Analiz...s_batch(3pm)

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

πŸ’– 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 cd into that directory and run analizo metrics-batch:
$ cd /tmp/analysis
$ analizo metrics-batch
  • And analizo metrics-batch will scoop all that metrics data into a single .csv file, 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 to metrics.csv. That file can then be opened in data analysis programs. Slay πŸ’œ
  • --quiet, -q β€” suppresses messages to standard output. Silence is golden ✨

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