Docs:Processor Stats
Jump to navigation
Jump to search
The following statistics are generated using the 'perlstats' script. The first block of statistics include only pure code:
~/projects/perlstats/perlstats.pl -r -e pl,pm,cgi .
Scanned 13666 lines (598754 characters) in 30 files
Shortest file: 16 lines (./test.pl)
Longest file: 2664 lines (./plugins/HTMLOutputHandler.pm)
Average file length: 455 lines (19958 characters)
Number of functions: 334
Av. functions per file: 11
Minimum function length: 1 lines (./modules/Template.pm::set_error)
Maximum function length: 188 lines (./plugins/HTMLOutputHandler.pm::preprocess)
Average function length: 24 lines
Longest line: 224 characters (./modules/Utils.pm line 32)
Comments: 247964 of 598754 characters (41.41%)
Whitespace: 165900 of 598754 characters (27.71%)
File length histogram
Frequency
.---------------------------------------------------------------
0 | #### (4, 13%)
111 | ##### (5, 16%)
222 | ###### (6, 20%)
333 | ##### (5, 16%)
L 444 | ### (3, 10%)
e 555 | ## (2, 6%)
n 666 | ## (2, 6%)
g 777 | (0, 0%)
t 888 | # (1, 3%)
h 999 | # (1, 3%)
1110 | (0, 0%)
i 1221 | (0, 0%)
n 1332 | (0, 0%)
1443 | (0, 0%)
b 1554 | (0, 0%)
y 1665 | (0, 0%)
t 1776 | (0, 0%)
e 1887 | (0, 0%)
s 1998 | (0, 0%)
2109 | (0, 0%)
2220 | (0, 0%)
2331 | (0, 0%)
2442 | (0, 0%)
2553 | (0, 0%)
2664 | # (1, 3%)
`---------------------------------------------------------------
Function length histogram
Frequency
.---------------------------------------------------------------
0 | ##################################### (74, 22%)
8 | ################################## (69, 20%)
L 16 | ################################# (66, 19%)
i 24 | ##################### (42, 12%)
n 32 | ############ (25, 7%)
e 40 | ####### (14, 4%)
s 48 | ######## (17, 5%)
56 | ## (4, 1%)
p 64 | ### (6, 1%)
e 72 | # (2, 0%)
r 80 | # (3, 0%)
88 | ## (4, 1%)
f 96 | # (2, 0%)
u 104 | # (2, 0%)
n 112 | (0, 0%)
c 120 | (1, 0%)
t 128 | (0, 0%)
i 136 | (1, 0%)
o 144 | (0, 0%)
n 152 | (0, 0%)
160 | (1, 0%)
168 | (0, 0%)
176 | (0, 0%)
184 | (1, 0%)
`---------------------------------------------------------------
Line length histogram (empty lines omitted)
Frequency
.-------------------------------------------------------------
0 | ################################################# (1295, 11%)
10 | ################################ (832, 7%)
20 | ########################################################### (1536, 13%)
30 | ###################################### (1010, 9%)
C 40 | #################################### (940, 8%)
h 50 | #################################### (958, 8%)
a 60 | ################################ (849, 7%)
r 70 | ############################################## (1205, 10%)
s 80 | ################################## (892, 8%)
90 | ################ (428, 3%)
p 100 | ######### (251, 2%)
e 110 | ######## (214, 1%)
r 120 | ####### (187, 1%)
130 | ##### (130, 1%)
l 140 | ## (57, 0%)
i 150 | ## (77, 0%)
n 160 | ## (77, 0%)
e 170 | # (34, 0%)
180 | # (34, 0%)
190 | (13, 0%)
200 | (14, 0%)
210 | (3, 0%)
220 | (1, 0%)
`-------------------------------------------------------------
When the template and language files used by the processor and web interface are included in the statistics, the following values are reported:
~/projects/perlstats/perlstats.pl -r -e pl,pm,cgi,tem,lang .
Scanned 17052 lines (780454 characters) in 158 files
Shortest file: 1 lines (./webui/templates/default/wizardstep.tem)
Longest file: 2664 lines (./plugins/HTMLOutputHandler.pm)
Average file length: 107 lines (4939 characters)
Number of functions: 334
Av. functions per file: 2
Minimum function length: 1 lines (./modules/Template.pm::set_error)
Maximum function length: 188 lines (./plugins/HTMLOutputHandler.pm::preprocess)
Average function length: 24 lines
Longest line: 1406 characters (./webui/lang/en/stages.lang line 10)
Comments: 254259 of 780454 characters (32.58%)
Whitespace: 212212 of 780454 characters (27.19%)
File length histogram
Frequency
.-------------------------------------------------------------
0 | ######################################################### (115, 72%)
111 | ########### (22, 13%)
222 | ### (6, 3%)
333 | ## (5, 3%)
L 444 | # (3, 1%)
e 555 | # (2, 1%)
n 666 | # (2, 1%)
g 777 | (0, 0%)
t 888 | (1, 0%)
h 999 | (1, 0%)
1110 | (0, 0%)
i 1221 | (0, 0%)
n 1332 | (0, 0%)
1443 | (0, 0%)
b 1554 | (0, 0%)
y 1665 | (0, 0%)
t 1776 | (0, 0%)
e 1887 | (0, 0%)
s 1998 | (0, 0%)
2109 | (0, 0%)
2220 | (0, 0%)
2331 | (0, 0%)
2442 | (0, 0%)
2553 | (0, 0%)
2664 | (1, 0%)
`-------------------------------------------------------------
Function length histogram
Frequency
.---------------------------------------------------------------
0 | ##################################### (74, 22%)
8 | ################################## (69, 20%)
L 16 | ################################# (66, 19%)
i 24 | ##################### (42, 12%)
n 32 | ############ (25, 7%)
e 40 | ####### (14, 4%)
s 48 | ######## (17, 5%)
56 | ## (4, 1%)
p 64 | ### (6, 1%)
e 72 | # (2, 0%)
r 80 | # (3, 0%)
88 | ## (4, 1%)
f 96 | # (2, 0%)
u 104 | # (2, 0%)
n 112 | (0, 0%)
c 120 | (1, 0%)
t 128 | (0, 0%)
i 136 | (1, 0%)
o 144 | (0, 0%)
n 152 | (0, 0%)
160 | (1, 0%)
168 | (0, 0%)
176 | (0, 0%)
184 | (1, 0%)
`---------------------------------------------------------------
Line length histogram (empty lines omitted)
Frequency
.------------------------------------------------------------
0 | ########################################################### (8533, 59%)
59 | ################################# (4776, 33%)
118 | ##### (720, 5%)
177 | (123, 0%)
C 236 | (19, 0%)
h 295 | (35, 0%)
a 354 | (12, 0%)
r 413 | (1, 0%)
s 472 | (0, 0%)
531 | (0, 0%)
p 590 | (2, 0%)
e 649 | (0, 0%)
r 708 | (0, 0%)
767 | (0, 0%)
l 826 | (0, 0%)
i 885 | (0, 0%)
n 944 | (0, 0%)
e 1003 | (0, 0%)
1062 | (0, 0%)
1121 | (0, 0%)
1180 | (0, 0%)
1239 | (0, 0%)
1298 | (0, 0%)
1357 | (1, 0%)
`------------------------------------------------------------