Re: [PATCH 1/1] scripts: add a graph generator based on checkpatch reports

From: Joe Perches
Date: Sun Nov 23 2014 - 15:27:54 EST


On Sat, 2014-11-22 at 21:56 +0100, Fabian Frederick wrote:
> This script generates a graph based on errors/warnings/checks detected
> by checkpatch -f recursively on each files of a directory.
> Results are grouped by subfolders and pushed in gnuplot datasets.

Why is this useful?

Ingo's badly named script does something similar:
http://people.redhat.com/mingo/x86.git/code-quality

just without the plots.

btw: this line:

$files = `find $statdir -name "*.c"`;

should probably be

$files = `git ls-files -- "$statdir/*.[ch]"`;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/