Branch Coverage

blib/lib/Gantry/Plugins/PageCache.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
28 0 0 if $registered_callbacks{$namespace}++
72 0 0 if ($gobj->gantry_pagecache_crud) { }
0 0 elsif (_caching_enabled($gobj)) { }
74 0 0 if ($gobj->is_post and $gobj->action =~ /do_edit|do_add|do_delete/)
99 0 0 if (my $page = $gobj->cache_get($cache_key)) { }
125 0 0 if (my(@actions) = split(/\s*,\s*/, $gobj->gantry_pagecache_action, 0))
128 0 0 if ($_ eq $current_action)
134 0 0 if (my(@types) = split(/\s*,\s*/, $gobj->gantry_pagecache_mime_type, 0))
137 0 0 if ($_ eq $current_type)
143 0 0 if (my(@locs) = split(/\s*,\s*/, $gobj->gantry_pagecache_location, 0))
146 0 0 if ($_ eq $current_loc)
152 0 0 if (my(@uris) = split(/\s*,\s*/, $gobj->gantry_pagecache_uri, 0))
155 0 0 if ($_ eq $current_uri)
171 0 0 if ($gobj->gantry_pagecache_crud) { }
0 0 elsif (_caching_enabled($gobj)) { }
174 0 0 if ($gobj->action =~ /do_edit|do_add|do_delete/)
216 0 0 if ($$opt{'serialize'})
219 0 0 $serial ? :
237 0 0 if substr($k, 0, 1) eq '.'
251 0 0 if defined $p
262 0 0 if defined $p
273 0 0 if defined $p
284 0 0 if defined $p
295 0 0 if defined $p
306 0 0 if defined $p