File Coverage

test/html/escape.htm
Criterion Covered Total %
statement 371 371 100.0
branch 6 8 75.0
condition n/a
subroutine 7 7 100.0
pod n/a
total 384 386 99.4


line stmt bran cond sub pod time code
1 1     1   12 [- $r = shift -]
  1         3  
  1         201  
  2         8  
2 2         3
  2         4  
3            
4 2     2   6 Some tests for Embperl escaping
  2         6  
  2         30  
5            
6 2         39  
7            
8              
9             Here it starts with some HTML Text

10              
11             First of all assign a value:
12 1     1   7 [- $a = '(this is the value in $a)' -]
  1     1   2  
  1         70  
  1         6  
  1         2  
  1         108  
  2         3  
13 2         4  
  2         4  
14             Now we have some 'Umlaute':
15 2         31  
16              
17 2         4 [- $b = "$a äöüäöü???<\&+ " -]
18 2         3 [- $id = "abcdefghijklmnopqrstuvwxyz" ; $text = "This is a text ? \& + - %21" -]
  2         6  
19 2         3  
  2         4  
  2         4  
20             Now lets look what we are getting from this:
21 2         30 [+ $a +] [+ $b +]
  2         19  
22 2         10  
23 2         35 What is the EscMode? [+ $escmode +]
24 2         57 Let's set the EscMode to [+ $escmode = 3 +]
25 2         33 What is the EscMode now? [+ $escmode +]
26              
27 2         30 Now a Url: Here it goes
28 2         11 A Tag 2: a2
  2         7  
29 2         14 A Tag 3: a3
  2         7  
  2         6  
30 2         7 A Tag 4: a4
  2         8  
  2         7  
31 2         6 A Tag 5: a5
  2         6  
  2         6  
  2         7  
32 2         5 A Tag 6: a6
  2         7  
  2         6  
  2         6  
  2         5  
33 2         6 A Tag 7: x
  2         5  
  2         5  
  2         6  
34 2         8 A Tag 8: x
  2         6  
  2         5  
35 2         4 A Tag 9: x
  2         6  
36 2         3 A Tag 10: x
37 2         5 A Tag 11: x
38 2         5 A Tag 12: x
39 2         4 A Tag 12b: x
40 2         9 A Tag 13: x
41 2         7 A Tag 14: x
  2         6  
42 2         5 FRAME:
  2         7  
  2         7  
43 2         5 IFRAME: