Branch Coverage

blib/lib/Report/Porf/Framework.pm
Criterion Covered Total %
branch 40 66 60.6


line true false branch
93 2 0 if scalar @_
98 2 0 if $options{-'name'}
99 1 1 if $options{-'description'}
104 0 3 if ($key =~ /^\-create(\w+)ConfiguratorAction$/)
147 0 2 if ($$self{'Name'})
148 0 0 if ($$self{'Name'} ne $value)
221 0 6 unless $format
222 0 6 unless ref $action eq 'CODE'
232 0 14 unless $format
244 0 2 unless ref $action eq 'CODE'
269 16 0 unless $name
271 16 0 unless ($name)
274 1 15 unless $framework
283 0 16 unless $framework
297 0 3 unless $name
323 0 14 unless $action
336 0 14 unless $format
350 0 8 if ($file_name and ref $file_name eq '')
351 0 0 if $file_name =~ /\.(txt|text)$/io
352 0 0 if $file_name =~ /\.(htm|html)$/io
353 0 0 if $file_name =~ /\.csv$/io
383 1 11 unless defined $list_ref
385 0 11 unless (ref $list_ref eq 'ARRAY')
390 1 10 unless scalar @$list_ref
399 0 10 if (scalar @all_args == 1) { }
404 6 4 if $args{-'file'}
408 1 9 if defined $args{-'max_rows'}
409 0 10 unless defined $max_rows
411 2 8 if (defined $args{-'format'}) { }
418 8 2 unless $format
423 5 5 if (not $file_item or $max_rows)
424 4 1 if $max_rows eq '' and not $file_item
425 2 3 if ($max_rows > 0 and scalar @$list_ref > $max_rows)