Branch Coverage

blib/lib/File/Set/Writer.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
46 3000 28000 if @{$self->{'queue'}{$file};} >= $self->max_lines
48 1000 30000 if $self->_files >= $self->max_files
62 0 19000 unless $self->{'queue'}{$b}
0 19000 unless $self->{'queue'}{$a}
77 0 13000 unless defined $file and exists $self->{'queue'}{$file}
99 1369 11631 if ($self->_handles >= $self->max_handles)
105 99 4800 unless $files[$i]
110 4820 8180 unless (exists $self->{'fcache'}{$file})
111 0 4820 unless open my $new_fh, '>>', $file
122 0 13000 unless print $wfh $content
140 4 13996 unless (shift())->{'fcache'}
146 0 41000 unless (shift())->{'queue'}
154 1000 9000 unless (shift())->{'queue'}{shift()}