Branch Coverage

blib/lib/System/InitD/Template.pm
Criterion Covered Total %
branch 5 14 35.7


line true false branch
36 0 0 unless ($params{'file'} or $params{'handle'} or $params{'text'})
40 0 1 if ($params{'render_params'} and ref $params{'render_params'} ne 'HASH')
49 1 0 if ($params{'file'}) { }
0 0 elsif ($params{'handle'}) { }
61 0 364 unless $$render_params{$key}
82 0 1 unless (-e $file)
88 0 1 unless open $fh, $file