Branch Coverage

blib/lib/OpenGuides/RDF.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
28 0 2 unless ($wiki and UNIVERSAL::isa($wiki, 'Wiki::Toolkit'))
35 0 2 unless ($config and UNIVERSAL::isa($config, 'OpenGuides::Config'))
46 6 6 if defined $version
48 6 6 if defined $version
92 6 0 unless $metadata{'category'}
96 4 2 unless $metadata{'locale'}
109 13 35 if $tt_vars{$var}
112 2 4 if scalar @locs
114 4 2 $is_geospatial ? :
129 5 1 if ($timestamp)
143 1 5 if ($redirect)
152 100 80 if ($tt_vars{$var})
167 1 6 unless defined $username and length $username