Branch Coverage

blib/lib/HTML/AA.pm
Criterion Covered Total %
branch 0 252 0.0


line true false branch
46 0 0 if $code eq 'euc'
47 0 0 if $code eq 'sjis'
59 0 0 if ($_ =~ /../) { }
60 0 0 if ($_ =~ /\xa1\xbc|\xa3\xcd|\xa3\xed|\xa4\xa2|\xa4\xa4|\xa4\xaa|\xa4\xb1|\xa4\xb9|\xa4\xbd|\xa4\xbe|\xa4\xbf|\xa4\xc0|\xa4\xc4|\xa4\xc5|\xa4\xcb|\xa4\xd2|\xa4\xd3|\xa4\xd4|\xa4\xf3|\xa5\xa6|\xa5\xaa|\xa5\xac|\xa5\xad|\xa5\xae|\xa5\xb0|\xa5\xb1|\xa5\xb2|\xa5\xba|\xa5\xbb|\xa5\xc0|\xa5\xc1|\xa5\xc2|\xa5\xc5|\xa5\xc7|\xa5\xca|\xa5\xcb|\xa5\xcd|\xa5\xd8|\xa5\xd9|\xa5\xda|\xa5\xdb|\xa5\xdc|\xa5\xdd|\xa5\xe6|\xa5\xef|\xa5\xf4/) { }
0 0 elsif ($_ =~ /\xa4\xa8|\xa4\xad|\xa4\xae|\xa4\xb4|\xa4\xb6|\xa4\xc1|\xa4\xc2|\xa4\xc6|\xa4\xc7|\xa4\xc9|\xa4\xca|\xa4\xde|\xa4\xe3|\xa4\xe5|\xa4\xe8|\xa4\xeb|\xa4\xed|\xa4\xee|\xa4\xf2|\xa5\xa2|\xa5\xa8|\xa5\xb4|\xa5\xb7|\xa5\xb8|\xa5\xb9|\xa5\xbe|\xa5\xc4|\xa5\xc6|\xa5\xd3|\xa5\xd4|\xa5\xd6|\xa5\xd7|\xa5\xde|\xa5\xe2|\xa5\xec|\xa5\xed|\xa5\xf3/) { }
0 0 elsif ($_ =~ /\xa3\xcf|\xa3\xd1|\xa4\xa3|\xa4\xa9|\xa4\xb0|\xa4\xb3|\xa4\xc3|\xa4\xe2|\xa4\xe9|\xa5\xa4|\xa5\xa9|\xa5\xab|\xa5\xaf|\xa5\xb3|\xa5\xbd|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x4b|\x4e|\x50|\x52|\x53|\x55|\x56|\x58|\x77/) { }
0 0 elsif ($_ =~ /\x45|\x46|\x4a|\x4c|\x54|\x59|\x5a/) { }
0 0 elsif ($_ =~ /\x61|\x62|\x63|\x64|\x65|\x68|\x6e|\x6f|\x70|\x71|\x75|\x76|\x79|\x22|\x23|\x24|\x25|\x2a|\x2b|\x2d|\x2f|\x30|\x31|\x32|\x33|\x34|\x35|\x36|\x37|\x38|\x39|\x3c|\x3d|\x3e|\x5c/) { }
0 0 elsif ($_ =~ /\x3f|\x5e|\x60|\x67|\x6b|\x73|\x78|\x7a|\x7e/) { }
0 0 elsif ($_ =~ /\x72|\x74/) { }
0 0 elsif ($_ =~ /\x28|\x29|\x5b|\x5d|\x5f|\x66|\x20/) { }
0 0 elsif ($_ =~ /\x21|\x49|\x6a|\x7b|\x7c|\x7d/) { }
0 0 elsif ($_ =~ /\x27|\x2c|\x2e|\x3a|\x3b|\x69|\x6c/) { }
151 0 0 if ($_ =~ /../) { }
152 0 0 if ($_ =~ /\x81\x5b|\x82\x6c|\x82\x8d|\x82\xa0|\x82\xa2|\x82\xa8|\x82\xaf|\x82\xb7|\x82\xbb|\x82\xbc|\x82\xbd|\x82\xbe|\x82\xc2|\x82\xc3|\x82\xc9|\x82\xd0|\x82\xd1|\x82\xd2|\x82\xf1|\x83\x45|\x83\x49|\x83\x4b|\x83\x4c|\x83\x4d|\x83\x4f|\x83\x50|\x83\x51|\x83\x59|\x83\x5a|\x83\x5f|\x83\x60|\x83\x61|\x83\x64|\x83\x66|\x83\x69|\x83\x6a|\x83\x6c|\x83\x77|\x83\x78|\x83\x79|\x83\x7a|\x83\x7b|\x83\x7c|\x83\x86|\x83\x8f|\x83\x94/) { }
0 0 elsif ($_ =~ /\x82\xa6|\x82\xab|\x82\xac|\x82\xb2|\x82\xb4|\x82\xbf|\x82\xc0|\x82\xc4|\x82\xc5|\x82\xc7|\x82\xc8|\x82\xdc|\x82\xe1|\x82\xe3|\x82\xe6|\x82\xe9|\x82\xeb|\x82\xec|\x82\xf0|\x83\x41|\x83\x47|\x83\x53|\x83\x56|\x83\x57|\x83\x58|\x83\x5d|\x83\x63|\x83\x65|\x83\x72|\x83\x73|\x83\x75|\x83\x76|\x83\x7d|\x83\x82|\x83\x8c|\x83\x8d|\x83\x93/) { }
0 0 elsif ($_ =~ /\x82\x6e|\x82\x70|\x82\xa1|\x82\xa7|\x82\xae|\x82\xb1|\x82\xc1|\x82\xe0|\x82\xe7|\x83\x43|\x83\x48|\x83\x4a|\x83\x4e|\x83\x52|\x83\x5c|\x83\x6b|\x83\x74|\x83\x83|\x83\x85|\x83\x89|\x83\x92/) { }
0 0 elsif ($_ =~ /\x81\x52|\x81\x53|\x81\x54|\x82\x61|\x82\x62|\x82\x63|\x82\x66|\x82\x67|\x82\x6a|\x82\x6d|\x82\x71|\x82\x72|\x82\x74|\x82\x97|\x82\x9f|\x82\xa5|\x82\xb3|\x82\xb5|\x82\xb6|\x82\xc6|\x82\xe5|\x82\xe8|\x83\x40|\x83\x44|\x83\x46|\x83\x5e|\x83\x62|\x83\x71|\x83\x81|\x83\x88|\x83\x8a|\x83\x8e|\x83\x95|\x83\x96/) { }
0 0 elsif ($_ =~ /\x81\x41|\x81\x42|\x81\x43|\x81\x44|\x81\x55|\x82\x4f|\x82\x50|\x82\x51|\x82\x52|\x82\x53|\x82\x54|\x82\x55|\x82\x56|\x82\x57|\x82\x58|\x82\x60|\x82\x64|\x82\x6f|\x82\x75|\x82\xa4|\x83\x68|\x83\x6d|\x83\x7e|\x81\x40/) { }
0 0 elsif ($_ =~ /\x82\x65|\x82\x69|\x82\x6b|\x82\x73|\x82\x77|\x82\x78|\x82\x79|\x82\x82|\x82\x84|\x82\x88|\x82\x8b|\x82\x8e|\x82\x8f|\x82\x90|\x82\x91|\x82\x95|\x82\xa3|\x83\x42|\x83\x67|\x83\x87/) { }
0 0 elsif ($_ =~ /\x82\x81|\x82\x83|\x82\x85|\x82\x87|\x82\x93|\x82\xad/) { }
0 0 elsif ($_ =~ /\x81\x45|\x81\x46|\x81\x47|\x81\x4a|\x81\x4b|\x81\x4c|\x81\x4d|\x81\x4e|\x81\x4f|\x81\x5d|\x81\x65|\x81\x66|\x81\x67|\x81\x68|\x81\x69|\x81\x6a|\x81\x6b|\x81\x6c|\x81\x6d|\x81\x6e|\x81\x6f|\x81\x70|\x81\x71|\x81\x72|\x81\x73|\x81\x74|\x81\x75|\x81\x76|\x81\x77|\x81\x78|\x81\x79|\x81\x7a|\x81\xf5|\x81\xf6|\x81\xf7|\x82\x96|\x82\x98|\x82\x99|\x82\x9a/) { }
0 0 elsif ($_ =~ /\x82\x92/) { }
0 0 elsif ($_ =~ /\x82\x86|\x82\x94/) { }
0 0 elsif ($_ =~ /\x82\x68|\x82\x89|\x82\x8a|\x82\x8c/) { }
196 0 0 if ($_ =~ /\x4d|\x57|\x6d/) { }
0 0 elsif ($_ =~ /\x40|\x43|\x47|\x4f|\x51|\xbb|\xd1|\xd4|\xd9/) { }
0 0 elsif ($_ =~ /\x26|\x41|\x42|\x44|\x48|\x4b|\x4e|\x50|\x52|\x53|\x55|\x56|\x58|\x77|\xb0|\xb1|\xb3|\xb4|\xb5|\xb7|\xb9|\xbd|\xbe|\xc1|\xc2|\xc3|\xc5|\xc6|\xc8|\xca|\xcd|\xce|\xcf|\xd3|\xd5/) { }
0 0 elsif ($_ =~ /\x45|\x46|\x4a|\x4c|\x54|\x59|\x5a|\xa6|\xb2|\xb6|\xb8|\xba|\xbc|\xbf|\xc0|\xc7|\xcc|\xd7|\xda|\xdb|\xdc|\xdd/) { }
0 0 elsif ($_ =~ /\x61|\x62|\x63|\x64|\x65|\x68|\x6e|\x6f|\x70|\x71|\x75|\x76|\x79|\x22|\x23|\x24|\x25|\x2a|\x2b|\x2d|\x2f|\x30|\x31|\x32|\x33|\x34|\x35|\x36|\x37|\x38|\x39|\x3c|\x3d|\x3e|\x5c|\xa7|\xa9|\xaa|\xab|\xac|\xad|\xaf|\xc9|\xcb|\xd2|\xd6|\xd8/) { }
0 0 elsif ($_ =~ /\x3f|\x5e|\x60|\x67|\x6b|\x73|\x78|\x7a|\x7e|\xa2|\xa3|\xa5|\xa8|\xae|\xc4|\xd0|\xa1|\xa4/) { }
0 0 elsif ($_ =~ /\x72|\x74/) { }
0 0 elsif ($_ =~ /\x28|\x29|\x5b|\x5d|\x5f|\x66|\x20/) { }
0 0 elsif ($_ =~ /\x21|\x49|\x6a|\x7b|\x7c|\x7d|\xde|\xdf/) { }
0 0 elsif ($_ =~ /\x27|\x2c|\x2e|\x3a|\x3b|\x69|\x6c/) { }
239 0 0 if $code eq 'euc'
240 0 0 if $code eq 'sjis'
275 0 0 if ($tmp =~ /$oneBytes/go)
297 0 0 if $code eq 'euc' and $position eq 'R'
298 0 0 if $code eq 'euc' and $position eq 'L'
299 0 0 if $code eq 'sjis' and $position eq 'R'
300 0 0 if $code eq 'sjis' and $position eq 'L'
320 0 0 if ($diff == 1)
321 0 0 if ($set2 =~ s/\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1$/ \241\241 \241\241 \241\241 ./) { }
324 0 0 if ($diff == 2)
325 0 0 if ($diff == 3)
326 0 0 if ($diff == 4)
327 0 0 if ($set2 =~ s/\xa1\xa1\xa1\xa1\xa1\xa1$/ \241\241 \241\241 /) { }
330 0 0 if ($diff == 5)
331 0 0 if ($diff == 6)
332 0 0 if ($set2 =~ s/\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1$/ \241\241 \241\241 \241\241 . /) { }
335 0 0 if ($diff == 7)
336 0 0 if ($diff == 8)
337 0 0 if ($diff == 9)
338 0 0 if ($set2 =~ s/\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1$/ \241\241 \241\241 \241\241 /) { }
341 0 0 if ($diff == 10)
362 0 0 if ($diff == 1)
363 0 0 if ($set2 =~ s/^\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1/. \241\241 \241\241 \241\241 /) { }
366 0 0 if ($diff == 2)
367 0 0 if ($diff == 3)
368 0 0 if ($diff == 4)
369 0 0 if ($set2 =~ s/^\xa1\xa1\xa1\xa1\xa1\xa1/ \241\241 \241\241 /) { }
372 0 0 if ($diff == 5)
373 0 0 if ($diff == 6)
374 0 0 if ($set2 =~ s/^\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1/ . \241\241 \241\241 \241\241 /) { }
377 0 0 if ($diff == 7)
378 0 0 if ($diff == 8)
379 0 0 if ($diff == 9)
380 0 0 if ($set2 =~ s/^\xa1\xa1\xa1\xa1\xa1\xa1\xa1\xa1/ \241\241 \241\241 \241\241 /) { }
383 0 0 if ($diff == 10)
405 0 0 if ($diff == 1)
406 0 0 if ($set2 =~ s/\x81\x40\x81\x40\x81\x40\x81\x40\x81\x40$/ \201\@ \201\@ \201\@ ./) { }
409 0 0 if ($diff == 2)
410 0 0 if ($diff == 3)
411 0 0 if ($diff == 4)
412 0 0 if ($set2 =~ s/\x81\x40\x81\x40\x81\x40$/ \201\@ \201\@ /) { }
415 0 0 if ($diff == 5)
416 0 0 if ($diff == 6)
417 0 0 if ($set2 =~ s/\x81\x40\x81\x40\x81\x40\x81\x40\x81\x40$/ \201\@ \201\@ \201\@ . /) { }
420 0 0 if ($diff == 7)
421 0 0 if ($diff == 8)
422 0 0 if ($diff == 9)
423 0 0 if ($set2 =~ s/\x81\x40\x81\x40\x81\x40\x81\x40$/ \201\@ \201\@ \201\@ /) { }
426 0 0 if ($diff == 10)
447 0 0 if ($diff == 1)
448 0 0 if ($set2 =~ s/^\x81\x40\x81\x40\x81\x40\x81\x40\x81\x40/. \201\@ \201\@ \201\@ /) { }
451 0 0 if ($diff == 2)
452 0 0 if ($diff == 3)
453 0 0 if ($diff == 4)
454 0 0 if ($set2 =~ s/^\x81\x40\x81\x40\x81\x40/ \201\@ \201\@ /) { }
457 0 0 if ($diff == 5)
458 0 0 if ($diff == 6)
459 0 0 if ($set2 =~ s/^\x81\x40\x81\x40\x81\x40\x81\x40\x81\x40/ . \201\@ \201\@ \201\@ /) { }
462 0 0 if ($diff == 7)
463 0 0 if ($diff == 8)
464 0 0 if ($diff == 9)
465 0 0 if ($set2 =~ s/^\x81\x40\x81\x40\x81\x40\x81\x40/ \201\@ \201\@ \201\@ /) { }
468 0 0 if ($diff == 10)
480 0 0 if $code eq 'euc'
481 0 0 if $code eq 'sjis'
492 0 0 if $fit >= $set
501 0 0 if $fit == $temp2
506 0 0 unless $flag
520 0 0 if $fit >= $set
529 0 0 if $fit == $temp2
534 0 0 unless $flag
550 0 0 if $code eq 'euc'
551 0 0 if $code eq 'sjis'
563 0 0 $multiple - int($multiple) ? :
570 0 0 if $shorter == $temp2
575 0 0 unless $flag
590 0 0 $multiple - int($multiple) ? :
597 0 0 if $shorter == $temp2
602 0 0 unless $flag