Condition Coverage

blib/lib/Date/Period/Human.pm
Criterion Covered Total %
condition 28 46 60.8


and 3 conditions

line !l l&&!r l&&r condition
156 2 4 59 $mysql_date and $mysql_date =~ /^(\d{4})-(\d{2})-(\d{2})\s(\d{2}):(\d{2}):(\d{2})$/
198 2 56 21 $Dd == 0 and $Dh >= 1
2 0 56 $Dd == 0 and $Dh == 0
2 21 35 $Dd == 0 and $Dh == 0 and $Dm > 0
2 0 21 $Dd == 0 and $Dh == 0
2 0 21 $Dd == 0 and $Dh == 0 and $Dm == 0
0 14 7 $Dd == 0 and $Dh == 0 and $Dm == 0 and $Ds > 5
0 16 0 $Dy == 0 and $DM < -12
0 14 0 $Dd == 0 and $Dh <= -1
0 0 14 $Dd == 0 and $Dh == 0
0 14 0 $Dd == 0 and $Dh == 0 and $Dm < 0
0 0 14 $Dd == 0 and $Dh == 0
0 0 14 $Dd == 0 and $Dh == 0 and $Dm == 0
0 14 0 $Dd == 0 and $Dh == 0 and $Dm == 0 and $Ds < -5

or 2 conditions

line l !l condition
148 9 1 $args->{'lang'} || 'nl'
159 4 2 $mysql_date ||= ''