File Coverage

test/html/lists.htm
Criterion Covered Total %
statement 137 173 79.1
branch 40 58 68.9
condition n/a
subroutine 4 4 100.0
pod n/a
total 181 235 77.0


line stmt bran cond sub pod time code
1 1     1   13
  1         3  
  1         233  
2              
3            
4 1     1   2
  1         3  
5             content="text/html; charset=iso-8859-1">
6 1         35 Lists
7            
8              
9            
10              
11 1         3 [- @k = (1, 2, 3, 4, 5, 6) -]
12 1     1   7 [- @v = ('A', 'B', 'C', 'D', 'E', 'F') -]
  1     1   2  
  1         69  
  1         8  
  1         2  
  1         38  
  1         4  
  1         5  
13 1         2

  1         4  
14            
15 1         20

OL Tag

16 1         6
17 7 100       297
  • [+ $k[$row] +] = [+ $v[$row] +]
  •   7         56  
      1         66  
      1         4  
    18 6 50       46
      0         0  
      0         0  
    19              
    20 1         20
    21            

    UL Tag

    22 1         6
    23 7 100       278
  • [+ $k[$row] +] = [+ $v[$row] +]
  •   7         38  
      1         59  
      1         3  
    24 6 50       34
      0         0  
      0         0  
    25              
    26 1         19
    27 1         8
    28            

    Select Tag

    29              
    30             If you request this document with list.htm?sel=n you can specify that the
    31             nth element of the dropdownlist is initialy selected
    32            
    33              
    34 1         2

      1         3  
    35 1 100       6
      7         33  
      1         74  
      1         2  
    36 7 100       232

      6 50       39  
      0         0  
      0         0  
    37 6         147
    38 6 50       39  
      0         0  
      0         0  
    39              
    40 1         4
    41 1         19

    Select Tag

    42              
    43             If you request this document with list.htm?sel1=x you can specify that the
    44             element of the dropdownlist is initialy selected
    45            
    46              
    47 1         2

      1         2  
    48 1 100       10
      7         30  
      1         56  
      1         3  
    49 7         219

      6         198  
    50 6 50       35
      0         0  
      0         0  
    51              
    52 1         5
    53 1         18

    Select Tag

    54              
    55             If you request this document with list.htm?sel2=x you can specify that the
    56             element of the dropdownlist is initialy selected
    57            
    58              
    59 1         2

      1         2  
    60 1 100       5
      7         32  
      1         53  
      1         4  
    61 7 50       206
      6         207  
      6         22  
      0         0  
      0         0  
    62 6 50       30
      0 50       0  
      0         0  
      6         111  
      6         22  
      0         0  
      0         0  
    63 6 50       28

      0         0  
      0         0  
      6         109  
    64 6 50       33

      0         0  
      0         0  
      1         3  
      1         2  
    65 1 100       5
      7         31  
      1         54  
      1         2  
    66 7 50       240
      6         139  
      6         23  
      0         0  
      0         0  
    67 1 50       17
      6 50       30  
      0         0  
      0         0  
      6         124  
      6         22  
      0         0  
      0         0  
    68 6 50       29

      0         0  
      0         0  
      6         125  
    69 6 50       34

      0         0  
      0         0  
      1         2  
      1         3  
    70 1         32
    71 1         17
      1         20  
    72 1         19
      1         22  
    73 1         19
    74 1         20
    75 1         48
    76            

    77 1         20
    78              
    79              
    80              
    81            
    82            

    DL Tag

    83 1         7
    84 7 100       229
    [+ $k[$row] +]
      7         67  
      1         52  
      1         2  
    85 6 50       29
    [+ $v[$row] +]
      0         0  
      0         0  
    86            
    87 1         17  
    88            
    89            

    MENU Tag

    90 1         5
    91 7 100       212
  • [+ $k[$row] +] = [+ $v[$row] +]
  •   7         32  
      1         57  
      1         3  
    92 6 50       28
      0         0  
      0         0  
    93              
    94 1         20
    95            

    DIR Tag

    96 1         5
    97 7 100       230
  • [+ $k[$row] +] = [+ $v[$row] +]
  •   7         31  
      1         56  
      1         4  
    98 6 50       35
      0         0  
      0         0  
    99              
    100 1         17  
    101 1         3 [- $articles = [ 'one', 'two' ] -]
    102 1         2
      1         5  
      1         7  
    103 3 100       86 [- $dn = $articles->[$row]; -]
      3         6  
      3         5  
    104 1         21
  • [+ uc($dn) +]
  •   3         13  
      2         16  
    105 1         52
      1         2  
      2         6  
    106 2         36  
      2         16  
    107              
    108 1         19  
    109            
    110 1         2