Branch Coverage

blib/lib/CDS.pm
Criterion Covered Total %
branch 3 3154 0.1


line true false branch
60 0 0 unless open my $fh, "<:bytes", $filename
71 0 0 unless open my $fh, ">:bytes", $filename
81 0 0 unless open my $fh, "<:utf8", $filename
92 0 0 unless open my $fh, ">:utf8", $filename
102 0 0 unless opendir my $dh, $folder
114 0 0 unless $path =~ m[^(.+)/(.*?)$]
116 0 0 unless length $2
134 0 0 $min < $number ? :
145 0 0 $max > $number ? :
155 0 0 $b ? :
0 0 $a ? :
0 0 $a && $b ? :
191 0 0 $value ? :
197 0 0 if $value >= 0 and $value < 1
198 0 0 if $value >= -128 and $value < 128
199 0 0 if $value >= -32768 and $value < 32768
206 0 0 if ($value > 0) { }
0 0 elsif ($first == 255) { }
208 0 0 if $first >= 128
211 0 0 if $next >= 128
218 0 0 if $next < 128
231 0 0 if $value < 1
232 0 0 if $value < 256
233 0 0 if $value < 65536
262 0 0 unless length $bytes
264 0 0 if $value & 128
288 0 0 if length $bytes == 4
289 0 0 if length $bytes == 8
303 0 0 unless $label eq "messages" or $label eq "private"
313 0 0 unless exists $byAccountHash{$accountHashBytes}
316 0 0 unless exists $byBoxLabel->{$boxLabel}
327 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
328 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
329 0 0 if defined $hash and ref $hash ne "CDS::Hash"
333 0 0 if length $signature < 1
336 0 0 unless $publicKey->verifyHash($hash, $signature)
346 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
396 0 0 if $member->isActive
406 0 0 if $member->isActive
415 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
423 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
426 0 0 if $actorHash->equals($actor->publicKey->hash)
454 0 0 $member->isActive ? :
468 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
484 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
526 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
533 0 0 if defined $hash and ref $hash ne "CDS::Hash"
540 0 0 if $member and $revision <= $member->revision
547 0 0 if defined $hash and ref $hash ne "CDS::Hash"
556 0 0 if defined $record and ref $record ne "CDS::Record"
559 0 0 unless defined $linkedPublicKeys
567 0 0 $linkedPublicKeys ? :
578 0 0 if $revision <= $o->{'entrustedActorsRevision'}
586 0 0 if defined $hash and ref $hash ne "CDS::Hash"
595 0 0 if defined $hash and ref $hash ne "CDS::Hash"
602 0 0 if defined $record and ref $record ne "CDS::Record"
606 0 0 unless $o->mergeEntrustedActors($revisionRecord->asInteger)
613 0 0 if defined $record and ref $record ne "CDS::Record"
616 0 0 unless defined $linkedPublicKeys
621 0 0 $linkedPublicKeys ? :
629 0 0 if defined $record and ref $record ne "CDS::Record"
639 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
647 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
656 0 0 if defined $record and ref $record ne "CDS::Record"
659 0 0 unless defined $linkedPublicKeys
666 0 0 unless $a->storeUrl cmp $b->storeUrl
667 0 0 unless $member->revision
669 0 0 if (not defined $currentStoreUrl or $currentStoreUrl ne $member->storeUrl)
676 0 0 if (not defined $currentStatus or $currentStatus ne $member->status)
681 0 0 $linkedPublicKeys ? :
685 0 0 if ($o->{'entrustedActorsRevision'})
708 0 0 if (not defined $currentStoreUrl or $currentStoreUrl ne $actor->storeUrl)
713 0 0 $linkedPublicKeys ? :
723 0 0 if defined $hash and ref $hash ne "CDS::Hash"
739 0 0 if defined $hash and ref $hash ne "CDS::Hash"
763 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
779 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
795 0 0 unless defined $this or defined $that
796 0 0 unless defined $this and defined $that
804 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
824 0 0 $storageStore->id eq $messagingStore->id ? :
876 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
922 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
929 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
931 0 0 if $actorHash->equals($o->{'keyPair'}->publicKey->hash)
933 0 0 if $memberSelector->child("revoked")->isSet
943 0 0 if $child->child("active")->booleanValue
944 0 0 if $child->child("group data")->booleanValue
945 0 0 if $child->revision > $limit
952 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
970 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
974 0 0 unless $memberSelector->isSet
987 0 0 if $hash->equals($o->{'keyPair'}->publicKey->hash)
988 0 0 if $child->child("revoked")->isSet
989 0 0 unless $child->child("group data")->isSet
992 0 0 unless ($hash)
1000 0 0 if $member and $member->{'storeUrl'} eq $storeUrl and $member->{'actorOnStore'}->publicKey->hash->equals($hash)
1004 0 0 unless ($store)
1010 0 0 if ($member and $member->{'actorOnStore'}->publicKey->hash->equals($hash))
1017 0 0 if defined $storeError
1018 0 0 if (defined $invalidReason)
1036 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
1051 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1080 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1083 0 0 if $entrustedKey
1086 0 0 if defined $storeError
1087 0 0 if defined $invalidReason
1112 0 0 if $ok
1113 0 0 if $missingHash
1144 0 0 unless $o->{'sentList'}->hasChanges
1148 0 0 if $ok
1149 0 0 if $missingHash
1167 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1174 0 0 unless defined $store
1184 0 0 if $hash->equals($me)
1189 0 0 $activeSelector->booleanValue ? :
0 0 $revokedSelector->booleanValue ? :
1193 0 0 if $builder->mergeEntrustedActors($o->entrustedActorsSelector->revision)
1220 0 0 if defined $transferError
1221 0 0 if ($missingObject)
1234 0 0 if ($hashes)
1242 0 0 if defined $modifyError
1313 0 0 if ($isCompletion) { }
1315 0 0 if exists $ENV{'COMP_POINT'}
1322 0 0 if $actor->ui->hasError
1348 0 0 if ($welcome->isEnabled) { }
1439 0 0 unless ($o->procurePrivateData)
1462 0 0 unless $ok
1463 0 0 if $missingHash
1470 0 0 if defined $missingObject and ref $missingObject ne "CDS::Object"
1483 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
1495 0 0 if defined $source and ref $source ne "CDS::Source"
1512 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
1521 0 0 if $o->{'actorSelector'}->revision > $now - "CDS"->DAY
1532 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1541 0 0 if $stateSelector->bytesValue eq $state
1543 0 0 unless $envelopeHash
1575 0 0 if not $o->{'countMessages'}
1581 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1582 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
1583 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
1621 0 0 if $ok
1641 0 0 if defined $source and ref $source ne "CDS::Source"
1668 0 0 if defined $record and ref $record ne "CDS::Record"
1678 0 0 unless $child->isSet
1693 0 0 if length $record->child("actor")->bytesValue
1694 0 0 if $storeUrl ne $record->child("store")->textValue
1703 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1708 0 0 if $actorHash->bytes ne $record->child("actor")->bytesValue
1723 0 0 if $actorHashStartBytes ne substr($record->child("actor")->bytesValue, 0, $length)
1733 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1744 0 0 if $correctActor
1746 0 0 if ($storeUrl eq $record->child("store")->textValue)
1747 0 0 if $correctActor
1748 0 0 unless length $actorBytes
1762 0 0 if $file ne $record->child("key pair")->textValue
1773 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1795 0 0 if defined $accountLabel
1796 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1815 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1818 0 0 defined $label ? :
1831 0 0 defined $label ? :
1839 0 0 if defined $accountLabel
1840 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1855 0 0 defined $label ? :
1862 0 0 if $boxLabel eq "private"
1863 0 0 if $boxLabel eq "public"
1864 0 0 if $boxLabel eq "messages"
1875 0 0 if -e "/proc/" . $pid
1884 0 0 unless length $file
1893 0 0 unless length $storeUrl
1927 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1932 0 0 if defined $storeError
1933 0 0 unless $object
1939 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1949 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1959 0 0 if defined $object and ref $object ne "CDS::Object"
1962 0 0 unless $record->contains("signed")
1964 0 0 unless $signatureRecord->hash
1965 0 0 unless length $signatureRecord->bytes
1984 0 0 unless $url
1997 0 0 defined $o->{'cacheStore'} ? :
2024 0 0 unless $o->{'failedStores'}{$store->store->id}
2033 0 0 if ($storeUrl // "") eq ($o->{'cacheStoreUrl'} // "")
2056 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2057 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2065 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2066 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2073 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2074 0 0 if defined $object and ref $object ne "CDS::Object"
2075 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2083 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
2086 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2093 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
2095 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2096 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2103 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
2105 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2106 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2114 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2280 0 0 if substr($hash->bytes, 0, length $actorSelector->label) ne $actorSelector->label
2287 0 0 if $hasMembers
2293 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2299 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2308 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2318 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2334 0 0 if (defined $storeError)
2339 0 0 if (defined $invalidReason)
2355 0 0 if $wasMember
2356 0 0 unless $wasMember
2365 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2370 0 0 if ($value) { }
2391 0 0 unless ($hash)
2583 0 0 if $o->{'actor'}->messagingStore->id ne $o->{'actor'}->storageStore->id
2594 0 0 if defined $storeError
2595 0 0 if defined $invalidReason
2612 0 0 if defined $listError
2615 0 0 if (scalar @$hashes > 1)
2631 0 0 scalar @$hashes ? :
2632 0 0 unless $cardRecord
2640 0 0 if ($change->{'status'} eq 'entrusted') { }
2653 0 0 unless $o->{'without'}{$member->hash->bytes}
2662 0 0 if ($child->bytes eq 'actor group') { }
0 0 elsif ($child->bytes eq 'entrusted actors') { }
0 0 elsif ($child->bytes eq 'public key') { }
2675 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
2679 0 0 if defined $storeError
2680 0 0 unless $object
2684 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $cardHash)
2688 0 0 if defined $storeError1
2689 0 0 unless $cardObject
2696 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
2725 0 0 if $storeError
2726 0 0 if $missingHash
2736 0 0 if $modifyError
2830 0 0 unless scalar @{$o->{'stores'};}
2835 0 0 if $triedStores{$store->url}
2848 0 0 unless $o->{'hasErrors'}
2849 0 0 if $o->{'keyPair'}
2857 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2861 0 0 if ($success) { }
2954 0 0 unless length $e
2956 0 0 unless length $p
2958 0 0 unless length $q
2968 0 0 unless length $publicKeyObjectBytes
2972 0 0 unless $publicKeyRecord
2974 0 0 unless length $publicN
2976 0 0 unless length $publicE
2977 0 0 if $publicE ne $e
2978 0 0 if $publicN ne $n
3109 0 0 if $boxLabel =~ /^\./
3112 0 0 if $newestDate < $date
3115 0 0 if $filename =~ /^\./
3120 0 0 if ($timestamp > 0 and $timestamp < $envelopeExpirationLimit)
3128 0 0 if $newestDate < $date
3138 0 0 $newestDate == 0 ? :
3159 0 0 if $s[9] < $dateLimit
3178 0 0 if (exists $o->{'usedHashes'}{$hash}) { }
3182 0 0 if $entry
3210 0 0 if ($missing)
3218 0 0 if ($missing > 10 and $count > 5)
3239 0 0 if exists $o->{'usedHashes'}{$hashBytes}
3277 0 0 if ($o->{'missingObjects'}{$hashBytes})
3282 0 0 if exists $o->{'index'}{$hashBytes}
3290 0 0 unless (scalar @s)
3296 0 0 if $size < 4
3302 0 0 if $links > 160000
3303 0 0 if 4 + $links * 32 > $s[7]
3305 0 0 if $links > 0
3308 0 0 if length $hashes != $links * 32
3322 0 0 if scalar $entry->children > 2
3346 0 0 if $o->{'progress'} % 100
3354 0 0 scalar @s ? :
3421 0 0 unless open $o->{'fh'}, ">", $o->{'file'}
3443 0 0 if $o->{'countReported'} % 100 == 0
3451 0 0 if ($o->{'countReported'} == 0) { }
3523 0 0 if -e $o->{'filename'}
3871 0 0 unless $o->{'keyPairToken'}
3872 0 0 unless $o->{'store'}
3883 0 0 unless $o->{'keyPairToken'}
3884 0 0 unless $o->{'store'}
3897 0 0 unless $o->{'keyPairToken'}
3898 0 0 unless $o->{'store'}
3909 0 0 unless $o->{'keyPairToken'}
3910 0 0 unless $o->{'store'}
3911 0 0 unless $o->{'actorHash'}
3915 0 0 if $o->{'watchTimeout'}
3930 0 0 unless $o->{'keyPairToken'}
3931 0 0 unless $o->{'store'}
3937 0 0 unless $batch->{'actorHash'}
3947 0 0 unless $o->{'actor'}->isEnvelope($object)
3956 0 0 if $modifications->isEmpty
3977 0 0 unless $url =~ m[^(https?)://([^/]+)(/.*|)$]i
3984 0 0 if ($host =~ /^(.*)\@([^\@]*)$/) { }
3992 0 0 if ($host =~ /^(.*):(\d+)$/)
3993 0 0 if $protocol eq "http" and $2 == 80
3994 0 0 if $protocol eq "https" and $2 == 443
3998 0 0 if $path =~ m[//]
3999 0 0 if $path =~ m[/\.+/]
4000 0 0 if $path =~ m[/\.+$]
4009 0 0 if defined $contentObjectToSign
4020 0 0 unless "CDS"->writeBytesToFile(".cds-curl-bytesToSign", $bytesToSign)
4021 0 0 unless "CDS"->writeBytesToFile(".cds-curl-hashToSign", $hashToSign->bytes)
4022 0 0 unless "CDS"->writeBytesToFile(".cds-curl-signature", $signature)
4025 0 0 if $method ne "GET"
4029 0 0 $_ ne '-X' && $_ ne '-' && $_ ne '--dump-header' && $_ ne '-#' && substr($_, 0, 1) eq '-' ? :
0 0 scalar @$curlArgs ? :
4038 0 0 $text =~ m[[^a-zA-Z0-9\./\@:,_-]] ? :
4207 0 0 $node->status eq 'active' ? :
4212 0 0 $isMostRecentInformation ? :
4229 0 0 if ($o->{'label'})
4252 0 0 if $o->{'actorGroupToken'}
4259 0 0 if $o->{'me'}
4267 0 0 if (scalar @{$o->{'actorHashes'};})
4288 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
4291 0 0 length $o->{'label'} ? :
4293 0 0 $member->revision ? :
4294 0 0 $member->isActive ? :
4299 0 0 if ($actorGroup->entrustedActorsRevision)
4301 0 0 length $o->{'label'} ? :
4308 0 0 if not scalar $actorGroup->entrustedActors
4315 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4322 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4331 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
4332 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
4478 0 0 if scalar @actors
4497 0 0 if ($$entrusted{$accountToken->url})
4504 0 0 if (defined $storeError)
4509 0 0 if (defined $invalidReason)
4516 0 0 $$entrusted{$actorHash->hex} ? :
4535 0 0 if ($$entrusted{$actorHash->hex}) { }
4888 0 0 if $file =~ /^\./
4902 0 0 unless defined $o->{'label'}
4928 0 0 unless scalar @s
4930 0 0 unless Fcntl::S_ISDIR($mode)
4931 0 0 if defined $o->{'permissions'}->uid and $s[4] != $o->{'permissions'}->uid
4932 0 0 if defined $o->{'permissions'}->gid and $s[5] != $o->{'permissions'}->gid
4933 0 0 if ($mode & 511) != $o->{'permissions'}->baseFolderMode
4943 0 0 unless ($folderStore)
4952 0 0 unless ($folderStore->exists)
4996 0 0 unless $folderStore->checkPermissions($logger)
5013 0 0 unless $folderStore->checkPermissions($logger)
5030 0 0 unless $folderStore->checkPermissions($logger)
5064 0 0 if $error
5070 0 0 unless -d $folder
5078 0 0 if $o->{'keyPairToken'}
5080 0 0 if ($o->{'file'})
5101 0 0 if -e $deletedFolder
5102 0 0 unless -e $folder
5103 0 0 unless rename $folder, $deletedFolder
5116 0 0 if $filename =~ /^\./
5118 0 0 if (-f $file) { }
0 0 elsif (-d $file) { }
5125 0 0 unless rmdir $folder
5143 0 0 if ($o->{'wrong'} > 0) { }
5166 0 0 if $o->{'wrong'} > 0
5204 0 0 if length $item > $len and substr($item, 0, $len) eq $o->{'baseFolder'}
5206 0 0 if defined $expectedUid and $uid != $expectedUid
5207 0 0 if defined $expectedGid and $gid != $expectedGid
5208 0 0 if $mode != $expectedMode
5254 0 0 if $o->{'wrong'} > 0
5457 0 0 if defined $o->{'aesKey'}
5460 0 0 if ($o->{'saveData'}) { }
0 0 elsif ($o->{'saveObject'}) { }
0 0 elsif ($o->{'hexDump'}) { }
5745 0 0 unless $o->{'keyPairToken'}
5764 0 0 if ($o->{'my'}) { }
0 0 elsif ($o->{'actorHash'}) { }
0 0 elsif ($o->{'actorGroup'}) { }
5777 0 0 if $o->{'store'}
5778 0 0 unless scalar @stores
5782 0 0 unless $o->{'keyPairToken'}
5783 0 0 $preferredKeyPairToken->keyPair->equals($o->{'keyPairToken'}->keyPair) ? :
5807 0 0 if defined $storeError
5811 0 0 unless $count
5813 0 0 $boxToken->boxLabel eq 'messages' ? :
5814 0 0 $boxToken->boxLabel eq 'public' ? :
5818 0 0 if $count > 5
6029 0 0 if ($o->{'actorHash'} and $o->{'boxLabel'})
6047 0 0 unless $o->{'actor'}->isEnvelope($object)
6058 0 0 if ($o->{'purge'})
6060 0 0 if defined $error
6061 0 0 unless scalar @$hashes
6069 0 0 if $modifications->isEmpty
6074 0 0 unless defined $error
6077 0 0 if ($o->{'purge'} and scalar @$boxRemovals)
6223 0 0 if ($contentRecord->hashValue) { }
0 0 elsif (length $contentRecord->bytesValue) { }
6224 0 0 if ($envelope->contains('encrypted for')) { }
6230 0 0 if ($envelope->contains('head') and $envelope->contains('mac')) { }
6242 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6254 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6272 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6284 0 0 if ($aesKey) { }
6297 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6298 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
6302 0 0 if ($o->{'senderHash'}) { }
6314 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6323 0 0 unless ($aesKey)
6331 0 0 unless ($contentObject)
6339 0 0 unless ($content)
6346 0 0 unless $senderHash
6352 0 0 unless $mentionsSenderStore
6353 0 0 scalar $mentionsSenderStore ? :
6358 0 0 if ($senderHash and $senderStore) { }
0 0 elsif ($senderHash) { }
0 0 elsif ($senderStore) { }
0 0 elsif ($mentionsSenderStore) { }
6364 0 0 if ($mentionsSenderStore) { }
6383 0 0 $senderStore ? :
6390 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6407 0 0 $expires ? :
6417 0 0 unless $head
6434 0 0 unless $senderHash and $senderStore
6456 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6464 0 0 unless $streamHead and $streamHead->{'isValid'}
6473 0 0 if (length $ctr == 16) { }
6479 0 0 unless $streamHead
6480 0 0 unless $streamHead->{'aesKey'}
6488 0 0 if ($mac eq $expectedMac) { }
6498 0 0 unless ($contentObject)
6505 0 0 unless $content
6506 0 0 $streamHead->{'senderStore'} ? :
6520 0 0 if length $actorHashBytes != 24
6527 0 0 $isMe ? :
0 0 defined $actorName ? :
6533 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6534 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
6536 0 0 if defined $signedHash and ref $signedHash ne "CDS::Hash"
6540 0 0 unless $publicKey
6543 0 0 if ('CDS'->verifyEnvelopeSignature($envelope, $publicKey, $signedHash)) { }
6552 0 0 if defined $hash and ref $hash ne "CDS::Hash"
6555 0 0 if $hash->equals($o->{'keyPairToken'}->keyPair->publicKey->hash)
6561 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6568 0 0 if $o->showActorHash24($child->bytes)
6571 0 0 if $canDecrypt
6579 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6586 0 0 unless length $encryptedAesKey
6589 0 0 if defined $aesKey and length $aesKey == 32
6734 0 0 unless scalar @{$o->{'stores'};}
6737 0 0 if $o->{'object'}
6738 0 0 if $o->{'objectFile'}
6750 0 0 $object->hashesCount == 1 ? :
6769 0 0 $object->hashesCount == 1 ? :
6779 0 0 if defined $object and ref $object ne "CDS::Object"
6785 0 0 if (defined $o->{'aesKey'})
6797 0 0 if $error
6803 0 0 unless $successfulStore
6932 0 0 if defined $o->{'store'}
6933 0 0 if defined $o->{'actorHash'}
6934 0 0 if defined $o->{'keyPairToken'}
6974 0 0 if (length $keyPairFile)
6979 0 0 if ($actorHash and length $storeUrl) { }
0 0 elsif ($actorHash) { }
0 0 elsif (length $storeUrl) { }
6994 0 0 if $hasLabel
7001 0 0 if defined $record and ref $record ne "CDS::Record"
7003 0 0 unless $record->contains("actor group")
7014 0 0 if $isActive
7015 0 0 if $member->status eq "idle"
7017 0 0 unless $isActive
7018 0 0 if $newestActive and $member->revision <= $newestActive->revision
7024 0 0 if $newestActive
7025 0 0 unless $newestActive
7028 0 0 if $discovered
7191 0 0 if ($o->{'keyPairToken'})
7196 0 0 if ($o->{'store'})
7201 0 0 if ($o->{'actorHash'})
7263 0 0 length $keyPairFile ? :
7264 0 0 length $storeUrl ? :
7265 0 0 length $actorBytes == 32 ? :
7407 0 0 unless (scalar @{$o->{'accountTokens'};})
7408 0 0 unless $o->{'actorHash'}
7409 0 0 unless scalar @{$o->{'stores'};}
7431 0 0 if $o->{'actor'}->storageStore->url ne $o->{'actor'}->messagingStore->url
7444 0 0 if (defined $storeError)
7451 0 0 $count == 1 ? :
0 0 $count == 0 ? :
7452 0 0 unless $count
7462 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7474 0 0 if $publicKey and $cardHash and not "CDS"->verifyEnvelopeSignature($envelope, $publicKey, $cardHash)
7477 0 0 unless $cardHash
7493 0 0 if $knownPublicKey
7501 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
7598 0 0 if defined $keyPairToken->file
7837 0 0 if $child->child("revoked")->isSet
7838 0 0 unless $child->child("active")->isSet
7858 0 0 unless $o->{'keyPairToken'}
7878 0 0 scalar @_ == 1 ? :
7879 0 0 $o->{'countValid'} == 1 ? :
7880 0 0 $o->{'countInvalid'} == 1 ? :
0 0 if $o->{'countInvalid'}
7910 0 0 if $o->{'countValid'} + $o->{'countInvalid'} == 0
7917 0 0 if $o->{'accountToken'}->actorHash->equals($o->{'cmd'}{'keyPairToken'}->keyPair->publicKey->hash)
7926 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7927 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
7928 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
7953 0 0 if defined $source and ref $source ne "CDS::Source"
8194 0 0 defined $o->{'file'} ? :
8195 0 0 unless $o->{'object'}
8196 0 0 if defined $o->{'aesKey'}
8199 0 0 if $o->{'showHash'}
8200 0 0 if $o->{'showSize'}
8201 0 0 if $o->{'showBytes'}
8202 0 0 if $o->{'showHashes'}
8203 0 0 if $o->{'showData'}
8204 0 0 if $o->{'showRecord'}
8224 0 0 defined $o->{'aesKey'} ? :
8225 0 0 if defined $o->{'file'}
8253 0 0 unless length $bytes
8257 0 0 $dataStart ? :
8267 0 0 $hashesCount == 1 ? :
8281 0 0 unless length $data
8297 0 0 unless length $o->{'object'}->data
8303 0 0 if ($reader->hasError)
8313 0 0 $o->{'store'} ? :
8317 0 0 if (length $trailer)
8464 0 0 if $o->{'orderedBy'} eq "envelope hash"
8465 0 0 if $o->{'orderedBy'} eq "date"
8472 0 0 $envelopeHash ? :
8580 0 0 if (scalar @{$o->{'hashes'};})
8594 0 0 if scalar keys %{$$o{"missingObjects"};}
8600 0 0 if defined $hash and ref $hash ne "CDS::Hash"
8606 0 0 if (exists $o->{'objects'}{$hashHex})
8613 0 0 if defined $storeError
8615 0 0 unless ($object)
8768 0 0 unless defined $o->{'staticFolder'}
8769 0 0 if defined $o->{'staticFolder'}
8771 0 0 if ($@)
8773 0 0 if $error =~ /^(.*?)( at |\n)/
9054 0 0 if scalar @{$o->{'accountHashes'};} || scalar @{$o->{'objectHashes'};} and not $o->{'fromStore'}
9077 0 0 if $done{$actorHash->bytes}
9110 0 0 if $listError
9116 0 0 if defined $toStore->{'storeError'}
9126 0 0 defined $toStore->{'storeError'} ? :
9135 0 0 if scalar keys %{$$o{"missingObjects"};}
9141 0 0 if defined $hash and ref $hash ne "CDS::Hash"
9150 0 0 if (exists $o->{'objects'}{$hashHex})
9159 0 0 if defined $toStore->{'storeError'}
9161 0 0 unless $o->{'thoroughly'} or $toStore->{'needed'}[$depth - 1]
9164 0 0 if (defined $bookError)
9169 0 0 if $found
9175 0 0 unless $hasActiveStore
9178 0 0 unless ($o->{'thoroughly'} or $countNeeded)
9185 0 0 if defined $getError
9187 0 0 unless (defined $object)
9190 0 0 unless $o->{'leniently'}
9205 0 0 if defined $toStore->{'storeError'}
9206 0 0 unless $toStore->{'needed'}[$depth]
9208 0 0 if $putError
9222 0 0 if ($toStore->{'storeError'}) { }
0 0 elsif ($toStore->{'needed'}[$depth]) { }
9320 0 0 unless length $storeUrl
9591 0 0 if (defined $result) { }
0 0 elsif (scalar @{$token->{'warnings'};}) { }
9608 0 0 if $objectFileToken->object->byteLength > 1048576
9616 0 0 Fcntl::S_ISFIFO($s[2]) ? :
0 0 Fcntl::S_ISSOCK($s[2]) ? :
0 0 Fcntl::S_ISCHR($s[2]) ? :
0 0 Fcntl::S_ISBLK($s[2]) ? :
0 0 Fcntl::S_ISLNK($s[2]) ? :
0 0 Fcntl::S_ISREG($s[2]) ? :
0 0 Fcntl::S_ISDIR($s[2]) ? :
0 0 !scalar(@s) ? :
9659 0 0 if -f $keyPairFile
9725 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9735 0 0 if $content =~ /^(.*)\n/
9736 0 0 if $content =~ /^\s*(.*?)\s*$/
9746 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9765 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
9766 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9779 0 0 if $member->status ne "active"
9781 0 0 if ($node->{'revision'} < $member->revision)
9792 0 0 if $revisionAtStart < $node->{'revision'}
9807 0 0 unless $node->{'reachable'}
9808 0 0 unless $node->{'attachedToUs'}
9809 0 0 unless $node->{'actorOnStore'}
9810 0 0 unless $node->isActiveOrIdle
9826 0 0 unless $store
9829 0 0 if ($knownPublicKey)
9836 0 0 if (defined $invalidReason)
9841 0 0 if (defined $storeError)
9849 0 0 unless $CDS::DiscoverActorGroup::b->{'revision'} <=> $CDS::DiscoverActorGroup::a->{'revision'}
9855 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9860 0 0 if $node
9866 0 0 if defined $hash and ref $hash ne "CDS::Hash"
9876 0 0 unless $node->{'attachedToUs'}
9877 0 0 if $node->{'revision'} <= $mainRevision
9882 0 0 unless $mainNode
9897 0 0 if $node->{'reachable'}
9898 0 0 $link->{'revision'} > $node->{'revision'} ? :
9899 0 0 if $prospectiveStatus ne "active"
9901 0 0 if $node->{'attachedToUs'}
9902 0 0 unless $node->{'attachedToUs'}
9910 0 0 unless $node->{'attachedToUs'}
9922 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
9923 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
9924 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
9925 0 0 if defined $cardHash and ref $cardHash ne "CDS::Hash"
9969 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9996 0 0 unless $o->{'status'} eq "active"
10018 0 0 if $o->{'cardsRead'}
10026 0 0 unless ($o->{'actorOnStore'})
10028 0 0 unless ($publicKey)
10030 0 0 if defined $storeError
10031 0 0 if defined $invalidReason
10040 0 0 if defined $storeError
10045 0 0 if defined $storeError
10046 0 0 unless ($object)
10052 0 0 unless ($envelope)
10058 0 0 unless ($cardHash)
10063 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'actorOnStore'}->publicKey, $cardHash))
10070 0 0 if defined $storeError1
10071 0 0 unless ($cardObject)
10077 0 0 unless ($card)
10099 0 0 if $o->{'attachedToUs'}
10100 0 0 unless $o->hasLinkToUs
10119 0 0 if $o->{'revision'} >= $revision
10127 0 0 if $o->{'discoverer'}->covers($o->{'actorHash'})
10129 0 0 if $o->{'discoverer'}->covers($link->{'node'}{'actorHash'})
10138 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10170 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10175 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10178 0 0 unless $item
10192 0 0 unless $hashAndKey
10193 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
10204 0 0 unless $o->{'hasPartsToMerge'}
10208 0 0 if $part->{'isMerged'}
10209 0 0 if $part->{'loadedRecord'}
10212 0 0 if defined $storeError
10214 0 0 if defined $invalidReason
10220 0 0 if $part->{'isMerged'}
10221 0 0 unless $part->{'loadedRecord'}
10222 0 0 $part->{'loadedRecord'}->child('client')->textValue =~ /0.19/ ? :
10235 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10236 0 0 if defined $record and ref $record ne "CDS::Record"
10241 0 0 unless scalar @children
10246 0 0 if $oldFormat
10269 0 0 if ($o->{'changes'}{'count'})
10281 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
10287 0 0 unless $addedPart
10292 0 0 unless $item->{'part'}{'selected'}
10321 0 0 unless $part->{'isMerged'}
10322 0 0 if $part->{'count'}
10336 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10339 0 0 $parentSelector ? :
10351 0 0 if $parent
10362 0 0 unless $o->{'parent'}
10365 0 0 if scalar @{$o->{'children'};}
10366 0 0 if $o->{'revision'} > 0
10380 0 0 if $o->{'part'}
10382 0 0 if $o->{'part'}
10391 0 0 if defined $record and ref $record ne "CDS::Record"
10393 0 0 if $revision <= 0
10394 0 0 if $revision < $o->{'revision'}
10395 0 0 if $revision == $o->{'revision'} and $part->{'size'} < $o->{'part'}{'size'}
10406 0 0 if $o->{'revision'} <= 0
10417 0 0 if $o->{'saveRecord'}
10418 0 0 $o->{'parent'} ? :
10419 0 0 if ($o->{'part'}{'selected'}) { }
10420 0 0 if $o->{'revision'} <= 0
10431 0 0 unless $o->{'saveRecord'}
10433 0 0 if $o->{'parent'}
10483 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10484 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10486 0 0 if $o->{'errorHandler'}->hasStoreError($o, "GET")
10489 0 0 if (defined $error)
10500 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10501 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10503 0 0 if $o->{'errorHandler'}->hasStoreError($o, "BOOK")
10506 0 0 if (defined $error)
10517 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10518 0 0 if defined $object and ref $object ne "CDS::Object"
10519 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10521 0 0 if $o->{'errorHandler'}->hasStoreError($o, "PUT")
10524 0 0 if (defined $error)
10535 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10538 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10540 0 0 if $o->{'errorHandler'}->hasStoreError($o, "LIST")
10543 0 0 if (defined $error)
10554 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10556 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10557 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10559 0 0 if $o->{'errorHandler'}->hasStoreError($o, "ADD")
10562 0 0 if (defined $error)
10573 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10575 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10576 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10578 0 0 if $o->{'errorHandler'}->hasStoreError($o, "REMOVE")
10581 0 0 if (defined $error)
10593 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10595 0 0 if $o->{'errorHandler'}->hasStoreError($o, "MODIFY")
10598 0 0 if (defined $error)
10616 0 0 if substr($url, 0, 8) ne "file:///"
10643 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10644 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10653 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10654 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10660 0 0 if -e $file and utime undef, undef, $file
10666 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10667 0 0 if defined $object and ref $object ne "CDS::Object"
10668 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10674 0 0 if -e $file and utime undef, undef, $file
10680 0 0 unless rename $temporaryFile, $file
10686 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10689 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10691 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10697 0 0 unless $timeout
10706 0 0 if scalar @$hashes
10730 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10732 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10733 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10737 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10745 0 0 unless rename $temporaryFile, $boxFolder . "/" . $hash->hex
10751 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10753 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10754 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10756 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10759 0 0 unless -d $boxFolder
10767 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10803 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10813 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10831 0 0 unless $permissions->checkPermissions($accountsFolder, $permissions->baseFolderMode, $logger)
10835 0 0 unless $account =~ /^[0-9a-f]{64}$/
10837 0 0 unless $permissions->checkPermissions($accountFolder, $permissions->accountFolderMode, $logger)
10841 0 0 if $boxLabel =~ /^\./
10843 0 0 unless $permissions->checkPermissions($boxFolder, $permissions->boxFolderMode($boxLabel), $logger)
10848 0 0 unless $file =~ /^[0-9a-f]{64}/
10849 0 0 unless $permissions->checkPermissions($boxFolder . "/" . $file, $filePermissions, $logger)
10858 0 0 unless $permissions->checkPermissions($objectsFolder, $folderMode, $logger)
10862 0 0 unless $sub =~ /^[0-9a-f][0-9a-f]$/
10864 0 0 unless $permissions->checkPermissions($subFolder, $folderMode, $logger)
10867 0 0 unless $file =~ /^[0-9a-f]{62}/
10868 0 0 unless $permissions->checkPermissions($subFolder . "/" . $file, $fileMode, $logger)
10888 0 0 ($mode & 56) == 56 ? :
0 0 ($mode & 63) == 63 ? :
10917 0 0 unless open my $fh, ">:bytes", $temporaryFile
10925 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10934 0 0 if -d $folder
10943 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10960 0 0 unless scalar @s
10969 0 0 if ($wrongUid or $wrongGid or $wrongMode) { }
10971 0 0 unless $logger->wrong($item, $uid, $gid, $mode, $expectedUid, $expectedGid, $expectedMode)
10974 0 0 if ($wrongUid or $wrongGid)
10976 0 0 if $count < 1
10980 0 0 if ($wrongMode)
10982 0 0 if $count < 1
11015 0 0 $boxLabel eq 'public' ? :
11019 0 0 $boxLabel eq 'public' ? :
11043 0 0 $boxLabel eq 'public' ? :
11047 0 0 $boxLabel eq 'public' ? :
11083 0 0 if $remaining <= 0
11127 0 0 if $registered != $dataHandler
11135 0 0 if defined $record and ref $record ne "CDS::Record"
11137 0 0 unless $o->{'revision'}
11143 0 0 if defined $record and ref $record ne "CDS::Record"
11147 0 0 if $revision <= $o->{'revision'}
11157 0 0 if defined $record and ref $record ne "CDS::Record"
11158 0 0 if defined $source and ref $source ne "CDS::Source"
11161 0 0 unless $source
11185 0 0 unless scalar @$members
11190 0 0 if $versionHash->bytes eq $o->{'version'}
11208 0 0 if $missingObject
11209 0 0 unless $submission
11219 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11224 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11240 0 0 unless ($o->{'actor'}->isGroupMember($message->sender->publicKey->hash))
11387 0 0 if $path ne "/"
11390 0 0 if $request->method eq "OPTIONS"
11393 0 0 if $request->method eq "HEAD" or $request->method eq "GET"
11436 0 0 if $o->{'lineStarted'}
11447 0 0 unless $o->{'lineStarted'}
11459 0 0 if defined $recipientHash and ref $recipientHash ne "CDS::Hash"
11469 0 0 if $path ne "/"
11472 0 0 if $request->method eq "OPTIONS"
11493 0 0 if ($request->remainingData > 1024) { }
0 0 elsif ($request->remainingData) { }
11509 0 0 $submission ? :
11518 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11523 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11557 0 0 unless $root =~ m[/$]
11558 0 0 if substr($o->{'path'}, 0, length $root) ne $root
11632 0 0 unless defined $o->{'queryString'}
11636 0 0 if ($pair =~ /^(.*?)=(.*)$/) { }
11666 0 0 if $date < $now - 120 or $date > $now + 60
11671 0 0 unless $publicKeyObject
11672 0 0 unless $publicKeyObject->calculateHash->equals($actorHash)
11677 0 0 if defined $contentBytesToSign
11684 0 0 unless $publicKey->verifyHash($hashToSign, $signature)
11696 0 0 length $content ? :
11703 0 0 length $content ? :
11710 0 0 length $content ? :
11718 0 0 if $o->corsAllowEverybody and $o->{'headers'}{'origin'}
11763 0 0 if ($o->corsAllowEverybody and my $origin = $o->{'headers'}{'origin'})
11775 0 0 if $o->{'method'} ne "HEAD"
11802 0 0 if $request->path ne $o->{'path'}
11805 0 0 if $request->method eq "OPTIONS"
11808 0 0 if $request->method eq "GET"
11862 0 0 if $request->method eq "OPTIONS"
11865 0 0 if $request->method eq "GET" or $request->method eq "HEAD"
11886 0 0 if $segment =~ /^\./
11891 0 0 if (-d $file)
11892 0 0 unless length $o->{'defaultFile'}
11893 0 0 unless $file =~ m[/$]
11915 0 0 $file =~ /\.([A-Za-z0-9]*)$/ ? :
11924 0 0 unless open my $fh, "<:bytes", $file
11925 0 0 unless (-f $fh)
11962 0 0 if ($request->path =~ m[^/objects/([0-9a-f]{64})$])
11968 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)$])
11975 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)/([0-9a-f]{64})$])
11983 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})$])
11984 0 0 if $request->method eq "OPTIONS"
11989 0 0 if ($request->path =~ m[^/accounts$])
11994 0 0 if ($request->path =~ m[^/(accounts|objects)(/|$)])
12005 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12008 0 0 if ($request->method eq "OPTIONS")
12013 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
12015 0 0 if defined $error
12016 0 0 unless $object
12022 0 0 if ($request->method eq "PUT")
12025 0 0 if $o->{'checkPutHash'} and not $object->calculateHash->equals($hash)
12027 0 0 if ($o->{'checkSignatures'})
12030 0 0 unless $request->checkSignature($checkSignatureStore)
12034 0 0 if defined $error
12039 0 0 if ($request->method eq "POST")
12040 0 0 if $o->{'checkSignatures'} and not $request->checkSignature($o->{'store'})
12041 0 0 if $request->remainingData
12043 0 0 if defined $error
12044 0 0 $booked ? :
12053 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12057 0 0 if ($request->method eq "OPTIONS")
12062 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
12063 0 0 if ($o->{'checkSignatures'})
12065 0 0 unless $o->verifyList($actorHash, $accountHash, $boxLabel)
12069 0 0 $watch =~ /^(\d+)\s*ms$/ ? :
12070 0 0 if $timeout > $o->{'maximumWatchTimeout'}
12072 0 0 if defined $error
12082 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12084 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12087 0 0 if ($request->method eq "OPTIONS")
12092 0 0 if ($request->method eq "PUT")
12093 0 0 if ($o->{'checkSignatures'})
12095 0 0 unless $o->verifyAddition($actorHash, $accountHash, $boxLabel, $hash)
12099 0 0 if defined $error
12104 0 0 if ($request->method eq "DELETE")
12105 0 0 if ($o->{'checkSignatures'})
12107 0 0 unless $o->verifyRemoval($actorHash, $accountHash, $boxLabel, $hash)
12111 0 0 if defined $error
12123 0 0 if ($request->method eq "OPTIONS")
12128 0 0 if ($request->method eq "POST")
12131 0 0 unless $modifications
12133 0 0 if ($o->{'checkSignatures'})
12135 0 0 unless $o->verifyModifications($actorHash, $modifications)
12139 0 0 if defined $error
12148 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
12149 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12152 0 0 if $boxLabel eq "public"
12153 0 0 unless $actorHash
12154 0 0 if $accountHash->equals($actorHash)
12160 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
12164 0 0 unless $o->verifyAddition($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
12168 0 0 unless $o->verifyRemoval($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
12176 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
12177 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12179 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12181 0 0 if $boxLabel eq "messages"
12182 0 0 unless $actorHash
12183 0 0 if $accountHash->equals($actorHash)
12189 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
12190 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12192 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12194 0 0 unless $actorHash
12195 0 0 if $accountHash->equals($actorHash)
12199 0 0 if defined $error
12200 0 0 unless defined $bytes
12207 0 0 if length $hashBytes24 != 24
12208 0 0 if $hashBytes24 eq $actorHashBytes24
12223 0 1 unless $url =~ m[^(http|https)://]
12240 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12241 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12244 0 0 if $response->code == 404
12245 0 0 unless $response->is_success
12251 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12252 0 0 if defined $object and ref $object ne "CDS::Object"
12253 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12258 0 0 if $response->is_success
12264 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12265 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12268 0 0 if $response->code == 404
12269 0 0 if $response->is_success
12275 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12278 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12282 0 0 if $timeout > 0
12285 0 0 unless $response->is_success
12288 0 0 if (length($bytes) % 32 != 0)
12303 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12305 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12306 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12311 0 0 if $response->is_success
12317 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12319 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12320 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12324 0 0 if $response->is_success
12331 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12338 0 0 if $response->is_success
12348 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12356 0 0 if ($addSignature and $keyPair)
12357 0 0 $url =~ m[^https?://(.*)$] ? :
12360 0 0 if $signData
12378 0 0 if length $hashBytes != 32
12386 2 2 unless $hashHex =~ /^\s*([a-fA-F0-9]{64,64})\s*$/
12420 0 0 unless defined $this or defined $that
12421 0 0 unless defined $this and defined $that
12435 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12454 0 0 if ($dateString =~ /^(\d\d\d\d)-(\d\d)-(\d\d)$/) { }
0 0 elsif ($dateString =~ /^(\d\d\d\d)-(\d\d)-(\d\d)(T|\s+)(\d\d):(\d\d):(\d\d|\d\d\.\d*)$/) { }
0 0 elsif ($dateString =~ /^(\d\d\d\d)-(\d\d)-(\d\d)(T|\s+)(\d\d):(\d\d):(\d\d|\d\d\.\d*)Z$/) { }
0 0 elsif ($dateString =~ /^(\d\d\d\d)-(\d\d)-(\d\d)(T|\s+)(\d\d):(\d\d):(\d\d|\d\d\.\d*)+(\d\d):(\d\d)$/) { }
0 0 elsif ($dateString =~ /^(\d\d\d\d)-(\d\d)-(\d\d)(T|\s+)(\d\d):(\d\d):(\d\d|\d\d\.\d*)-(\d\d):(\d\d)$/) { }
0 0 elsif ($dateString =~ /^\s*(\d+)\s*$/) { }
12530 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12533 0 0 if $account
12541 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12542 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12550 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12551 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12560 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12561 0 0 if defined $object and ref $object ne "CDS::Object"
12562 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12570 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12573 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12582 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12584 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12585 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12593 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12595 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12596 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12605 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12623 0 0 if $entry->{'booked'} > $graceTime
12635 0 0 if scalar keys %{$$account{"messages"};}
12636 0 0 if scalar keys %{$$account{"private"};}
12637 0 0 if scalar keys %{$$account{"public"};}
12643 0 0 if $entry->{'inUse'}
12650 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12660 0 0 if $entry->{'inUse'}
12679 0 0 if $missing
12680 0 0 if defined $storeError
12688 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12693 0 0 if $$done{$hash->bytes}
12698 0 0 if defined $bookError
12699 0 0 if $booked
12703 0 0 if defined $getError
12704 0 0 unless defined $object
12709 0 0 if defined $error
12710 0 0 if (defined $missing)
12718 0 0 if defined $putError
12724 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
12747 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
12765 0 0 if defined $expires
12772 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12780 0 0 if $publicKey->hash->equals($o->{'publicKey'}->hash)
12821 0 0 if defined $record and ref $record ne "CDS::Record"
12833 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
12892 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12902 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12906 0 0 if defined $error
12907 0 0 unless $object
12914 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12918 0 0 if defined $error
12919 0 0 unless $object
12927 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12931 0 0 if defined $error
12932 0 0 unless $object
12941 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12945 0 0 if defined $error
12946 0 0 unless $object
12956 0 0 unless defined $this or defined $that
12957 0 0 unless defined $this and defined $that
12965 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12970 0 0 unless length $encryptedAesKey
12971 0 0 unless length $encryptedAesKey
12975 0 0 if not $aesKeyBytes or length $aesKeyBytes != 32
12986 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13001 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
13003 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13016 0 0 unless $isActive or $isIdle
13019 0 0 if defined $storeError
13020 0 0 unless $publicKey
13030 0 0 if defined $storeError
13031 0 0 unless $publicKey
13043 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13046 0 0 if $knownPublicKey
13049 0 0 if defined $storeError
13050 0 0 if defined $invalidReason
13082 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13083 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13088 0 0 defined $error ? :
0 0 defined $object ? :
13094 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13095 0 0 if defined $object and ref $object ne "CDS::Object"
13096 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13101 0 0 defined $error ? :
13107 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13108 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13113 0 0 defined $error ? :
0 0 defined $booked ? :
13119 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
13122 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13127 0 0 $timeout ? :
0 0 defined $hashes ? :
13133 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
13135 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13136 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13141 0 0 defined $error ? :
13147 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
13149 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13150 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13155 0 0 defined $error ? :
13162 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13167 0 0 defined $error ? :
13186 0 0 if length $text < $width
13194 0 0 if length $s < 9
13203 0 0 if length $s < 9
13214 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
13234 0 0 if defined $listError
13238 0 0 unless $entry
13239 0 0 if $entry->{'processed'}
13242 0 0 if ($entry->{'waitingForStore'})
13244 0 0 if defined $checkError
13249 0 0 if defined $getError
13254 0 0 unless (defined $object)
13261 0 0 unless ($envelope)
13266 0 0 $envelope->contains('head') && $envelope->contains('mac') ? :
13270 0 0 unless $message
13282 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
13286 0 0 unless length $encryptedBytes
13290 0 0 unless $aesKey
13294 0 0 unless $contentObject
13297 0 0 unless $content
13301 0 0 unless $senderHash
13305 0 0 unless scalar $storeRecord->children
13309 0 0 unless $senderStore
13313 0 0 if defined $publicKeyStoreError
13314 0 0 if defined $invalidReason
13318 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash))
13320 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $contentObject->calculateHash)
13332 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
13336 0 0 unless $head
13340 0 0 unless $streamHead
13341 0 0 if $streamHead->error
13345 0 0 unless length $encryptedBytes
13349 0 0 if length $ctr != 16
13353 0 0 unless $mac
13358 0 0 if $mac ne $expectedMac
13362 0 0 unless $contentObject
13365 0 0 unless $content
13383 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
13388 0 0 if $senderHash->equals($o->{'actorOnStore'}->publicKey->hash)
13392 0 0 if $cachedPublicKey
13396 0 0 if defined $storeError
13397 0 0 if defined $invalidReason
13406 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13418 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13477 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13478 0 0 if defined $object and ref $object ne "CDS::Object"
13489 0 0 unless scalar @$hashes
13495 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
13516 0 0 unless $o->{'actor'}->sentListReady
13523 0 0 if defined $error
13525 0 0 if ($missingObject)
13563 0 0 if $item->envelopeHash
13600 0 0 if $o->{'submissionId'} != $o->{'channel'}{'currentSubmissionId'}
13619 0 0 if (defined $error) { }
13628 0 0 if ($failed == 0 or scalar keys %{$$o{"obsoleteHashes"};} > 64)
13641 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13678 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13679 0 0 if defined $object and ref $object ne "CDS::Object"
13690 0 0 unless scalar @$hashes
13720 0 0 if defined $error
13722 0 0 if ($missingObject)
13735 0 0 if ($hashes)
13743 0 0 if defined $modifyError
13774 0 0 if length $header < 4
13776 0 0 if length $header != 4 + $hashesCount * 32
13789 0 0 if length $bytes < 4
13793 0 0 if $dataStart > length $bytes
13834 0 0 if $index < 0 or $index >= $o->{'hashesCount'}
13875 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13876 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13879 0 0 if $objectFromCache
13882 0 0 unless defined $object
13937 0 0 if defined $object and ref $object ne "CDS::Object"
13954 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13993 0 0 if $arg eq "?"
13994 0 0 if $arg eq "??"
13997 0 0 unless scalar @{$o->{'states'};}
14002 0 0 unless scalar @results
14006 0 0 if $maxWeight < $result->cumulativeWeight
14010 0 0 if scalar @results > 1
14038 0 0 if ($state eq '') { }
0 0 elsif ($state eq '\\') { }
0 0 elsif ($state eq q[']) { }
0 0 elsif ($state eq '"') { }
0 0 elsif ($state eq '\\"') { }
14039 0 0 if ($c eq ' ') { }
0 0 elsif ($c eq q[']) { }
0 0 elsif ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
14040 0 0 if length $arg
14043 0 0 if length $arg
14047 0 0 if length $arg
14059 0 0 if ($c eq q[']) { }
14060 0 0 if length $arg
14067 0 0 if ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
14068 0 0 if length $arg
14088 0 0 if $arg eq "?"
14117 0 0 unless $b->cumulativeWeight <=> $a->cumulativeWeight
14119 0 0 $interpretation->isExecutable ? :
14134 0 0 $valueRef eq 'CDS::AccountToken' ? :
0 0 $valueRef eq 'CDS::ErrorHandlingStore' ? :
0 0 $valueRef eq 'CDS::Hash' ? :
0 0 $valueRef eq '' ? :
14140 0 0 $state->collectHandler ? :
14149 0 0 if length $cmd > 30
14176 0 0 if (scalar @{$invalid->{'warnings'};})
14239 0 0 if exists $o->{'possibilities'}{$possibility . " \x{2026}"}
14257 0 0 unless $arrow->{'official'}
14260 0 0 if $arrow->{'node'}->hasHandler
14261 0 0 if ($arrow->{'node'}->endProposals or exists $$visitedNodes{$arrow->{'node'}})
14262 0 0 $o->canContinue($arrow->{'node'}) ? :
14280 0 0 unless $arrow->{'official'}
14336 0 0 if $o->{'handler'}
14337 0 0 if $default->hasHandler
14344 0 0 if $o->{'handler'}
14371 0 0 $previous ? :
0 0 $arrow ? :
14381 0 0 $o->{'node'}->getHandler ? :
14384 0 0 $o->{'arrow'} ? :
14387 0 0 $o->{'arrow'} ? :
14423 0 0 unless $arrow->{'official'}
14429 0 0 unless $arrow->{'official'}
14487 0 0 if $expect =~ /^[a-z0-9]*$/
14493 0 0 exists $o->{'cache'}{$expect} ? :
14499 0 0 if $expect eq "ACCOUNT"
14500 0 0 if $expect eq "ACTOR"
14501 0 0 if $expect eq "ACTORGROUP"
14502 0 0 if $expect eq "AESKEY"
14503 0 0 if $expect eq "BOX"
14504 0 0 if $expect eq "BOXLABEL"
14505 0 0 if $expect eq "FILE"
14506 0 0 if $expect eq "FILENAME"
14507 0 0 if $expect eq "FOLDER"
14508 0 0 if $expect eq "FOLDERNAME"
14509 0 0 if $expect eq "GROUP"
14510 0 0 if $expect eq "HASH"
14511 0 0 if $expect eq "KEYPAIR"
14512 0 0 if $expect eq "LABEL"
14513 0 0 if $expect eq "OBJECT"
14514 0 0 if $expect eq "OBJECTFILE"
14515 0 0 if $expect eq "PORT"
14516 0 0 if $expect eq "STORE"
14517 0 0 if $expect eq "TEXT"
14518 0 0 if $expect eq "USER"
14519 0 0 $o->{'text'} eq $expect ? :
14526 0 0 if $expect eq "ACCOUNT"
14527 0 0 if $expect eq "ACTOR"
14528 0 0 if $expect eq "ACTORGROUP"
14529 0 0 if $expect eq "AESKEY"
14530 0 0 if $expect eq "BOX"
14531 0 0 if $expect eq "BOXLABEL"
14532 0 0 if $expect eq "FILE"
14533 0 0 if $expect eq "FILENAME"
14534 0 0 if $expect eq "FOLDER"
14535 0 0 if $expect eq "FOLDERNAME"
14536 0 0 if $expect eq "GROUP"
14537 0 0 if $expect eq "HASH"
14538 0 0 if $expect eq "KEYPAIR"
14539 0 0 if $expect eq "LABEL"
14540 0 0 if $expect eq "OBJECT"
14541 0 0 if $expect eq "OBJECTFILE"
14542 0 0 if $expect eq "STORE"
14543 0 0 if $expect eq "USER"
14544 0 0 if $expect eq "TEXT"
14552 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14559 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14573 0 0 if ($actorHash and length $storeUrl)
14576 0 0 if $o->isKeyword
14581 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/*\s*$])
14584 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14601 0 0 unless length $storeUrl
14614 0 0 unless $o->{'text'} =~ /^[0-9A-Fa-f]{64}$/
14622 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/(messages|private|public)/*\s*$])
14626 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14645 0 0 if $o->{'text'} eq "messages"
14646 0 0 if $o->{'text'} eq "private"
14647 0 0 if $o->{'text'} eq "public"
14663 0 0 unless -f $file
14664 0 0 if $o->isKeyword
14673 0 0 if $startFilename =~ m[^~/(.*)$]
14674 0 0 if ($startFilename eq '~') { }
0 0 elsif ($startFilename =~ m[^(.*/)([^/]*)$]) { }
14683 0 0 if $filename eq "."
14684 0 0 if $filename eq ".."
14685 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14687 0 0 if -d $file
14688 0 0 if -f $file
14696 0 0 if $o->isKeyword
14704 0 0 unless -d $folder
14705 0 0 if $o->isKeyword
14714 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14720 0 0 if $filename eq "."
14721 0 0 if $filename eq ".."
14722 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14724 0 0 unless -d $file
14732 0 0 if $o->isKeyword
14739 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
14755 0 0 if $hash
14760 0 0 if $o->isKeyword
14789 0 0 unless (length $file)
14791 0 0 if $o->isKeyword and -f $file
14795 0 0 unless -f $file
14809 0 0 unless length $record->child("key pair")->textValue
14818 0 0 if $records->children
14827 0 0 if substr($label, 0, length $o->{'text'}) ne $o->{'text'}
14836 0 0 $o->{'text'} =~ m[^\s*(.*?/objects/)([0-9a-fA-F]{2,2})/([0-9a-fA-F]{62,62})/*\s*$] ? :
14839 0 0 if ($url =~ m[^\s*(.*?)/objects/([0-9a-fA-F]{64,64})/*\s*$])
14842 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14862 0 0 if $o->isKeyword and -f $file
14865 0 0 unless -f $file
14885 0 0 unless scalar $record->children
14886 0 0 if $o->isKeyword
14892 0 0 if defined $storeError
14907 0 0 unless scalar $record->child("actor group")->children
14917 0 0 if $port <= 0 or $port > 65536
14926 0 0 unless length $storeUrl
14928 0 0 if $o->isKeyword
14935 0 0 if $o->isKeyword
14936 0 0 if $o->{'text'} =~ /[0-9a-f]{32}/
14938 0 0 if $o->{'text'} =~ /^[a-zA-Z0-9_\+-]*:/
14939 0 0 if -d $o->{'text'} and -d $o->{'text'} . "/accounts" and -d $o->{'text'} . "/objects"
14955 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14961 0 0 if $filename eq "."
14962 0 0 if $filename eq ".."
14963 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14965 0 0 unless -d $file
14966 0 0 -d $file . '/accounts' && -d $file . '/objects' ? :
14979 0 0 if length $record->child("actor")->bytesValue
14981 0 0 unless length $storeUrl
15006 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
15030 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15051 0 0 if defined $listError
15062 0 0 if $entry->{'processed'}
15066 0 0 if defined $getError
15068 0 0 unless (defined $object)
15075 0 0 unless ($envelope)
15082 0 0 unless ($contentHash)
15088 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $contentHash))
15095 0 0 unless ($aesKey)
15103 0 0 if defined $contentStoreError
15105 0 0 if (defined $contentInvalidReason)
15136 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15173 0 0 if $registered != $dataHandler
15184 0 0 if $o->{'procured'} + $interval > $now
15194 0 0 if defined $source and ref $source ne "CDS::Source"
15195 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
15209 0 0 if defined $source and ref $source ne "CDS::Source"
15229 0 0 unless $o->{'hasChanges'}
15257 0 0 if defined $missing or defined $storeError
15267 0 0 if defined $modifyError
15305 0 0 if defined $object and ref $object ne "CDS::Object"
15331 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15349 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
15358 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15368 0 0 if scalar values %{$$o{"cache"};} < $o->{'maxSize'}
15374 0 0 if $toRemove <= 0
15384 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15397 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15399 0 0 if $o->{'done'}{$hash->bytes}
15407 0 0 if defined $error
15412 0 0 if defined $error
15423 0 0 if defined $source and ref $source ne "CDS::Source"
15424 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
15467 0 0 if defined $object and ref $object ne "CDS::Object"
15477 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15492 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15502 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15507 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15512 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15517 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15522 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15527 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15531 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15535 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
15536 0 0 $hashAndKey ? :
15543 0 0 if defined $object and ref $object ne "CDS::Object"
15545 0 0 unless length $object->data
15554 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15569 0 0 if $child->{'bytes'} eq $bytes
15580 0 0 if $child->{'bytes'} eq $bytes
15632 0 0 unless $o->{'hash'}
15633 0 0 if length $o->{'bytes'} != 32
15676 0 0 if $o->{'hash'}
15702 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15704 0 0 if $o->{'hash'}
15726 0 0 if defined $object and ref $object ne "CDS::Object"
15740 0 0 if defined $record and ref $record ne "CDS::Record"
15748 0 0 $length == 31 ? :
0 0 $length == 30 ? :
15750 0 0 $flags & 32 ? :
15751 0 0 if $o->{'hasError'}
15755 0 0 if $flags & 64 and not $o->readChildren($child)
15756 0 0 unless $flags & 128
15766 0 0 if $o->{'pos'} <= length $o->{'data'}
15807 0 0 if defined $record and ref $record ne "CDS::Record"
15810 0 0 unless scalar @children
15818 0 0 if defined $record and ref $record ne "CDS::Record"
15823 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15824 0 0 if defined $record->{'hash'}
15826 0 0 if $countChildren
15827 0 0 if $hasMoreSiblings
15831 0 0 if ($flags & 31) == 30
15832 0 0 if ($flags & 31) == 31
15834 0 0 if $flags & 32
15857 0 0 if utf8::is_utf8($bytes)
15863 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15901 0 0 if $newPart or scalar @$obsoleteParts
15906 0 0 if defined $record and ref $record ne "CDS::Record"
15914 0 0 if defined $record and ref $record ne "CDS::Record"
15927 0 0 if defined $record and ref $record ne "CDS::Record"
15928 0 0 if defined $source and ref $source ne "CDS::Source"
15934 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
15940 0 0 if defined $storeError
15941 0 0 if $missing
15943 0 0 if ($source)
16016 0 0 if defined $record and ref $record ne "CDS::Record"
16020 0 0 $item->{'revision'} >= $now ? :
16026 0 0 if defined $record and ref $record ne "CDS::Record"
16039 0 0 if $o->isSet
16094 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16103 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16108 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16113 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16118 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16123 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16128 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16133 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16137 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
16144 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16145 0 0 if defined $object and ref $object ne "CDS::Object"
16152 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16183 0 0 if defined $record and ref $record ne "CDS::Record"
16191 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
16192 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
16212 0 0 if $o->{'validUntil'} > $validUntil
16213 0 0 if $o->{'validUntil'} == $validUntil and $part->{'size'} < $o->{'part'}{'size'}
16240 0 0 if defined $record and ref $record ne "CDS::Record"
16256 0 0 if $item->{'validUntil'} >= $now
16265 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16266 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
16268 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16288 0 0 if ($o->{'referenceCount'} < 1)
16299 0 0 if ($o->{'referenceCount'} < 1)
16305 0 0 if $o->{'referenceCount'} > 0
16368 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16381 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16382 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16390 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16391 0 0 if defined $object and ref $object ne "CDS::Object"
16392 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16400 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16401 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16409 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16412 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16420 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16422 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16423 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16431 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16433 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16434 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16443 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16456 0 0 if $error
16470 0 0 if $error
16523 0 0 if scalar keys %{$$o{"objects"};}
16524 0 0 if scalar @{$o->{'additions'};}
16525 0 0 if scalar @{$o->{'removals'};}
16531 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16532 0 0 if defined $object and ref $object ne "CDS::Object"
16539 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16541 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16542 0 0 if defined $object and ref $object ne "CDS::Object"
16544 0 0 if $object
16550 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16552 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16578 0 0 if defined $record and ref $record ne "CDS::Record"
16580 0 0 unless $CDS::StoreModifications::a->{'accountHash'}->bytes cmp $CDS::StoreModifications::b->{'accountHash'}->bytes
16609 0 0 if defined $record and ref $record ne "CDS::Record"
16630 0 0 if defined $record and ref $record ne "CDS::Record"
16636 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
16651 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16656 0 0 if $error
16662 0 0 if $error
16676 0 0 if scalar @{$o->{'removals'};}
16679 0 0 if $addition->{'boxLabel'} ne "messages"
16690 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
16709 0 0 if $streamHead->lastUsed < $limit
16719 0 0 if ($streamHead)
16726 0 0 if defined $getError
16730 0 0 unless $envelope
16734 0 0 unless length $encryptedBytes
16738 0 0 unless $aesKey
16742 0 0 unless $contentObject
16745 0 0 unless $content
16749 0 0 unless $senderHash
16753 0 0 unless scalar $storeRecord->children
16757 0 0 unless $senderStore
16761 0 0 if defined $publicKeyStoreError
16762 0 0 if defined $invalidReason
16766 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash)
16789 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16790 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
16830 0 0 if defined $parentSelector and ref $parentSelector ne "CDS::Selector"
16841 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
16867 0 0 if ($newPart)
16949 0 0 if $o->{'hasSpace'}
16986 0 0 if $o->{'pure'}
16990 0 0 if length $text > 80
16991 0 0 if length $text < 80
16999 0 0 if $o->{'pure'}
17000 0 0 unless $o->{'hasProgress'}
17088 0 0 if length $text > $width
17097 0 0 if length $text > $width
17107 0 0 if defined $firstLine and length $key >= $indent
17121 0 0 if $o->{'verbose'}
17183 0 0 defined $maxLength && $length > $maxLength ? :
17192 0 0 if $fileSize < 1000
17193 0 0 if $fileSize < 10000
17194 0 0 if $fileSize < 1000000
17195 0 0 if $fileSize < 10000000
17196 0 0 if $fileSize < 1000000000
17197 0 0 if $fileSize < '10000000000'
17237 0 0 if defined $record and ref $record ne "CDS::Record"
17243 0 0 if defined $record and ref $record ne "CDS::Record"
17253 0 0 if defined $selector and ref $selector ne "CDS::Selector"
17257 0 0 $item->{'revision'} ? :
17259 0 0 if ($selector->{'id'} eq 'ROOT') { }
17265 0 0 length $label > 64 ? :
17278 0 0 if defined $selector and ref $selector ne "CDS::Selector"
17318 0 0 if $dataStart > length $o->{'bytes'}
17333 0 0 $alternate ? :
17360 0 0 if $pos <= length $o->{'bytes'}
17377 0 0 $length == 31 ? :
0 0 $length == 30 ? :
17379 0 0 if ($byteLength)
17384 0 0 if ($flags & 32)
17390 0 0 if $flags & 64
17391 0 0 unless $flags & 128
17395 0 0 if $pos != length $o->{'bytes'}
17396 0 0 if $hasError
17424 0 0 if $index >= $length
17433 0 0 if $break
17436 0 0 if $break
17442 0 0 $code >= 32 && $code <= 126 ? :
17484 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17485 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17493 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17494 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17502 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17503 0 0 if defined $object and ref $object ne "CDS::Object"
17504 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17514 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17517 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17519 0 0 $timeout == 0 ? :
17525 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17527 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17528 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17536 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17538 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17539 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17548 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17560 0 0 if defined $record and ref $record ne "CDS::Record"
17563 0 0 defined $storeUrl ? :
17573 0 0 if defined $record and ref $record ne "CDS::Record"
17584 0 0 $context =~ /(^| )expires( |$)/ ? :
0 0 $context =~ /(^| )date( |$)/ ? :
0 0 $context =~ /(^| )revision( |$)/ ? :
0 0 $context =~ /(^| )signature( |$)/ ? :
0 0 $context =~ /(^| )key( |$)/ ? :
0 0 $context =~ /(^| )id( |$)/ ? :
0 0 $context eq 'updated by' ? :
0 0 $context eq 'encrypted for' ? :
0 0 $context eq 'q' ? :
0 0 $context eq 'p' ? :
0 0 $context eq 'n' ? :
0 0 $context eq 'e' ? :
0 0 length $bytes == 32 && $hash ? :
0 0 !length($bytes) ? :
0 0 !length($bytes) && $hash ? :
17599 0 0 if $hash and ($bytes and length $bytes != 32)
17613 0 0 if $length <= 64
17622 0 0 $length > 64 ? :
17626 0 0 if ($length <= 8)
17628 0 0 $o->looksLikeTimestamp($integer) ? :
17631 0 0 if $length == 4 or $length == 8
17632 0 0 if $length == 32
17633 0 0 if length $bytes > 64
17642 0 0 unless $o->looksLikeTimestamp($integer)
17651 0 0 unless $o->looksLikeTimestamp($integer)
17677 0 0 if ($parent) { }
17690 0 0 if $o->{'appliedBold'}
17691 0 0 if $o->{'appliedUnderlined'}
17692 0 0 if defined $o->{'appliedForeground'}
17693 0 0 if defined $o->{'appliedBackground'}
17699 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17711 0 0 if ($needStyle)
17728 0 0 unless defined $child
17731 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17746 0 0 if ($char eq ' ' or $char eq "\t") { }
0 0 elsif ($state->{'wrapSpan'} and $state->{'lineLength'} > $state->{'maxLength'}) { }
17756 0 0 if $state->{'wrapSpan'} == $o and $state->{'wrapIndex'} == $index
17804 0 0 if $item
17834 0 0 if defined $record and ref $record ne "CDS::Record"
17843 0 0 if defined $record and ref $record ne "CDS::Record"
17856 0 0 if defined $record and ref $record ne "CDS::Record"
17857 0 0 if defined $source and ref $source ne "CDS::Source"
17863 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17870 0 0 if defined $storeError
17871 0 0 if $missing
17873 0 0 if ($source)
17886 0 0 unless $hashAndKey
17887 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17900 0 0 unless $o->{'hasPartsToMerge'}
17904 0 0 if $part->{'isMerged'}
17905 0 0 if $part->{'loadedRecord'}
17908 0 0 if defined $storeError
17910 0 0 if defined $invalidReason
17916 0 0 if $part->{'isMerged'}
17917 0 0 unless $part->{'loadedRecord'}
17946 0 0 if ($o->{'changes'}{'count'})
17954 0 0 if $item->{'part'} != $newPart
17963 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
17969 0 0 unless $addedPart
17974 0 0 unless $item->{'part'}{'selected'}
17992 0 0 unless $part->{'isMerged'}
17993 0 0 if $part->{'count'}
18074 0 0 if $o->{'savingState'}
18082 0 0 unless $o->{'savingState'}
18089 0 0 unless $o->{'savingState'}
18102 0 0 if defined $hash and ref $hash ne "CDS::Hash"
18103 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
18106 0 0 if $stateObject
18108 0 0 if ($o->{'savingState'})
18110 0 0 if $savingStateObject
18118 0 0 if defined $hash and ref $hash ne "CDS::Hash"
18119 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
18126 0 0 if defined $hash and ref $hash ne "CDS::Hash"
18127 0 0 if defined $object and ref $object ne "CDS::Object"
18128 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
18135 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
18138 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
18147 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
18174 0 0 if defined $hash and ref $hash ne "CDS::Hash"
18175 0 0 if defined $object and ref $object ne "CDS::Object"