Branch Coverage

blib/lib/Net/Rest/Generic.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
64 1 10 ref $_[0] ? :
76 1 10 unless (grep /$$self{'mode'}/i, @modes)
83 1 10 unless (grep /$$self{'scheme'}/i, @schemes)
89 2 9 if ref $input eq 'Net::Rest::Generic::Error'
94 7 2 if exists $$self{'port'}
103 0 26 if $key eq 'DESTROY'
107 0 26 if (ref $_[0]) { }
113 20 6 if (want('OBJECT') or want('VOID'))
117 4 2 if exists $$self{'base'}
122 4 2 if ($$self{'string'})
123 2 2 if (want('LIST')) { }
209 0 1 ref $_[0] ? :