This script visualizes git repository histories by analyzing how many times lines have been changed. Red lines mean they've been changed a lot, white ones barely or not at all after adding. The idea is to use this information for more targeted tests: the lines that are most often edited are probably the ones that contain the most bugs, so tests for these lines might be especially useful.
sudo cpan -i Directory::Iterator::PP
sudo cpan -i Data::Printer
perl visualize_git.pl --repo=DIRECTORY_WITH_GIT_REPO --outdir=DIRECTORY
See the file visualize_git.pl.html
on how the output looks (online-version
here).