Branch Coverage

blib/lib/Toader/Render/General.pm
Criterion Covered Total %
branch 0 586 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)
1099 0 0 unless ($self->errorblank)
1106 0 0 if ($renderCSS->error)
1129 0 0 unless ($self->errorblank)
1133 0 0 if (not $$self{'fullURL'}) { }
1179 0 0 unless ($self->errorblank)
1184 0 0 unless (defined $dir)
1192 0 0 unless (defined $text)
1198 0 0 if ($dir =~ m[^/]) { }
1207 0 0 unless ($$self{'isatd'}->isaToaderDir($dirtest))
1214 0 0 if ($$self{'fullURL'}) { }
1238 0 0 if ($$self{'t'}->error)
1290 0 0 unless ($self->errorblank)
1295 0 0 unless (defined $dir)
1303 0 0 unless (defined $dir)
1311 0 0 unless (defined $text)
1317 0 0 if ($dir =~ m[^/]) { }
1326 0 0 unless ($$self{'isatd'}->isaToaderDir($dirtest))
1336 0 0 unless ($eh->entryExists($entry))
1343 0 0 if ($$self{'fullURL'}) { }
1367 0 0 if ($$self{'t'}->error)
1470 0 0 unless ($self->errorblank)
1476 0 0 if ($em->error)
1487 0 0 if ($em->error)
1496 0 0 unless (defined $entries[0])
1509 0 0 if ($em->error)
1534 0 0 if ($$self{'t'}->error)
1560 0 0 if ($$self{'t'}->error)
1581 0 0 if ($$self{'t'}->error)
1602 0 0 if ($$self{'t'}->error)
1645 0 0 unless (defined $text)
1650 0 0 unless ($self->errorblank)
1655 0 0 if ($$self{'fullURL'}) { }
1679 0 0 if ($$self{'t'}->error)
1721 0 0 unless (defined $text)
1726 0 0 unless ($self->errorblank)
1731 0 0 if ($$self{'fullURL'}) { }
1755 0 0 if ($$self{'t'}->error)
1800 0 0 unless ($self->errorblank)
1805 0 0 unless (defined $file)
1812 0 0 unless (defined $text)
1835 0 0 if ($$self{'t'}->error)
1866 0 0 unless ($self->errorblank)
1870 0 0 unless (defined $gdir)
1878 0 0 unless (defined $dir)
1887 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
1890 0 0 if ($tg->error)
1902 0 0 unless (defined $outputURL)
1937 0 0 unless ($self->errorblank)
1942 0 0 unless (defined $dir)
1946 0 0 unless (defined $gdir)
1955 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
1958 0 0 if ($tg->error)
1970 0 0 unless (defined $outputURL)
1979 0 0 unless (defined $srcPath)
1999 0 0 if ($self->error)
2005 0 0 if ($self->error)
2038 0 0 unless ($self->errorblank)
2042 0 0 unless (defined $gdir)
2047 0 0 unless (defined $dir)
2056 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2059 0 0 if ($tg->error)
2071 0 0 unless (defined $outputURL)
2087 0 0 if ($self->error)
2117 0 0 unless ($self->errorblank)
2122 0 0 unless (defined $dir)
2126 0 0 unless (defined $gdir)
2138 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2141 0 0 if ($tg->error)
2153 0 0 unless (defined $outputURL)
2187 0 0 unless ($self->errorblank)
2192 0 0 unless (defined $dir)
2196 0 0 unless (defined $gdir)
2205 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2208 0 0 if ($tg->error)
2220 0 0 unless (defined $outputURL)
2337 0 0 unless ($self->errorblank)
2341 0 0 unless (defined $gdir)
2358 0 0 if ($gdir =~ /^\./)
2370 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2373 0 0 if ($tg->error)
2395 0 0 if ($$self{'t'}->error)
2415 0 0 if ($$self{'t'}->error)
2428 0 0 if ($self->error)
2447 0 0 if ($$self{'t'}->error)
2466 0 0 if ($self->error)
2485 0 0 if ($$self{'t'}->error)
2509 0 0 if ($$self{'t'}->error)
2519 0 0 if (defined $image)
2521 0 0 if ($self->error)
2540 0 0 if ($$self{'t'}->error)
2575 0 0 unless ($self->errorblank)
2580 0 0 unless (defined $dir)
2584 0 0 unless (defined $gdir)
2593 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2596 0 0 if ($tg->error)
2608 0 0 unless (defined $outputURL)
2657 0 0 unless ($self->errorblank)
2662 0 0 unless (defined $gdir)
2667 0 0 unless (defined $text)
2672 0 0 unless (defined $dir)
2679 0 0 if ($$self{'ph'}->error)
2688 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2691 0 0 if ($tg->error)
2703 0 0 unless (defined $outputURL)
2728 0 0 if ($$self{'t'}->error)
2761 0 0 unless ($self->errorblank)
2766 0 0 unless (defined $dir)
2770 0 0 unless (defined $gdir)
2779 0 0 if (ref $$self{'obj'} ne 'Toader::Gallery') { }
2782 0 0 if ($tg->error)
2794 0 0 unless (defined $srcURL)
2821 0 0 unless ($self->errorblank)
2826 0 0 if (-d $$self{'odir'} . '/.toader/autodoc/')
2848 0 0 unless ($self->errorblank)
2853 0 0 if (-d $$self{'odir'} . '/.toader/entries/')
2872 0 0 unless ($self->errorblank)
2877 0 0 if (-f $$self{'odir'} . '/.toader/gallery.ini')
2899 0 0 unless ($self->errorblank)
2904 0 0 if ($self->error)
2910 0 0 if ($subs)
2915 0 0 if ($self->atRoot)
3057 0 0 unless ($self->errorblank)
3062 0 0 unless (defined $cssID)
3069 0 0 if (defined $keyTitle or defined $valueTitle)
3073 0 0 unless (defined $keyTitle)
3076 0 0 unless (defined $valueTitle)
3083 0 0 if ($renderTitleRow)
3099 0 0 if ($$self{'t'}->error)
3122 0 0 if ($$self{'t'}->error)
3144 0 0 if ($$self{'t'}->error)
3166 0 0 if ($$self{'t'}->error)
3194 0 0 if ($$self{'t'}->error)
3224 0 0 unless ($self->errorblank)
3230 0 0 if (ref $$self{'odir'} eq 'Toader::Directory') { }
3232 0 0 if ($$self{'odir'}->error)
3242 0 0 if ($dobj->error)
3250 0 0 if (defined $dirs[0])
3311 0 0 unless ($self->errorblank)
3316 0 0 unless (defined $imageURL)
3324 0 0 unless (defined $above)
3329 0 0 unless (defined $below)
3334 0 0 unless (defined $cssID)
3339 0 0 unless (defined $alt)
3361 0 0 if ($$self{'t'}->error)
3481 0 0 unless ($self->errorblank)
3485 0 0 unless (defined $image)
3492 0 0 unless (-f $image)
3513 0 0 if (ref $value eq 'SCALAR')
3521 0 0 if ($groups[$int2] eq '')
3525 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')
3532 0 0 unless (defined $tags{$groups[$int2]})
3553 0 0 if ($self->error)
3569 0 0 if ($$self{'t'}->error)
3591 0 0 if ($$self{'t'}->error)
3609 0 0 if ($$self{'t'}->error)
3627 0 0 if ($$self{'t'}->error)
3649 0 0 if ($$self{'t'}->error)
3732 0 0 unless ($self->errorblank)
3737 0 0 unless (defined $show)
3743 0 0 if ($em->error)
3754 0 0 if ($em->error)
3763 0 0 unless (defined $entries[0])
3776 0 0 if ($em->error)
3790 0 0 if ($r->error)
3800 0 0 if ($r->error)
3826 0 0 if ($$self{'t'}->error)
3847 0 0 if ($$self{'t'}->error)
3868 0 0 if ($$self{'t'}->error)
3914 0 0 unless ($self->errorblank)
3919 0 0 unless (defined $link)
3927 0 0 unless (defined $text)
3946 0 0 if ($$self{'t'}->error)
4048 0 0 unless ($self->errorblank)
4065 0 0 if ($$self{'t'}->error)
4086 0 0 if ($$self{'t'}->error)
4107 0 0 if ($$self{'t'}->error)
4117 0 0 if (ref $$self{'odir'} eq 'Toader::Directory') { }
4119 0 0 if ($$self{'odir'}->error)
4129 0 0 if ($dobj->error)
4139 0 0 unless (defined $dirs[0])
4168 0 0 if ($$self{'t'}->error)
4272 0 0 unless ($self->errorblank)
4289 0 0 if ($$self{'t'}->error)
4310 0 0 if ($$self{'t'}->error)
4331 0 0 if ($$self{'t'}->error)
4342 0 0 if ($pm->error)
4350 0 0 if ($pm->error)
4359 0 0 unless (defined $pages[0])
4386 0 0 if ($$self{'t'}->error)
4479 0 0 unless ($self->errorblank)
4497 0 0 if ($$self{'t'}->error)
4509 0 0 if ($$self{'fullURL'})
4528 0 0 if ($$self{'t'}->error)
4541 0 0 if ($parts[$int] ne '.')
4558 0 0 if ($$self{'t'}->error)
4571 0 0 unless (defined $locationID)
4589 0 0 if ($$self{'t'}->error)
4613 0 0 unless ($self->errorblank)
4637 0 0 unless ($self->errorblank)
4641 0 0 unless (defined $locationSub)
4664 0 0 unless ($self->errorblank)
4746 0 0 unless ($self->errorblank)
4752 0 0 if ($pm->error)
4763 0 0 if ($pm->error)
4772 0 0 unless (defined $pages[0])
4785 0 0 if ($pm->error)
4809 0 0 if ($$self{'t'}->error)
4835 0 0 if ($$self{'t'}->error)
4856 0 0 if ($$self{'t'}->error)
4877 0 0 if ($$self{'t'}->error)
4919 0 0 unless (defined $text)
4924 0 0 unless ($self->errorblank)
4929 0 0 if ($$self{'fullURL'}) { }
4953 0 0 if ($$self{'t'}->error)
5005 0 0 unless ($self->errorblank)
5010 0 0 unless (defined $dir)
5018 0 0 unless (defined $page)
5026 0 0 unless (defined $text)
5032 0 0 if ($dir =~ m[^/]) { }
5041 0 0 unless ($$self{'isatd'}->isaToaderDir($dirtest))
5051 0 0 unless ($ph->pageExists($page))
5058 0 0 if ($$self{'fullURL'}) { }
5082 0 0 if ($$self{'t'}->error)
5106 0 0 unless ($self->errorblank)
5146 0 0 unless ($self->errorblank)
5150 0 0 unless (defined $text)
5156 0 0 if ($$self{'fullURL'}) { }
5178 0 0 if ($$self{'t'}->error)
5261 0 0 unless ($self->errorblank)
5278 0 0 if ($$self{'t'}->error)
5301 0 0 unless ($self->errorblank)
5334 0 0 unless ($self->errorblank)
5356 0 0 if ($$self{'t'}->error)
5399 0 0 unless ($self->errorblank)
5403 0 0 unless (defined $text)
5426 0 0 if ($$self{'t'}->error)