Branch Coverage

blib/lib/HTML/StickyQuery/DoCoMoGUID.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
19 37 8 unless $args{'disable_guid'}
21 20 25 exists $args{'xhtml'} ? :
32 53 35 if ($tagname ne 'form')
37 0 35 unless (exists $$attr{'action'})
44 6 29 if (not $$self{'abs'} and $u->scheme)
50 0 29 if (defined $u->scheme and not $u->scheme =~ /^https?/)
55 25 4 if (not $$self{'regexp'} or $u->path =~ /$$self{'regexp'}/)
57 16 9 unless (($$attr{'method'} || '') =~ /^post$/i)
64 9 0 if ($$self{'keep_original'}) { }
68 0 2 if (exists $original{$key}) { }
69 0 0 if (ref $original{$key} eq 'ARRAY') { }
78 7 2 exists $$self{'param'}{'guid'} ? :
86 9 9 if ($key eq 'action') { }
0 9 elsif ($$attr{$key} eq '__BOOLEAN__') { }
106 7 18 if $ignore_guid and $key eq 'guid'
107 8 10 $$self{'use_xhtml'} ? :