Measurnig maintainer scripts LOCsAfter some discussions which touched them in various (Debian and non-Debian) mailing lists, I got interested in having a closer look to maintainer scripts. The first question I was asking myself is «how big they are?». As an absolutely empirical, non-scientific test, I hacked a
couple of scripts to graph the distribution of
maintainer script lengths (measured as LOCs). I just run them
on
The obvious (though, I repeat, absolutely empirically obtained) point is that, as expected, most of the scripts are really short, with 1/3 of them being just 7 LOCs. And I guess you can guess (sorry) what the 7 lines are about:
dear old debhelper boilerplate. The longest script, not shown properly in the graph due to my
low gnuplot karma, is 1905 LOCs (and the winner is:
Leave a comment
|

