Condition Coverage

blib/lib/JSprite.pm
Criterion Covered Total %
condition 0 320 0.0


and 3 conditions

line !l l&&!r l&&r condition
693 0 0 0 -d _ and -e _
0 0 0 -d _ and -e _ and -r _
737 0 0 0 $file && $lock_try
902 0 0 0 $self->{'sprite_forcereplace'} and -w $blobfile
0 0 0 $self->{'sprite_forcereplace'} and -w $blobfile and -e $tempfile
1179 0 0 0 $self->{'StrictCharComp'} == 0 and do { $$self{'types'} }->{$ONE} eq 'CHAR'
1262 0 0 0 $self->{'sprite_nocase'} and $isalike
1385 0 0 0 $self->{'sprite_reclimit'} and $loop >= $self->{'sprite_reclimit'}
1393 0 0 0 $types[$i] and $rawvalue =~ /^\d+$/o
1490 0 0 0 $matchcnt and $matchcnt > $#valuelist
1540 0 0 0 length $rawvalue > 0 and do { $$self{'types'} }->{$jj} =~ /$NUMERICTYPES/
1557 0 0 0 do { $$self{'types'} }->{$jj} eq 'FLOAT' and int $rawvalue != int $k
1564 0 0 0 do { $$self{'types'} }->{$jj} eq 'CHAR' and length $rawvalue > 0
1596 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
1709 0 0 0 length $fieldval > 0 and do { $$self{'types'} }->{$j} =~ /$NUMERICTYPES/
1755 0 0 0 $self->{'sprite_actlimit'} > 0 and $#{$results;} >= $self->{'sprite_actlimit'}
1796 0 0 0 -e _ and -s _
0 0 0 -e _ and -s _ and -r _
1822 0 0 0 -e _ and -T _
0 0 0 -e _ and -T _ and -s _
0 0 0 -e _ and -T _ and -s _ and -r _
1837 0 0 0 $blobglob and $bloberror
1890 0 0 0 $column_stuff =~ /^table_name\s*$/io and $table =~ /^(user|all)_tables$/io
1969 0 0 0 not $parincnt and $found_parin
2502 0 0 0 length $value > 0 and $tp =~ /$NUMERICTYPES/
2519 0 0 0 $tp eq 'FLOAT' and int $value != int $rawvalue
2526 0 0 0 $tp eq 'CHAR' and length $rawvalue > 0
2566 0 0 0 $self->{'sprite_forcereplace'} and -e $new_file
2682 0 0 0 $self->{'lengths'}{$fd} < $oldln and not $tp =~ /$BLOBTYPES/
2699 0 0 0 defined $olddf and not defined $self->{'defaults'}{$fd}
2713 0 0 0 length $self->{'defaults'}{$fd} > 0 and do { $$self{'types'} }->{$fd} =~ /$NUMERICTYPES/
2732 0 0 0 do { $$self{'types'} }->{$fd} eq 'FLOAT' and int $self->{'defaults'}{$fd} != int $val
2739 0 0 0 do { $$self{'types'} }->{$fd} eq 'CHAR' and length $self->{'defaults'}{$fd} > 0
2903 0 0 0 $self->{'sprite_forcereplace'} and -e $seq_file
2990 0 0 0 defined $self->{'defaults'}{$column} and length $self->{'defaults'}{$column}
3028 0 0 0 length $v > 0 and do { $$self{'types'} }->{$column} =~ /$NUMERICTYPES/
3045 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3074 0 0 0 do { $$self{'types'} }->{$column} eq 'FLOAT' and int $v != int $hash->{$column}
0 0 0 do { $$self{'types'} }->{$column} eq 'CHAR' and length $v > 0
3106 0 0 0 $matchcnt and $matchcnt > $#keyfields
3131 0 0 0 $self->{'_write'} =~ /^xml/io and $self->{'CBC'}
0 0 0 $self->{'_write'} =~ /^xml/io and $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3135 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3152 0 0 0 $status >= 1 and $self->{'sprite_forcereplace'}
0 0 0 $status >= 1 and $self->{'sprite_forcereplace'} and -e $new_file
3153 0 0 0 $status >= 1 and open FILE, ">$new_file"
3235 0 0 0 ${$$self{'scales'};}{do { $$self{'order'} }->[$i]} and ${$$self{'types'};}{do { $$self{'order'} }->[$i]} =~ /$NUMERICTYPES/
3250 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3273 0 0 0 do { $$self{'types'} }->{$column} eq 'CHAR' and length $record->{$column} > 0
3300 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3312 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3364 0 0 0 $self->{'_read'} =~ /^xml/io and $self->{'CBC'}
0 0 0 $self->{'_read'} =~ /^xml/io and $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3369 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} != 2
3479 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} != 2
3531 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} != 2
3592 0 0 0 $self->{'CBC'} and $self->{'sprite_Crypt'} <= 2
3658 0 0 0 $self->{'sprite_forcereplace'} and -e $seq_file
3740 0 0 0 $_ and not /^$delim/
3741 0 0 0 /^['"]/ and not $snippet =~ /\\$/o

or 2 conditions

line l !l condition
631 0 0 $type ||= 'other'
842 0 0 $@ || $! || 'None'
1086 0 0 $m ||= ''
0 0 $i ||= ''
1360 0 0 ${$$self{'types'};}{$columns[$i]} =~ /$REFTYPES/o || 0
1369 0 0 do { $$self{'types'} }->{$i} =~ /$REFTYPES/o || 0
1981 0 0 $self->check_for_reload($table) || -501
2124 0 0 $self->check_for_reload($table) || -501
2236 0 0 $self->check_for_reload($table) || -501
2271 0 0 $self->check_for_reload($table) || -501
2306 0 0 $self->check_for_reload($table) || -501
2482 0 0 $self->{'LongReadLen'} || 0
2554 0 0 $self->check_for_reload($table) || -501
2616 0 0 $self->check_for_reload($table) || -501
2680 0 0 $self->{'LongReadLen'} || 0
2837 0 0 $self->check_for_reload($table) || -501
2840 0 0 $columns ||= ''
2909 0 0 $startval || 1
3204 0 0 $self->{'LongReadLen'} || '0'
0 0 $self->{'maxsizes'}{${$$self{'types'};}{do { $$self{'order'} }->[$i]}} || ${$$self{'lengths'};}{do { $$self{'order'} }->[$i]} || '0'
3505 0 0 $self->{'LongReadLen'} || 0
3664 0 0 $startval || 1

or 3 conditions

line l !l&&r !l&&!r condition
632 0 0 0 $self->{'_read'} || $self->{'_write'}
0 0 0 $delimiter ||= $self->{'_read'} || $self->{'_write'}
752 0 0 0 $self->{'sprite_lock_file'} ||= $self->{'default_lock'}
754 0 0 0 $self->{'sprite_lock_try'} ||= $self->{'default_try'}
993 0 0 0 $colmlist ||= join('|', @{$self->{'order'};})
1158 0 0 0 $one =~ /NUM\s*\(/ or do { $$self{'types'} }->{$ONE} =~ /$NUMERICTYPES/io
1179 0 0 0 $one =~ /NUM\s*\(/ or do { $$self{'types'} }->{$ONE} =~ /$NUMERICTYPES/iso
1374 0 0 0 $self->{'sprite_reclimit'} ||= $self->{'sprite_sizelimit'}
1381 0 0 0 not $condition or eval $condition
1551 0 0 0 $self->{'LongTruncOk'} or $rawvalue eq $k
0 0 0 $self->{'LongTruncOk'} or $rawvalue eq $k or do { $$self{'types'} }->{$jj} eq 'FLOAT'
1709 0 0 0 do { $$self{'types'} }->{$j} eq 'FLOAT' or do { $$self{'types'} }->{$j} eq 'DOUBLE'
1793 0 0 0 $self->{'file'} ne $file or $self->{'timestamp'} != $stats[9]
0 0 0 $self->{'table'} ne $table or ($self->{'file'} ne $file or $self->{'timestamp'} != $stats[9])
1894 0 0 0 not $full_path =~ /\S/o or $full_path =~ /$self->{'separator'}{$self->{'platform'}}$/
1953 0 0 0 $#column_stuff <= 0 or $column_stuff[0] eq ','
2366 0 0 0 not scalar @{$self->{'records'};} or $loop >= scalar @{$self->{'records'};}
2454 0 0 0 $4 || $3 || $2 || $1
2513 0 0 0 $self->{'LongTruncOk'} or $value eq $rawvalue
0 0 0 $self->{'LongTruncOk'} or $value eq $rawvalue or $tp eq 'FLOAT'
2630 0 0 0 $4 || $3 || $2 || $1
2692 0 0 0 $self->{'types'}{$fd} =~ /$REFTYPES/o or $tp =~ /$REFTYPES/o
2725 0 0 0 $self->{'LongTruncOk'} or do { $$self{'types'} }->{$fd} =~ /$BLOBTYPES/
0 0 0 $self->{'LongTruncOk'} or do { $$self{'types'} }->{$fd} =~ /$BLOBTYPES/ or $self->{'defaults'}{$fd} eq $val
0 0 0 $self->{'LongTruncOk'} or do { $$self{'types'} }->{$fd} =~ /$BLOBTYPES/ or $self->{'defaults'}{$fd} eq $val or do { $$self{'types'} }->{$fd} eq 'FLOAT'
2883 0 0 0 $values[$i] =~ /\s*(\w+).NEXTVAL\s*$/o or $values[$i] =~ /\s*(\w+).CURRVAL\s*$/o
3006 0 0 0 length $values[$loop] or not length $self->{'defaults'}{$column}
3068 0 0 0 $self->{'LongTruncOk'} or $v eq $hash->{$column}
0 0 0 $self->{'LongTruncOk'} or $v eq $hash->{$column} or do { $$self{'types'} }->{$column} eq 'FLOAT'
3167 0 0 0 $self->lock or $self->display_error(-515)
3473 0 0 0 $self->lock or $self->display_error(-515)
3722 0 0 0 not $_ or s/^$delim//