Condition Coverage

blib/lib/Mojolicious/Command/Author/generate/resources.pm
Criterion Covered Total %
condition 13 21 61.9


and 2 conditions

line l !l condition
145 55 38 -r $_ and return $_

and 3 conditions

line !l l&&!r l&&r condition
254 4 0 8 $col->{'TYPE_NAME'} =~ /char/i and $col->{'COLUMN_SIZE'} < 256
2 0 0 $col->{'TYPE_NAME'} =~ /char/i and $col->{'COLUMN_SIZE'} > 255
296 4 0 8 $col->{'TYPE_NAME'} =~ /char/i and $col->{'COLUMN_SIZE'} < 256

or 2 conditions

line l !l condition
349 10 6 $col->{'COLUMN_SIZE'} || 0
372 0 0 $col->{'DECIMAL_DIGITS'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
232 18 4 0 $tci->{$table} //= $self->app->$db_helper->db->dbh->column_info(undef, undef, $table, '%')->fetchall_arrayref({})
254 2 0 2 $col->{'TYPE_NAME'} =~ /text/i or $col->{'TYPE_NAME'} =~ /char/i and $col->{'COLUMN_SIZE'} > 255