Messages in this thread | | | Subject | Re: [PATCH 1/1] scripts: add a graph generator based on checkpatch reports | From | Joe Perches <> | Date | Sun, 23 Nov 2014 12:27:26 -0800 |
| |
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]"`;
| |