Branch Coverage

blib/lib/warnings/everywhere.pm
Criterion Covered Total %
branch 23 50 46.0


line true false branch
16 0 0 unless (ref $category)
25 4 6 if (ref $args) { }
37 0 4 unless ref $argument
38 1 3 if (ref $argument ne 'HASH')
41 1 2 unless (exists $argument->{'warning'} and exists $argument->{'thwart_module'})
44 1 1 if (ref $argument->{'thwart_module'} and ref $argument->{'thwart_module'} ne 'ARRAY')
49 1 0 unless _check_warning_category($argument->{'warning'})
273 1890 21 if _is_bit_set($warnings::Bits{$category}, $warnings::Offsets{$category})
294 4 919 unless _is_bit_set($warnings::Bits{$category}, $warnings::Offsets{$category})
316 0 9 unless _check_warning_category($category)
335 9 14 if ($bit_value)
336 7 2 unless (categories_disabled())
359 0 14 unless _check_warning_category($category)
404 0 0 $byte_num % 4 == 0 ? :
412 0 24 if $category eq 'all'
413 1 23 unless (exists $warnings::Offsets{$category})
426 0 0 ref $args{'thwart_module'} eq 'ARRAY' ? :
440 0 0 if ($module eq 'Moose')
448 0 0 if $use_filename ne $filename
455 0 0 unless (my $source_fh = $package->_find_module_source($use_filename))
469 0 0 ref($args{'warning'} eq 'ARRAY') ? :
479 0 0 if ($module eq 'Dancer2') { }
0 0 elsif ($module eq 'Test::Class::Moose') { }
486 0 0 unless $source =~ s/$re_code/$1$source_code_unimport/msx
501 0 0 if (-e $full_path)