Condition Coverage

blib/lib/Teng/Plugin/SearchBySQLAbstractMore.pm
Criterion Covered Total %
condition 20 31 64.5


and 3 conditions

line !l l&&!r l&&r condition
138 8 1 1 exists $opt{'replace'} and $opt{'replace'}

or 2 conditions

line l !l condition
87 21 1 $where || {}
141 3 6 $opt{'alias'} || 'search'

or 3 conditions

line l !l&&r !l&&!r condition
37 28 9 0 $sql_abstract_more{$class} ||= "SQL::Abstract::More"->new(%{$new_option{$class};})
82 8 13 0 $_opt->{'-from'} || $table_name
1 21 0 $_opt->{'from'} ||= $_opt->{'-from'} || $table_name
85 9 66 0 $args{$_k} ||= $_opt->{$key}
89 0 8 14 delete $args{'page'} || delete $args{'-page'}
90 0 8 0 delete $args{'rows'} || delete $args{'-rows'}
106 0 1 0 $asc_desc eq "asc" or $asc_desc eq "desc"
115 0 1 0 $asc_desc eq "asc" or $asc_desc eq "desc"