Branch Coverage

blib/lib/WebEditor/OldFeatures/MakeHTML.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
25 0 0 if ($p)
26 0 0 if ($p->is_site and defined $p->IndexDoc and $p->IndexDoc eq $mainid) { }
0 0 elsif ($p->is_folder and defined $p->IndexDoc and $p->IndexDoc eq $mainid) { }
41 0 0 if (-e $c->paths->site_templatebase . "/$printtemplate")
47 0 0 unless open HTML, ">$tmpfile"
52 0 0 if (File::Compare::compare($phtmlfile, $tmpfile) == 0) { }
58 0 0 unless rename $tmpfile, $phtmlfile
63 0 0 if (defined $htmlfile)
66 0 0 unless open HTML, ">$tmpfile"
71 0 0 if (File::Compare::compare($htmlfile, $tmpfile) == 0) { }
76 0 0 unless rename $tmpfile, $htmlfile