Branch Coverage

blib/lib/HTML/Clean.pm
Criterion Covered Total %
branch 52 94 55.3


line true false branch
91 10 0 if ($self->initialize($data)) { }
93 10 0 unless $level
123 1 12 unless $data
126 4 8 if (ref $data)
132 0 8 if ($data =~ /\n/)
137 8 0 if (-f $data)
140 0 8 unless sysopen IN, "$data", 0
162 12 0 if (defined $level and $level > 0 and $level < 10)
189 0 174 if /^$]is
197 0 162 if /navigator\.app(name|version)/is
200 1 161 if /[A-z0-9]+\:[A-z0-9]+\s*\{.*\}/is
215 7 5 if ($js =~ /