Branch Coverage

blib/lib/Net/OAI/Base.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
67 13 20 if ($$self{'error'})
81 9 0 if ($$self{'error'})
95 0 2 unless $$self{'error'}
98 2 0 exists $$self{'error'}{'HTTPError'} ? :
124 0 0 unless $$self{'file'}
125 0 0 unless open XML, $$self{'file'}
147 4 3 exists $$self{'harvester'} ? :
148 3 4 if ref $harvester ne 'Net::OAI::Harvester'
151 3 1 if ($rToken)