Branch Coverage

blib/lib/App/Rssfilter/Rule.pm
Criterion Covered Total %
branch 31 48 64.5


line true false branch
28 0 15 unless @_ > 0
0 15 if @_ > 1
47 0 9 unless @_ > 0
0 9 if @_ > 1
62 0 10 unless @_ > 0
0 10 unless ($Method::Signatures::mutc{'cache'}{'Mojo::DOM'} ||= 'Method::Signatures'->_make_constraint('Mojo::DOM'))->check($Mojo_DOM)
0 10 if @_ > 1
70 0 16 unless @_ > 0
0 16 unless @_ > 1
0 16 if @_ > 2
81 6 10 if (1 == keys %args)
88 0 16 unless @_ > 0
0 16 if @_ > 1
93 0 29 if keys %args
0 29 if @_ > 4
94 0 29 unless defined $attr
105 2 2 if (my $method = $attr->can($type)) { }
116 0 16 if keys %args
0 16 if @_ > 4
129 4 12 unless ($namespace =~ /::/msx)
135 2 14 unless ('Class::Inspector'->loaded($namespace))
141 4 12 if ($namespace->can('new'))
146 12 4 if (my $method = $invocant->can($type)) { }
147 10 2 if ($invocant eq $namespace) { }