Branch Coverage

blib/lib/Text/Livedoor/Wiki/Plugin/Function/Pad.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
14 0 7 unless scalar @$args
17 1 6 unless $pad_type =~ /^(ps3)$/i
32 14 1 if $input
43 2 12 if $input =~ /^(ma[lr]{1}u)$/
44 4 10 if $input =~ /^(san[ck]{1}a[ck]{1}[u]?)$/
45 3 11 if $input =~ /^(s[h]?ikak[u]?)$/
46 0 14 if $input =~ /^(bat[s]?u)$/
47 0 14 if $input =~ /^(se[lr]{1}ect)$/
48 0 14 if $input =~ /^(stick_[lL]{1})$/
49 0 14 if $input =~ /^(stick_[rR]{1})$/
51 9 5 if ($input =~ /^(maru|sankaku|shikaku|batsu|start|select|ps|key|stick_[LR]{1}|[lr]{1}[12]{1})$/) { }
62 1 4 $input =~ /^(and|or|plus|push|soft|hard|repeat|long|[1-46-9]{1})$/ ? :