Branch Coverage

blib/lib/Religion/Islam/Quran.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
410 0 0 $args{'Language'} ? :
411 0 0 $args{'DatabasePath'} ? :
413 0 0 unless -d $$self{'DatabasePath'}
423 0 0 unless (-f $$self{'DatabaseFile'})
424 0 0 unless open IN, '<:encoding(UTF-8)', "$$self{'DatabaseFile'}"
436 0 0 unless opendir DBdir, $$self{'DatabasePath'}
438 0 0 if ($file eq '.' or $file eq '..')
463 0 0 if ($surah < 1 or $surah > 114)
470 0 0 if ($surah < 1 or $surah > 114)
472 0 0 unless (exists $surah_name{$lang})
481 0 0 unless (exists $surah_name{$lang})
489 0 0 unless $quran{"${surah}_$ayah"}
497 0 0 unless wantarray
499 0 0 if ($surah < 1 or $surah > 114)
502 0 0 if ($fromayah < 1 or $fromayah > $ayats)
503 0 0 if ($toayah < 1 or $toayah > $ayats)
505 0 0 if ($fromayah > $toayah)
520 0 0 if ($surah < 1 or $surah > 114)
523 0 0 if ($fromayah < 1 or $fromayah > $ayats)
524 0 0 if ($toayah < 1 or $toayah > $ayats)
526 0 0 if ($fromayah > $toayah)
541 0 0 if ($surah < 1 or $surah > 114)
546 0 0 if ($quran{"${surah}_$ayah"} =~ /$findwhat/i)
557 0 0 if ($surah < 1 or $surah > 114)
609 0 0 if ($surah < 1 or $surah > 114)
610 0 0 if ($SajdahCompulsaryAyats{$surah} eq $ayah) { }
626 0 0 if ($surah < 1 or $surah > 114)
627 0 0 if ($SajdahRecommendedAyats{$surah} eq $ayah) { }
637 0 0 if ($surah < 1 or $surah > 114)
653 0 0 if ($surah < 1 or $surah > 114)
655 0 0 if ($medinah == $surah)