line |
l |
!l&&r |
!l&&!r |
condition |
39
|
0 |
0 |
0 |
$mock->generators->{$type} // $mock->generators->{"SQL::$type"} |
|
0 |
0 |
0 |
($mock->generators->{$type} // $mock->generators->{"SQL::$type"}) // $type_generators{$type} && 'Mock::Data::GeneratorSub'->new('Mock::Data::Plugin::SQLTypes'->can($type)) |
90
|
15 |
10 |
5 |
shift() // ($params ? $params->{'size'} : undef) |
175
|
5 |
0 |
5 |
shift() // ($params ? $params->{'size'} : undef) |
184
|
0 |
0 |
0 |
$json //= do {
local $@;
Carp::croak("No JSON module found. This must be installed for the SQL::json generator.") unless my $mod = eval {
do {
require JSON::MaybeXS;
'JSON::MaybeXS'
}
} || eval {
do {
require JSON;
'JSON'
}
} || eval {
do {
require JSON::PP;
'JSON::PP'
}
};
$mod->new->canonical->ascii
} |
188
|
0 |
0 |
0 |
eval {
do {
require JSON::MaybeXS;
'JSON::MaybeXS'
}
} || eval {
do {
require JSON;
'JSON'
}
} || eval {
do {
require JSON::PP;
'JSON::PP'
}
} |
197
|
0 |
0 |
10 |
shift() // ($params ? $params->{'data'} : undef) |