Branch Coverage

blib/lib/Toader/Render/General.pm
Criterion Covered Total %
branch 0 592 0.0


line true false branch
82 0 0 if (defined $_[1])
146 0 0 if (defined $args{'toDir'})
151 0 0 if (defined $args{'fullURL'})
156 0 0 unless (defined $args{'toader'})
163 0 0 if (ref $args{'toader'} ne 'Toader')
170 0 0 unless ($args{'toader'}->errorblank)
181 0 0 unless (defined $args{'obj'})
188 0 0 unless ($self->{'soc'}->isSupported($args{'obj'}))
195 0 0 unless ($args{'obj'}->errorblank)
206 0 0 unless (defined $self->{'odir'})
216 0 0 if ($self->{'ph'}->error)
227 0 0 if ($self->{'ph'}->error)
238 0 0 if ($self->{'ph'}->error)
248 0 0 if ($self->{'ph'}->error)
257 0 0 if (defined $args{'dir'}) { }
260 0 0 if ($self->{'ph'}->error)
268 0 0 if ($self->{'ph'}->error)
290 0 0 if (defined $c->{'_'}{'url'})
293 0 0 if ($self->{'fullURL'})
294 0 0 unless (defined $c->{'_'}{'url'})
313 0 0 if ($self->{'t'}->error)
368 0 0 unless ($self->errorblank)
372 0 0 unless (defined $dir)
377 0 0 unless (defined $file)
385 0 0 if ($file =~ m[^\.\./])
397 0 0 if ($file =~ /\.[Pp][Oo][Dd]$/)
400 0 0 if ($file =~ /\.[Pp][Mm]$/)
403 0 0 if ($checker->isAperlScript($self->{'dir'} . '/' . $file))
407 0 0 unless (defined $txt)
413 0 0 if ($self->{'fullURL'}) { }
437 0 0 if ($self->{'t'}->error)
475 0 0 unless ($self->errorblank)
479 0 0 unless (defined $text)
484 0 0 if ($self->{'fullURL'}) { }
509 0 0 if ($self->{'t'}->error)
535 0 0 unless ($self->errorblank)
638 0 0 unless ($self->errorblank)
643 0 0 unless (defined $aline)
652 0 0 unless (defined $a[0])
679 0 0 if ($self->{'t'}->error)
705 0 0 if ($self->{'t'}->error)
726 0 0 if ($self->{'t'}->error)
748 0 0 if ($self->{'t'}->error)
858 0 0 unless ($self->errorblank)
862 0 0 unless (defined $dir)
869 0 0 if ($ad->error)
878 0 0 if ($ad->error)
886 0 0 if ($ad->error)
913 0 0 if ($self->{'t'}->error)
939 0 0 if ($self->{'t'}->error)
960 0 0 if ($self->{'t'}->error)
981 0 0 if ($self->{'t'}->error)
1004 0 0 unless ($self->errorblank)
1044 0 0 unless ($self->errorblank)
1049 0 0 unless (defined $text)
1055 0 0 if ($self->{'fullURL'})
1074 0 0 if ($self->{'t'}->error)
1118 0 0 unless ($self->errorblank)
1123 0 0 if (defined $override and $override eq '0')
1142 0 0 if ($self->{'t'}->error)
1167 0 0 unless ($self->errorblank)
1174 0 0 if ($renderCSS->error)
1197 0 0 unless ($self->errorblank)
1201 0 0 if (not $self->{'fullURL'}) { }
1247 0 0 unless ($self->errorblank)
1252 0 0 unless (defined $dir)
1260 0 0 unless (defined $text)
1266 0 0 if ($dir =~ m[^/]) { }
1275 0 0 unless ($self->{'isatd'}->isaToaderDir($dirtest))
1282 0 0 if ($self->{'fullURL'}) { }
1306 0 0 if ($self->{'t'}->error)
1358 0 0 unless ($self->errorblank)
1363 0 0 unless (defined $dir)
1371 0 0 unless (defined $dir)
1379 0 0 unless (defined $text)
1385 0 0 if ($dir =~ m[^/]) { }
1394 0 0 unless ($self->{'isatd'}->isaToaderDir($dirtest))
1404 0 0 unless ($eh->entryExists($entry))
1411 0 0 if ($self->{'fullURL'}) { }
1435 0 0 if ($self->{'t'}->error)
1538 0 0 unless ($self->errorblank)
1544 0 0 if ($em->error)
1555 0 0 if ($em->error)
1564 0 0 unless (defined $entries[0])
1577 0 0 if ($em->error)
1602 0 0 if ($self->{'t'}->error)
1628 0 0 if ($self->{'t'}->error)
1649 0 0 if ($self->{'t'}->error)
1670 0 0 if ($self->{'t'}->error)
1713 0 0 unless (defined $text)
1718 0 0 unless ($self->errorblank)
1723 0 0 if ($self->{'fullURL'}) { }
1747 0 0 if ($self->{'t'}->error)
1789 0 0 unless (defined $text)
1794 0 0 unless ($self->errorblank)
1799 0 0 if ($self->{'fullURL'}) { }
1823 0 0 if ($self->{'t'}->error)
1876 0 0 unless ($self->errorblank)
1881 0 0 unless (defined $file)
1888 0 0 unless (defined $text)
1911 0 0 if ($self->{'t'}->error)
1942 0 0 unless ($self->errorblank)
1946 0 0 unless (defined $gdir)
1954 0 0 unless (defined $dir)
1963 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
1966 0 0 if ($tg->error)
1978 0 0 unless (defined $outputURL)
2013 0 0 unless ($self->errorblank)
2018 0 0 unless (defined $dir)
2022 0 0 unless (defined $gdir)
2031 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2034 0 0 if ($tg->error)
2046 0 0 unless (defined $outputURL)
2055 0 0 unless (defined $srcPath)
2075 0 0 if ($self->error)
2081 0 0 if ($self->error)
2114 0 0 unless ($self->errorblank)
2118 0 0 unless (defined $gdir)
2123 0 0 unless (defined $dir)
2132 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2135 0 0 if ($tg->error)
2147 0 0 unless (defined $outputURL)
2163 0 0 if ($self->error)
2193 0 0 unless ($self->errorblank)
2198 0 0 unless (defined $dir)
2202 0 0 unless (defined $gdir)
2214 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2217 0 0 if ($tg->error)
2229 0 0 unless (defined $outputURL)
2263 0 0 unless ($self->errorblank)
2268 0 0 unless (defined $dir)
2272 0 0 unless (defined $gdir)
2281 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2284 0 0 if ($tg->error)
2296 0 0 unless (defined $outputURL)
2413 0 0 unless ($self->errorblank)
2417 0 0 unless (defined $gdir)
2434 0 0 if ($gdir =~ /^\./)
2446 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2449 0 0 if ($tg->error)
2471 0 0 if ($self->{'t'}->error)
2491 0 0 if ($self->{'t'}->error)
2504 0 0 if ($self->error)
2523 0 0 if ($self->{'t'}->error)
2542 0 0 if ($self->error)
2561 0 0 if ($self->{'t'}->error)
2585 0 0 if ($self->{'t'}->error)
2595 0 0 if (defined $image)
2597 0 0 if ($self->error)
2616 0 0 if ($self->{'t'}->error)
2651 0 0 unless ($self->errorblank)
2656 0 0 unless (defined $dir)
2660 0 0 unless (defined $gdir)
2669 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2672 0 0 if ($tg->error)
2684 0 0 unless (defined $outputURL)
2733 0 0 unless ($self->errorblank)
2738 0 0 unless (defined $gdir)
2743 0 0 unless (defined $text)
2748 0 0 unless (defined $dir)
2755 0 0 if ($self->{'ph'}->error)
2764 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2767 0 0 if ($tg->error)
2779 0 0 unless (defined $outputURL)
2804 0 0 if ($self->{'t'}->error)
2837 0 0 unless ($self->errorblank)
2842 0 0 unless (defined $dir)
2846 0 0 unless (defined $gdir)
2855 0 0 if (ref $self->{'obj'} ne 'Toader::Gallery') { }
2858 0 0 if ($tg->error)
2870 0 0 unless (defined $srcURL)
2897 0 0 unless ($self->errorblank)
2902 0 0 if (-d $self->{'odir'} . '/.toader/autodoc/')
2924 0 0 unless ($self->errorblank)
2929 0 0 if (-d $self->{'odir'} . '/.toader/entries/')
2948 0 0 unless ($self->errorblank)
2953 0 0 if (-f $self->{'odir'} . '/.toader/gallery.ini')
2975 0 0 unless ($self->errorblank)
2980 0 0 if ($self->error)
2986 0 0 if ($subs)
2991 0 0 if ($self->atRoot)
3133 0 0 unless ($self->errorblank)
3138 0 0 unless (defined $cssID)
3145 0 0 if (defined $keyTitle or defined $valueTitle)
3149 0 0 unless (defined $keyTitle)
3152 0 0 unless (defined $valueTitle)
3159 0 0 if ($renderTitleRow)
3175 0 0 if ($self->{'t'}->error)
3198 0 0 if ($self->{'t'}->error)
3220 0 0 if ($self->{'t'}->error)
3242 0 0 if ($self->{'t'}->error)
3270 0 0 if ($self->{'t'}->error)
3300 0 0 unless ($self->errorblank)
3306 0 0 if (ref $self->{'odir'} eq 'Toader::Directory') { }
3308 0 0 if ($self->{'odir'}->error)
3318 0 0 if ($dobj->error)
3326 0 0 if (defined $dirs[0])
3387 0 0 unless ($self->errorblank)
3392 0 0 unless (defined $imageURL)
3400 0 0 unless (defined $above)
3405 0 0 unless (defined $below)
3410 0 0 unless (defined $cssID)
3415 0 0 unless (defined $alt)
3437 0 0 if ($self->{'t'}->error)
3557 0 0 unless ($self->errorblank)
3561 0 0 unless (defined $image)
3568 0 0 unless (-f $image)
3589 0 0 if (ref $value eq 'SCALAR')
3597 0 0 if ($groups[$int2] eq '')
3601 0 0 if ($groups[$int2] ne 'ExifTool' and $groups[$int2] ne 'System' and $groups[$int2] ne 'PrintIM' and $groups[$int2] ne 'File' and $groups[$int2] ne 'Printing' and $groups[$int2] ne 'Copy1')
3608 0 0 unless (defined $tags{$groups[$int2]})
3629 0 0 if ($self->error)
3645 0 0 if ($self->{'t'}->error)
3667 0 0 if ($self->{'t'}->error)
3685 0 0 if ($self->{'t'}->error)
3703 0 0 if ($self->{'t'}->error)
3725 0 0 if ($self->{'t'}->error)
3808 0 0 unless ($self->errorblank)
3813 0 0 unless (defined $show)
3819 0 0 if ($em->error)
3830 0 0 if ($em->error)
3839 0 0 unless (defined $entries[0])
3852 0 0 if ($em->error)
3866 0 0 if ($r->error)
3876 0 0 if ($r->error)
3902 0 0 if ($self->{'t'}->error)
3923 0 0 if ($self->{'t'}->error)
3944 0 0 if ($self->{'t'}->error)
3990 0 0 unless ($self->errorblank)
3995 0 0 unless (defined $link)
4003 0 0 unless (defined $text)
4022 0 0 if ($self->{'t'}->error)
4124 0 0 unless ($self->errorblank)
4141 0 0 if ($self->{'t'}->error)
4162 0 0 if ($self->{'t'}->error)
4183 0 0 if ($self->{'t'}->error)
4193 0 0 if (ref $self->{'odir'} eq 'Toader::Directory') { }
4195 0 0 if ($self->{'odir'}->error)
4205 0 0 if ($dobj->error)
4215 0 0 unless (defined $dirs[0])
4244 0 0 if ($self->{'t'}->error)
4348 0 0 unless ($self->errorblank)
4365 0 0 if ($self->{'t'}->error)
4386 0 0 if ($self->{'t'}->error)
4407 0 0 if ($self->{'t'}->error)
4418 0 0 if ($pm->error)
4426 0 0 if ($pm->error)
4435 0 0 unless (defined $pages[0])
4462 0 0 if ($self->{'t'}->error)
4555 0 0 unless ($self->errorblank)
4573 0 0 if ($self->{'t'}->error)
4585 0 0 if ($self->{'fullURL'})
4604 0 0 if ($self->{'t'}->error)
4617 0 0 if ($parts[$int] ne '.')
4634 0 0 if ($self->{'t'}->error)
4647 0 0 unless (defined $locationID)
4665 0 0 if ($self->{'t'}->error)
4689 0 0 unless ($self->errorblank)
4713 0 0 unless ($self->errorblank)
4717 0 0 unless (defined $locationSub)
4740 0 0 unless ($self->errorblank)
4822 0 0 unless ($self->errorblank)
4828 0 0 if ($pm->error)
4839 0 0 if ($pm->error)
4848 0 0 unless (defined $pages[0])
4861 0 0 if ($pm->error)
4885 0 0 if ($self->{'t'}->error)
4911 0 0 if ($self->{'t'}->error)
4932 0 0 if ($self->{'t'}->error)
4953 0 0 if ($self->{'t'}->error)
4995 0 0 unless (defined $text)
5000 0 0 unless ($self->errorblank)
5005 0 0 if ($self->{'fullURL'}) { }
5029 0 0 if ($self->{'t'}->error)
5081 0 0 unless ($self->errorblank)
5086 0 0 unless (defined $dir)
5094 0 0 unless (defined $page)
5102 0 0 unless (defined $text)
5108 0 0 if ($dir =~ m[^/]) { }
5117 0 0 unless ($self->{'isatd'}->isaToaderDir($dirtest))
5127 0 0 unless ($ph->pageExists($page))
5134 0 0 if ($self->{'fullURL'}) { }
5158 0 0 if ($self->{'t'}->error)
5182 0 0 unless ($self->errorblank)
5222 0 0 unless ($self->errorblank)
5226 0 0 unless (defined $text)
5232 0 0 if ($self->{'fullURL'}) { }
5254 0 0 if ($self->{'t'}->error)
5337 0 0 unless ($self->errorblank)
5354 0 0 if ($self->{'t'}->error)
5377 0 0 unless ($self->errorblank)
5410 0 0 unless ($self->errorblank)
5432 0 0 if ($self->{'t'}->error)
5475 0 0 unless ($self->errorblank)
5479 0 0 unless (defined $text)
5502 0 0 if ($self->{'t'}->error)