File Coverage

test/html/heredoc.htm
Criterion Covered Total %
statement 23 23 100.0
branch 1 2 50.0
condition n/a
subroutine 5 5 100.0
pod n/a
total 29 30 96.6


line stmt bran cond sub pod time code
1 1     1   10 [-
  1         3  
  1         207  
  1         2  
2 1         2 sub error_check {
3 1 50   1   15 $error = <<END if ($units == 0);
4 1     1   3 To Create a duplicate entry you must first fill in the units field.
  1         2  
5             END
6 1         16 }
7              
8             -]
9            
10 1         14 HELLO
11 1         2 [- error_check -]
12 1     1   6 [+ $error +]
  1     1   3  
  1         63  
  1         5  
  1         2  
  1         29  
  1         2  
  1         2  
  1         8  
13