| line | % | coverage | condition |
| 356 | 100 | | $path // "" |
| 362 | 100 | | length $last and $last =~ /\A[A-Za-z_]/ |
| 566 | 100 | | Params::Get::get_params(undef, \@_) // {} |
| 591 | 100 | | defined $args->{'host'} or -d $args->{'directory'} |
| 598 | 100 | | not length $args->{'table'} or $args->{'table'} =~ m[[/\\\x00]] |
| 807 | 100 | | $settings->{'database'} // "" |
| 808 | 100 | | $settings->{'host'} // "localhost" |
| 812 | 67 | | defined $port and not $port =~ /$MARIADB_PORT_RE/ |
| 913 | 100 | | $doubled ||= $line =~ /""/ |
| 939 | 100 | | $escape // "\\" |
| 950 | 50 | | $csv->eof or eof $fh or tell $fh == $at |
| 956 | 100 | | not defined $cell && $cell =~ /\S/ or $cell =~ /\A\s*#/ |
| 100 | | defined $cell && $cell =~ /\S/ |
| 1340 | 67 | | defined $path and -f $path |
| 1351 | 75 | | $window =~ /<!ENTITY|\0/ or not $bom_checked and $window =~ /\A(?:\xFF\xFE|\xFE\xFF)/ |
| 1388 | 33 | | defined $text and length $text |
| 1410 | 100 | | A | B | C | D | dec |
|---|
| 0 | 0 | 0 | X | 0 | | 0 | 0 | 1 | 0 | 0 | | 0 | 0 | 1 | 1 | 1 | | 0 | 1 | X | X | 1 | | 1 | X | X | X | 1 |
| not defined $row_key or $score[0] > $best[0] or $score[0] == $best[0] and $score[1] > $best[1] |
| 1441 | 100 | | @parts and $parts[0] eq $row_key |
| 1443 | 100 | | length $col and not $seen{$col}++ |
| 1454 | 100 | | $row->{$_} //= "" |
| 1497 | 50 | | $t // "" |
| 1504 | 50 | | $@ // "" |
| 1568 | 50 | | -s $path // 0 |
| 75 | | not defined $want and (-s $path // 0) > $JSON_STREAM_BYTES and _json_starts_with($path, "[") |
| 1585 | 75 | | ref $data eq "HASH" and %{$data;} and not grep({ref $_ ne "HASH";} values %{$data;}) |
| 1589 | 67 | | $want // $lists[0] |
| 1629 | 100 | | $flatten and ref $v eq "HASH" and %{$v;} |
| 1633 | 67 | | &blessed($v) and $v->isa("JSON::PP::Boolean") |
| 1686 | 50 | | $@ // "" |
| 1720 | 100 | | defined $3 and not $depth and $3 =~ /[^\s,]/ |
| 1723 | 67 | | $c eq "{" or $c eq "[" |
| 1745 | 50 | | pos $buf // 0 |
| 1748 | 67 | | $opened and not $closed |
| 1769 | 67 | | exists $cells->{$name} and not $seen{$name}++ |
| 1801 | 75 | | $frame and $frame->{'object'} and $frame->{'want_key'} |
| 1806 | 75 | | $flatten and @stack > $depth and not grep({not $_->{'object'};} @stack[$depth - 1 .. $#stack]) |
| 1809 | 67 | | defined $under and not defined $top && $top eq $under |
| 33 | | defined $top && $top eq $under |
| 1817 | 100 | | defined $under and not defined $top && $top eq $under |
| 67 | | defined $top && $top eq $under |
| 1821 | 100 | | $c eq "}" or $c eq "]" |
| 50 | | $c eq "," and @stack and $stack[-1]{'object'} |
| 1866 | 67 | | scalar readline $jh // () |
| 1868 | 100 | | @lines > 1 and not grep({not /\A\s*\{.*\}\s*\z/;} @lines) |
| 1909 | 100 | | @args && @args % 2 == 0 |
| 100 | | @args == 1 && ref $args[0] eq 'HASH' |
| 1912 | 100 | | $opts and defined $opts->{'sort_by'} |
| 1915 | 100 | | defined $col and not $col =~ /$DA_SORTABLE_RE/ |
| 1918 | 100 | | $dir // "ASC" |
| 1930 | 100 | | $rows // [] |
| 1931 | 100 | | @page and exists $page[0]{$col} |
| 1933 | 50 | | $Database::BI::Model::DataSource::a->{$col} // "" |
| 50 | | $Database::BI::Model::DataSource::b->{$col} // "" |
| 1934 | 50 | | $Database::BI::Model::DataSource::b->{$col} // "" |
| 50 | | $Database::BI::Model::DataSource::a->{$col} // "" |
| 1936 | 100 | | $offset and $offset =~ /\A\d+\z/ |
| 1937 | 100 | | defined $limit and $limit =~ /\A\d+\z/ and $limit < @page |
| 1951 | 67 | | $csv and $csv->parse($line) |
| 1967 | 100 | | $v =~ /\A[+\-]?\d[\d,]*(?:\.\d+)?\z/ or $v =~ /\A\(\d[\d,]*(?:\.\d+)?\)\z/ |
| 100 | | $v =~ /\A\d{4}-\d{2}-\d{2}\z/ or $v =~ m[\A\d{1,2}/\d{1,2}/\d{4}\z] |
| 2516 | 100 | | index($path, "\0") == -1 and do {
BEGIN {${^WARNING_BITS} = "\x55\x55\x51\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55"}
-e $path
} |
| 2607 | 67 | | defined $path and -r $path |
| 2618 | 50 | | $cell->value // "" |
| 2698 | 67 | | $self->{'_column_order'} and @{$self->{'_column_order'};} |
| 2709 | 100 | | defined $self->{'_redis_url'} and $self->{'_db'} |
| 2710 | 50 | | $self->{'_db'}->columns // [] |
| 2711 | 50 | | $self->{'_id_col'} // "entry" |
| 2988 | 100 | | defined $self->{'_file_path'} and -f $self->{'_file_path'} |
| 2989 | 67 | | $self->{'_db'} and $self->{'_db'}->can("updated") |
| 3029 | 100 | | $self->{'_db'} and $self->{'_db'}->can("schema") |
| 3032 | 100 | | $@ or ref $schema ne "HASH" |
| 3161 | 25 | | defined $self->{'_order_col'} and @args and not ref $args[0] |
| 3164 | 0 | | exists $asked{'limit'} and not $asked{'sort_by'} |
| 3176 | 100 | | $cache and not @args |
| 3188 | 75 | | defined $self->{'_url'} and ref $data eq "ARRAY" and grep {ref $_ ne "HASH";} @{$data;} |
| 3190 | 100 | | $cache and not @args and defined $data |
| 3245 | 100 | | defined $self->{'_url'} and grep {ref $_ ne "HASH";} @{$data;} |
| 3300 | 100 | | defined $key and exists $COUNT_MEMO{$key} |
| 3317 | 33 | | defined $self->{'_url'} or defined $self->{'_mariadb'} |
| 3322 | 50 | | $self->{'_internal_table'} // "" |
| 50 | | $self->{'_table'} // "" |