line |
!l |
l&&!r |
l&&r |
condition |
312
|
0 |
0 |
0 |
fcread($flags) and not fctrunc($flags)
|
324
|
0 |
0 |
0 |
defined $coldb->{'xdmin'} && defined $coldb->{'xdmax'}
|
375
|
0 |
0 |
0 |
$coldb->{'xN'} and not $coldb->{'xf'}{'N'}
|
432
|
0 |
0 |
0 |
defined $coldb->{'dbdir'} && !grep({not $_->opened;} grep({defined $_;} @$coldb{$coldb->dbkeys}))
|
780
|
0 |
0 |
0 |
not $areqs and $ddcmode <= 0
|
|
0 |
0 |
0 |
not $areqs and $ddcmode <= 0 and $req =~ /^$sepre* ##-- initial separators (optional)
|
812
|
0 |
0 |
0 |
defined $defaultIndex and not defined $areq
|
818
|
0 |
0 |
0 |
($opts{'ddcmode'} || 0) < 1 and $areq
|
|
0 |
0 |
0 |
($opts{'ddcmode'} || 0) < 1 and $areq and $areq =~ /^$regre$/
|
|
0 |
0 |
0 |
$ddcmode and ($areq // '') ne ''
|
821
|
0 |
0 |
0 |
$aq->can('setIndexName') and $attr ne ''
|
861
|
0 |
0 |
0 |
not $err = $@ and defined $q
|
940
|
0 |
0 |
0 |
$q->can('getExpanders') and @{$q->getExpanders;}
|
958
|
0 |
0 |
0 |
$aq and $aq->isa('DDC::Any::CQTokAny')
|
963
|
0 |
0 |
0 |
$q->isa('DDC::Any::CQFSort') and $q->getArg1 ne '' || $q->getArg2 ne ''
|
987
|
0 |
0 |
0 |
$aq and $aq->isa('DDC::Any::CQTokAny')
|
1087
|
0 |
0 |
0 |
$_->[1] && !UNIVERSAL::isa($_->[1], 'DDC::Any::CQTokAny')
|
1232
|
0 |
0 |
0 |
not ref $req and $req =~ /^\s*(?:\#by)?\s*\[(.*)\]\s*$/
|
1253
|
0 |
0 |
0 |
defined $_->[1] and not UNIVERSAL::isa($_->[1], 'DDC::Any::CQTokAny')
|
1372
|
0 |
0 |
0 |
$opts{'slice2keys'} and not ref $opts{'slice2keys'}
|
line |
l |
!l |
condition |
370
|
0 |
0 |
$coldb->{'index_xf'} // 1
|
379
|
0 |
0 |
$coldb->{'index_cof'} // 1
|
388
|
0 |
0 |
'DiaColloDB::Relation::DDC'->new(-r "$dbdir/ddc.hdr" ? ('base', "$dbdir/ddc") : ())->fromDB($coldb) // 'DiaColloDB::Relation::DDC'
|
393
|
0 |
0 |
$coldb->{'tdfopts'} //= {}
|
418
|
0 |
0 |
$coldb->{'dbdir'} // ''
|
512
|
0 |
0 |
$coldb->{'info'} // {}
|
608
|
0 |
0 |
$opts{'logPrefix'} //= 'enumIds(): fetch ids'
|
641
|
0 |
0 |
$_ // ''
|
665
|
0 |
0 |
$date //= ''
|
679
|
0 |
0 |
$dlo // ''
|
680
|
0 |
0 |
$dhi // ''
|
688
|
0 |
0 |
$_ // ''
|
754
|
0 |
0 |
$opts{'warn'} // 'warn'
|
756
|
0 |
0 |
$opts{'logas'} // ''
|
757
|
0 |
0 |
$opts{'parseas'} || $logas || 'query'
|
758
|
0 |
0 |
$opts{'ddcmode'} || 0
|
813
|
0 |
0 |
$defaultIndex // ''
|
|
0 |
0 |
$attr // ''
|
816
|
0 |
0 |
$attr // ''
|
|
0 |
0 |
$areq // ''
|
818
|
0 |
0 |
$opts{'ddcmode'} || 0
|
|
0 |
0 |
$areq // ''
|
837
|
0 |
0 |
$_ // ''
|
|
0 |
0 |
$areq // ''
|
838
|
0 |
0 |
$vals->[0] // '*'
|
|
0 |
0 |
$areq // ''
|
880
|
0 |
0 |
$err // ''
|
912
|
0 |
0 |
$opts{'warn'} // 'warn'
|
914
|
0 |
0 |
$opts{'logas'} // ''
|
1011
|
0 |
0 |
$_->[0] // '(undef)'
|
1061
|
0 |
0 |
$opts{'warn'} // 'warn'
|
1188
|
0 |
0 |
$opts{'logas'} || 'query2filter'
|
1226
|
0 |
0 |
$opts{'slice'} || '0'
|
1239
|
0 |
0 |
$opts{'matchid'} // 0
|
1305
|
0 |
0 |
$_->[1] // ''
|
1315
|
0 |
0 |
$rel || 'cof'
|
1316
|
0 |
0 |
$rel // '-undef-'
|
1330
|
0 |
0 |
(grep {defined $_;} @$opts{'query', 'q', 'lemma', 'lem', 'l'})[0] // ''
|
1331
|
0 |
0 |
$opts->{'date'} //= ''
|
1332
|
0 |
0 |
$opts->{'slice'} //= 1
|
1334
|
0 |
0 |
$opts->{'score'} //= 'f'
|
1335
|
0 |
0 |
$opts->{'eps'} //= 0
|
1336
|
0 |
0 |
$opts->{'kbest'} //= -1
|
1337
|
0 |
0 |
$opts->{'cutoff'} //= ''
|
1338
|
0 |
0 |
$opts->{'global'} //= 0
|
1339
|
0 |
0 |
$opts->{'strings'} //= 1
|
1340
|
0 |
0 |
$opts->{'fill'} //= 0
|
1341
|
0 |
0 |
$opts->{'onepass'} //= 0
|
1370
|
0 |
0 |
$opts{'slice2keys'} //= ''
|
1378
|
0 |
0 |
$_->[1] // ''
|
1388
|
0 |
0 |
$rel || 'cof'
|
1389
|
0 |
0 |
$rel // '-undef-'
|
1429
|
0 |
0 |
$rel //= 'cof'
|
1438
|
0 |
0 |
$_->[1] // ''
|
1449
|
0 |
0 |
$rel || 'cof'
|
1450
|
0 |
0 |
$rel // '-undef-'
|
1466
|
0 |
0 |
(grep({defined $_;} @$opts{map {"$ab$_";} 'query', 'q', 'lemma', 'lem', 'l'}), grep({defined $_;} @$opts{'query', 'q', 'lemma', 'lem', 'l'}))[0] // ''
|
1471
|
0 |
0 |
(map({defined $$opts{"a$_"} ? $$opts{"a$_"} : ();} @{$ATTR_RALIAS{$attr};}), map({defined $opts->{$_} ? $opts->{$_} : ();} @{$ATTR_RALIAS{$attr};}))[0] // ''
|
1474
|
0 |
0 |
(map({defined $$opts{"b$_"} ? $$opts{"b$_"} : ();} @{$ATTR_RALIAS{$attr};}), map({defined $opts->{$_} ? $opts->{$_} : ();} @{$ATTR_RALIAS{$attr};}))[0] // ''
|
1480
|
0 |
0 |
$opts->{'diff'} //= 'adiff'
|
1481
|
0 |
0 |
$opts->{'fill'} //= 1
|
line |
l |
!l&&r |
!l&&!r |
condition |
212
|
0 |
0 |
0 |
ref $that || $that
|
288
|
0 |
0 |
0 |
$dbdir //= $coldb->{'dbdir'}
|
292
|
0 |
0 |
0 |
$opts{'flags'} // $coldb->{'flags'}
|
298
|
0 |
0 |
0 |
not -d $dbdir or remove_tree($dbdir)
|
324
|
0 |
0 |
0 |
not $coldb->{'version'} or 'version'->parse($coldb->{'version'}) < 'version'->parse($min_version_compat)
|
361
|
0 |
0 |
0 |
$$coldb{"pack_t$attr"} //= "\@$atat$coldb->{'pack_id'}"
|
394
|
0 |
0 |
0 |
$coldb->{'tdfopts'}{$_} //= $TDF_OPTS{$_}
|
450
|
0 |
0 |
0 |
ref $_[0]{$_} || $_ =~ /^(?:dbdir$|flags$|njobs$|perms$|info$|tdfopts$|log|debug)/
|
457
|
0 |
0 |
0 |
defined $hdr || fccreat($coldb->{'flags'})
|
609
|
0 |
0 |
0 |
UNIVERSAL::isa($req, 'DDC::Any::CQTokInfl') or UNIVERSAL::isa($req, 'DDC::Any::CQTokExact')
|
|
0 |
0 |
0 |
UNIVERSAL::isa($req, 'DDC::Any::CQTokSet') or UNIVERSAL::isa($req, 'DDC::Any::CQTokSetInfl')
|
|
0 |
0 |
0 |
UNIVERSAL::isa($req, 'Regexp') or $req =~ m[^/]
|
666
|
0 |
0 |
0 |
UNIVERSAL::isa($date, 'Regexp') or $date =~ m[^/]
|
699
|
0 |
0 |
0 |
not $dlo or $dlo < $coldb->{'xdmin'}
|
700
|
0 |
0 |
0 |
not $dhi or $dhi > $coldb->{'xdmax'}
|
704
|
0 |
0 |
0 |
$dlo // $coldb->{'xdmin'}
|
|
0 |
0 |
0 |
$dhi // $coldb->{'xdmax'}
|
715
|
0 |
0 |
0 |
$_[0]{'_qcompiler'} ||= 'DDC::Any::CQueryCompiler'->new
|
725
|
0 |
0 |
0 |
$@ or not defined $q
|
818
|
0 |
0 |
0 |
UNIVERSAL::isa($areq, 'RegExp') or ($opts{'ddcmode'} || 0) < 1 and $areq and $areq =~ /^$regre$/
|
|
0 |
0 |
0 |
not $areq or $areq =~ /^\s*$reqre\s*$/
|
888
|
0 |
0 |
0 |
defined $opts{'mapand'} || $req0 =~ /\&\&/
|
|
0 |
0 |
0 |
$opts{'mapand'} or not defined $opts{'mapand'} || $req0 =~ /\&\&/
|
942
|
0 |
0 |
0 |
$q->getIndexName || $default
|
963
|
0 |
0 |
0 |
$q->isa('DDC::Any::CQFRandomSort') or $q->isa('DDC::Any::CQFRankSort')
|
|
0 |
0 |
0 |
$q->getArg1 ne '' || $q->getArg2 ne ''
|
1010
|
0 |
0 |
0 |
$opts{'allowUnknown'} || $coldb->hasAttr($attr) || $allowExtra && exists $allowExtra->{$attr}
|
1074
|
0 |
0 |
0 |
$opts{'tenum'} // $coldb->{'tenum'}
|
1191
|
0 |
0 |
0 |
$attr // $q->getIndexName
|
1193
|
0 |
0 |
0 |
UNIVERSAL::isa($q, 'DDC::Any::CQTokExact') or UNIVERSAL::isa($q, 'DDC::Any::CQTokInfl')
|
|
0 |
0 |
0 |
UNIVERSAL::isa($q, 'DDC::Any::CQTokSet') or UNIVERSAL::isa($q, 'DDC::Any::CQTokSetInfl')
|
1221
|
0 |
0 |
0 |
$req //= $coldb->attrs
|
1333
|
0 |
0 |
0 |
$opts->{'groupby'} ||= join(',', map({quotemeta $_;} @{$that->attrs;}))
|