Branch Coverage

blib/lib/Config/Model/Backend/OpenSsh/Role/Writer.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
44 10 2 if ($result)
55 2456 116 unless length $v
87 0 2833 unless $node->is_element_defined($name)
93 12 2821 if ($name eq 'Match') { }
8 2813 elsif ($name eq 'Host') { }
44 2769 elsif ($name =~ /^(Local|Remote)Forward$/) { }
2517 252 elsif ($type eq 'leaf') { }
0 252 elsif ($type eq 'check_list') { }
248 4 elsif ($type eq 'list') { }
4 0 elsif ($type eq 'hash') { }
114 8 240 $list_as_one_line{$name} ? :