Branch Coverage

blib/lib/Mail/Spool/Node.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
36 0 2 @_ && ref $_[0] ? :
40 0 2 unless ($self->load_node_properties)
52 0 2 if $node->name =~ /\.NFSLock$/i
53 0 2 if $node->name =~ /^\.+$/
54 0 2 if -d $node->filename
57 0 2 unless ($node->name =~ /^(\d+)-([^\-]+)-([^\-]+)-([^\-]*)$/)
84 0 1 unless defined $node->msh->wait
118 1 1 unless $mode and $mode =~ /^(a|w|r|wr)$/
122 0 2 unless ($fh)
137 0 0 unless defined $node->msh->fallback_dir
144 0 0 if (not rename($node->filename, $node->fallback_filename))
161 0 6 unless defined $method
164 6 0 if ($method =~ /^(to|from|id|time|msh|name)$/)
169 8 25 if @_