Branch Coverage

blib/lib/CGI/FormBuilder/Source/YAML.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
27 1 0 if ref $self
29 0 1 if ref $file
32 0 1 if ref $formopt ne 'HASH'
37 2 0 if not exists $$formopt{$_}
40 1 0 if ref $self
45 0 1 wantarray ? :
56 7 24 if ($ref eq 'HASH') { }
20 4 elsif (not $ref) { }
63 1 19 if ($node =~ / \A \\ ([&\$%\@]) (.*) \z /msx) { }
0 19 elsif ($node =~ / \A eval \s* { (.*) } \s* \z /msx) { }
67 0 1 if ($refstr =~ / :: /msx) { }
73 0 0 if $err
87 1 0 unless ($@)
100 0 0 if ($err) { }