Branch Coverage

blib/lib/MediaWiki/Bot/Plugin/Admin.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
38 0 0 unless $res
64 0 0 unless $res
91 0 0 unless $res
113 0 0 unless $res
130 0 0 if (ref $_[0] eq 'HASH') { }
154 0 0 if ($$self{'blocktoken'}) { }
175 0 0 if $anononly
176 0 0 if $autoblock
177 0 0 if $blockac
178 0 0 if $blockemail
179 0 0 unless $blocktalk
182 0 0 unless ($res)
197 0 0 if ($$self{'unblocktoken'}) { }
219 0 0 unless $res
238 0 0 defined $_[0] ? :
239 0 0 defined $_[0] ? :
243 0 0 if $editlvl eq ''
244 0 0 if $movelvl eq ''
246 0 0 if ($cascade and $editlvl ne 'sysop' || $movelvl ne 'sysop')
247 0 0 if $$self{'debug'}
268 0 0 unless $res
278 0 0 defined $_[0]{'history'} ? :
279 0 0 defined $_[0]{'templates'} ? :
287 0 0 unless $res
301 0 0 unless $res
309 0 0 unless my $filename = shift()
315 0 0 unless $success
328 0 0 unless (exists $$self{'userrightscache'} and $$self{'userrightscache'} and $$self{'userrightscache'}{'user'} eq $user)
353 0 0 unless $res
371 0 0 unless (exists $$self{'userrightscache'} and exists $$self{'userrightscache'}{'user'} and $$self{'userrightscache'}{'user'} eq $user)
386 0 0 unless $res
402 0 0 unless (exists $$self{'userrightscache'} and exists $$self{'userrightscache'}{'user'} and $$self{'userrightscache'}{'user'} eq $user)
417 0 0 unless $res