File Coverage

test/html/keepspaces.htm
Criterion Covered Total %
statement 58 60 96.6
branch 4 8 50.0
condition n/a
subroutine 8 8 100.0
pod n/a
total 70 76 92.1


line stmt bran cond sub pod time code
1 1     1   13 1
  1         2  
  1         151  
2             2
3             3
4 1     1   4 [$if 1 $]4
  1         2  
  1         2  
5 1         20 5
6 1         22 [$endif$] 6
7 1         24 7 [+ 7.1 +] 7.2
  1         18  
8 1         26 8
9             [$sub foo $]
10 2     2   102  
11 2         2 foo2 [$if 0 $] foo2.1 [$endif$] foo2.2
12 1     1   5  
  1     1   1  
  1         51  
  1         4  
  1         3  
  1         27  
13             [$endsub$]
14 2         46  
15 2 50   2   3 after sub foo
  2 50       89  
  2         4  
  2         7  
  0         0  
  2         6  
  2         178  
  2         10  
16              
17 1         3 call sub foo [- foo -] more text
18 1         4  
  1         4  
19             call sub foo 2
20 1         18  
21 1         2 [- foo -]
22 1         2  
  1         5  
23             more text 2
24 1         20  
25 1         23  
26             [$sub bar$]inbar[$endsub$]
27 2     2   99  
28 2 50   2   43  
  2 50       99  
  2         5  
  2         5  
  0         0  
  2         7  
  2         138  
  2         9  
29 1         3 call sub bar [- bar -] after call to bar
30 1         2  
  1         2  
31             call sub bar 2
32 1         20  
33 1         2 [- bar -]
34 1         3  
  1         4  
35             after call to bar 2
36 1         22  
37 1         6 [$foreach $i (1..5) $]
38 5         134 # new line [+ $i +]
  5         28  
39             [$endforeach$]
40 1         30  
41              
42 1         5