Branch Coverage

blib/lib/Text/Livedoor/Wiki/Plugin/Function/Lislog.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
12 1 26 unless scalar @$args
17 2 24 unless $url =~ m[^http://(lislog|research.news)\.livedoor\.com/r/(\d+)]
23 12 32 if ($_ =~ /^(pie|bar)$/)
27 7 37 if ($_ =~ /^(red|orange|yellow|lime|green|sky|blue|purple|pink|black)$/)
39 15 9 unless $value =~ /^(?:small|medium|large)$/
40 16 8 if $value eq 'medium'