Branch Coverage

blib/lib/CDS.pm
Criterion Covered Total %
branch 3 3122 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"
924 0 0 if $actorHash->equals($o->{'keyPair'}->publicKey->hash)
931 0 0 if defined $memberHash and ref $memberHash ne "CDS::Hash"
936 0 0 unless $hash->equals($memberHash)
948 0 0 if $child->child("active")->booleanValue
949 0 0 if $child->child("group data")->booleanValue
950 0 0 if $child->revision > $limit
964 0 0 if $hash->equals($o->{'keyPair'}->publicKey->hash)
965 0 0 if $child->child("revoked")->isSet
966 0 0 unless $child->child("group data")->isSet
969 0 0 unless ($hash)
977 0 0 if $member and $member->storeUrl eq $storeUrl and $member->actorOnStore->publicKey->hash->equals($hash)
981 0 0 unless ($store)
987 0 0 if ($member and $member->actorOnStore->publicKey->hash->equals($hash))
994 0 0 if defined $storeError
995 0 0 if (defined $invalidReason)
1013 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
1028 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1057 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1060 0 0 if $entrustedKey
1063 0 0 if defined $storeError
1064 0 0 if defined $invalidReason
1089 0 0 if $ok
1090 0 0 if $missingHash
1121 0 0 unless $o->{'sentList'}->hasChanges
1125 0 0 if $ok
1126 0 0 if $missingHash
1144 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1151 0 0 unless defined $store
1161 0 0 if $hash->equals($me)
1166 0 0 $activeSelector->booleanValue ? :
0 0 $revokedSelector->booleanValue ? :
1170 0 0 if $builder->mergeEntrustedActors($o->entrustedActorsSelector->revision)
1197 0 0 if defined $transferError
1198 0 0 if ($missingObject)
1211 0 0 if ($hashes)
1219 0 0 if defined $modifyError
1287 0 0 unless ($o->procurePrivateData)
1310 0 0 unless $ok
1311 0 0 if $missingHash
1318 0 0 if defined $missingObject and ref $missingObject ne "CDS::Object"
1331 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
1343 0 0 if defined $source and ref $source ne "CDS::Source"
1360 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
1369 0 0 if $o->{'actorSelector'}->revision > $now - "CDS"->DAY
1380 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1389 0 0 if $stateSelector->bytesValue eq $state
1391 0 0 unless $envelopeHash
1423 0 0 if not $o->{'countMessages'}
1429 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1430 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
1431 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
1469 0 0 if $ok
1489 0 0 if defined $source and ref $source ne "CDS::Source"
1516 0 0 if defined $record and ref $record ne "CDS::Record"
1526 0 0 unless $child->isSet
1541 0 0 if length $record->child("actor")->bytesValue
1542 0 0 if $storeUrl ne $record->child("store")->textValue
1551 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1556 0 0 if $actorHash->bytes ne $record->child("actor")->bytesValue
1571 0 0 if $actorHashStartBytes ne substr($record->child("actor")->bytesValue, 0, $length)
1581 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1592 0 0 if $correctActor
1594 0 0 if ($storeUrl eq $record->child("store")->textValue)
1595 0 0 if $correctActor
1596 0 0 unless length $actorBytes
1610 0 0 if $file ne $record->child("key pair")->textValue
1621 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1643 0 0 if defined $accountLabel
1644 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1663 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1666 0 0 defined $label ? :
1679 0 0 defined $label ? :
1687 0 0 if defined $accountLabel
1688 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1703 0 0 defined $label ? :
1710 0 0 if $boxLabel eq "private"
1711 0 0 if $boxLabel eq "public"
1712 0 0 if $boxLabel eq "messages"
1723 0 0 if -e "/proc/" . $pid
1732 0 0 unless length $file
1741 0 0 unless length $storeUrl
1775 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1780 0 0 if defined $storeError
1781 0 0 unless $object
1787 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1797 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1807 0 0 if defined $object and ref $object ne "CDS::Object"
1810 0 0 unless $record->contains("signed")
1812 0 0 unless $signatureRecord->hash
1813 0 0 unless length $signatureRecord->bytes
1832 0 0 unless $url
1845 0 0 defined $o->{'cacheStore'} ? :
1872 0 0 unless $o->{'failedStores'}{$store->store->id}
1881 0 0 if ($storeUrl // "") eq ($o->{'cacheStoreUrl'} // "")
1904 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1905 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1913 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1914 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1921 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1922 0 0 if defined $object and ref $object ne "CDS::Object"
1923 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1931 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1934 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1941 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1943 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1944 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1951 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1953 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1954 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1962 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2128 0 0 if substr($hash->bytes, 0, length $actorSelector->label) ne $actorSelector->label
2135 0 0 if $hasMembers
2141 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2147 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2156 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2166 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2182 0 0 if (defined $storeError)
2187 0 0 if (defined $invalidReason)
2203 0 0 if $wasMember
2204 0 0 unless $wasMember
2213 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2218 0 0 if ($value) { }
2239 0 0 unless ($hash)
2431 0 0 if $o->{'actor'}->messagingStore->id ne $o->{'actor'}->storageStore->id
2442 0 0 if defined $storeError
2443 0 0 if defined $invalidReason
2460 0 0 if defined $listError
2463 0 0 if (scalar @$hashes > 1)
2479 0 0 scalar @$hashes ? :
2480 0 0 unless $cardRecord
2488 0 0 if ($change->{'status'} eq 'entrusted') { }
2501 0 0 unless $o->{'without'}{$member->hash->bytes}
2510 0 0 if ($child->bytes eq 'actor group') { }
0 0 elsif ($child->bytes eq 'entrusted actors') { }
0 0 elsif ($child->bytes eq 'public key') { }
2523 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
2527 0 0 if defined $storeError
2528 0 0 unless $object
2532 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $cardHash)
2536 0 0 if defined $storeError1
2537 0 0 unless $cardObject
2544 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
2573 0 0 if $storeError
2574 0 0 if $missingHash
2584 0 0 if $modifyError
2678 0 0 unless scalar @{$o->{'stores'};}
2683 0 0 if $triedStores{$store->url}
2696 0 0 unless $o->{'hasErrors'}
2697 0 0 if $o->{'keyPair'}
2705 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2709 0 0 if ($success) { }
2802 0 0 unless length $e
2804 0 0 unless length $p
2806 0 0 unless length $q
2816 0 0 unless length $publicKeyObjectBytes
2820 0 0 unless $publicKeyRecord
2822 0 0 unless length $publicN
2824 0 0 unless length $publicE
2825 0 0 if $publicE ne $e
2826 0 0 if $publicN ne $n
2957 0 0 if $boxLabel =~ /^\./
2960 0 0 if $newestDate < $date
2963 0 0 if $filename =~ /^\./
2968 0 0 if ($timestamp > 0 and $timestamp < $envelopeExpirationLimit)
2976 0 0 if $newestDate < $date
2986 0 0 $newestDate == 0 ? :
3007 0 0 if $s[9] < $dateLimit
3026 0 0 if (exists $o->{'usedHashes'}{$hash}) { }
3030 0 0 if $entry
3058 0 0 if ($missing)
3066 0 0 if ($missing > 10 and $count > 5)
3087 0 0 if exists $o->{'usedHashes'}{$hashBytes}
3125 0 0 if ($o->{'missingObjects'}{$hashBytes})
3130 0 0 if exists $o->{'index'}{$hashBytes}
3138 0 0 unless (scalar @s)
3144 0 0 if $size < 4
3150 0 0 if $links > 160000
3151 0 0 if 4 + $links * 32 > $s[7]
3153 0 0 if $links > 0
3156 0 0 if length $hashes != $links * 32
3170 0 0 if scalar $entry->children > 2
3194 0 0 if $o->{'progress'} % 100
3202 0 0 scalar @s ? :
3269 0 0 unless open $o->{'fh'}, ">", $o->{'file'}
3291 0 0 if $o->{'countReported'} % 100 == 0
3299 0 0 if ($o->{'countReported'} == 0) { }
3371 0 0 if -e $o->{'filename'}
3719 0 0 unless $o->{'keyPairToken'}
3720 0 0 unless $o->{'store'}
3731 0 0 unless $o->{'keyPairToken'}
3732 0 0 unless $o->{'store'}
3745 0 0 unless $o->{'keyPairToken'}
3746 0 0 unless $o->{'store'}
3757 0 0 unless $o->{'keyPairToken'}
3758 0 0 unless $o->{'store'}
3759 0 0 unless $o->{'actorHash'}
3763 0 0 if $o->{'watchTimeout'}
3778 0 0 unless $o->{'keyPairToken'}
3779 0 0 unless $o->{'store'}
3785 0 0 unless $batch->{'actorHash'}
3795 0 0 unless $o->{'actor'}->isEnvelope($object)
3804 0 0 if $modifications->isEmpty
3825 0 0 unless $url =~ m[^(https?)://([^/]+)(/.*|)$]i
3832 0 0 if ($host =~ /^(.*)\@([^\@]*)$/) { }
3840 0 0 if ($host =~ /^(.*):(\d+)$/)
3841 0 0 if $protocol eq "http" and $2 == 80
3842 0 0 if $protocol eq "https" and $2 == 443
3846 0 0 if $path =~ m[//]
3847 0 0 if $path =~ m[/\.+/]
3848 0 0 if $path =~ m[/\.+$]
3857 0 0 if defined $contentObjectToSign
3868 0 0 unless "CDS"->writeBytesToFile(".cds-curl-bytesToSign", $bytesToSign)
3869 0 0 unless "CDS"->writeBytesToFile(".cds-curl-hashToSign", $hashToSign->bytes)
3870 0 0 unless "CDS"->writeBytesToFile(".cds-curl-signature", $signature)
3873 0 0 if $method ne "GET"
3877 0 0 $_ ne '-X' && $_ ne '-' && $_ ne '--dump-header' && $_ ne '-#' && substr($_, 0, 1) eq '-' ? :
0 0 scalar @$curlArgs ? :
3886 0 0 $text =~ m[[^a-zA-Z0-9\./\@:,_-]] ? :
4055 0 0 $node->status eq 'active' ? :
4060 0 0 $isMostRecentInformation ? :
4077 0 0 if ($o->{'label'})
4100 0 0 if $o->{'actorGroupToken'}
4107 0 0 if $o->{'me'}
4115 0 0 if (scalar @{$o->{'actorHashes'};})
4136 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
4139 0 0 length $o->{'label'} ? :
4141 0 0 $member->revision ? :
4142 0 0 $member->isActive ? :
4147 0 0 if ($actorGroup->entrustedActorsRevision)
4149 0 0 length $o->{'label'} ? :
4156 0 0 if not scalar $actorGroup->entrustedActors
4163 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4170 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4179 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
4180 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
4326 0 0 if scalar @actors
4345 0 0 if ($$entrusted{$accountToken->url})
4352 0 0 if (defined $storeError)
4357 0 0 if (defined $invalidReason)
4364 0 0 $$entrusted{$actorHash->hex} ? :
4383 0 0 if ($$entrusted{$actorHash->hex}) { }
4736 0 0 if $file =~ /^\./
4750 0 0 unless defined $o->{'label'}
4776 0 0 unless scalar @s
4778 0 0 unless Fcntl::S_ISDIR($mode)
4779 0 0 if defined $o->{'permissions'}->uid and $s[4] != $o->{'permissions'}->uid
4780 0 0 if defined $o->{'permissions'}->gid and $s[5] != $o->{'permissions'}->gid
4781 0 0 if ($mode & 511) != $o->{'permissions'}->baseFolderMode
4791 0 0 unless ($folderStore)
4800 0 0 unless ($folderStore->exists)
4844 0 0 unless $folderStore->checkPermissions($logger)
4861 0 0 unless $folderStore->checkPermissions($logger)
4878 0 0 unless $folderStore->checkPermissions($logger)
4912 0 0 if $error
4918 0 0 unless -d $folder
4926 0 0 if $o->{'keyPairToken'}
4928 0 0 if ($o->{'file'})
4949 0 0 if -e $deletedFolder
4950 0 0 unless -e $folder
4951 0 0 unless rename $folder, $deletedFolder
4964 0 0 if $filename =~ /^\./
4966 0 0 if (-f $file) { }
0 0 elsif (-d $file) { }
4973 0 0 unless rmdir $folder
4991 0 0 if ($o->{'wrong'} > 0) { }
5014 0 0 if $o->{'wrong'} > 0
5052 0 0 if length $item > $len and substr($item, 0, $len) eq $o->{'baseFolder'}
5054 0 0 if defined $expectedUid and $uid != $expectedUid
5055 0 0 if defined $expectedGid and $gid != $expectedGid
5056 0 0 if $mode != $expectedMode
5102 0 0 if $o->{'wrong'} > 0
5295 0 0 if defined $o->{'aesKey'}
5298 0 0 if ($o->{'saveData'}) { }
0 0 elsif ($o->{'saveObject'}) { }
5581 0 0 unless $o->{'keyPairToken'}
5600 0 0 if ($o->{'my'}) { }
0 0 elsif ($o->{'actorHash'}) { }
0 0 elsif ($o->{'actorGroup'}) { }
5613 0 0 if $o->{'store'}
5614 0 0 unless scalar @stores
5618 0 0 unless $o->{'keyPairToken'}
5619 0 0 $preferredKeyPairToken->keyPair->equals($o->{'keyPairToken'}->keyPair) ? :
5643 0 0 if defined $storeError
5647 0 0 unless $count
5649 0 0 $boxToken->boxLabel eq 'messages' ? :
5650 0 0 $boxToken->boxLabel eq 'public' ? :
5654 0 0 if $count > 5
5865 0 0 if ($o->{'actorHash'} and $o->{'boxLabel'})
5883 0 0 unless $o->{'actor'}->isEnvelope($object)
5894 0 0 if ($o->{'purge'})
5896 0 0 if defined $error
5897 0 0 unless scalar @$hashes
5905 0 0 if $modifications->isEmpty
5910 0 0 unless defined $error
5913 0 0 if ($o->{'purge'} and scalar @$boxRemovals)
6059 0 0 if ($contentRecord->hashValue) { }
0 0 elsif (length $contentRecord->bytesValue) { }
6060 0 0 if ($envelope->contains('encrypted for')) { }
6066 0 0 if ($envelope->contains('head') and $envelope->contains('mac')) { }
6078 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6090 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6108 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6120 0 0 if ($aesKey) { }
6133 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6134 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
6138 0 0 if ($o->{'senderHash'}) { }
6150 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6159 0 0 unless ($aesKey)
6167 0 0 unless ($contentObject)
6175 0 0 unless ($content)
6182 0 0 unless $senderHash
6188 0 0 unless $mentionsSenderStore
6189 0 0 scalar $mentionsSenderStore ? :
6194 0 0 if ($senderHash and $senderStore) { }
0 0 elsif ($senderHash) { }
0 0 elsif ($senderStore) { }
0 0 elsif ($mentionsSenderStore) { }
6200 0 0 if ($mentionsSenderStore) { }
6219 0 0 $senderStore ? :
6226 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6243 0 0 $expires ? :
6253 0 0 unless $head
6270 0 0 unless $senderHash and $senderStore
6292 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6300 0 0 unless $streamHead and $streamHead->{'isValid'}
6309 0 0 if (length $ctr == 16) { }
6315 0 0 unless $streamHead
6316 0 0 unless $streamHead->{'aesKey'}
6324 0 0 if ($mac eq $expectedMac) { }
6334 0 0 unless ($contentObject)
6341 0 0 unless $content
6342 0 0 $streamHead->{'senderStore'} ? :
6356 0 0 if length $actorHashBytes != 24
6363 0 0 $isMe ? :
0 0 defined $actorName ? :
6369 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6370 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
6372 0 0 if defined $signedHash and ref $signedHash ne "CDS::Hash"
6376 0 0 unless $publicKey
6379 0 0 if ('CDS'->verifyEnvelopeSignature($envelope, $publicKey, $signedHash)) { }
6388 0 0 if defined $hash and ref $hash ne "CDS::Hash"
6391 0 0 if $hash->equals($o->{'keyPairToken'}->keyPair->publicKey->hash)
6397 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6404 0 0 if $o->showActorHash24($child->bytes)
6407 0 0 if $canDecrypt
6415 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6422 0 0 unless length $encryptedAesKey
6425 0 0 if defined $aesKey and length $aesKey == 32
6570 0 0 unless scalar @{$o->{'stores'};}
6573 0 0 if $o->{'object'}
6574 0 0 if $o->{'objectFile'}
6586 0 0 $object->hashesCount == 1 ? :
6605 0 0 $object->hashesCount == 1 ? :
6615 0 0 if defined $object and ref $object ne "CDS::Object"
6621 0 0 if (defined $o->{'aesKey'})
6633 0 0 if $error
6639 0 0 unless $successfulStore
6768 0 0 if defined $o->{'store'}
6769 0 0 if defined $o->{'actorHash'}
6770 0 0 if defined $o->{'keyPairToken'}
6810 0 0 if (length $keyPairFile)
6815 0 0 if ($actorHash and length $storeUrl) { }
0 0 elsif ($actorHash) { }
0 0 elsif (length $storeUrl) { }
6830 0 0 if $hasLabel
6837 0 0 if defined $record and ref $record ne "CDS::Record"
6839 0 0 unless $record->contains("actor group")
6850 0 0 if $isActive
6851 0 0 if $member->status eq "idle"
6853 0 0 unless $isActive
6854 0 0 if $newestActive and $member->revision <= $newestActive->revision
6860 0 0 if $newestActive
6861 0 0 unless $newestActive
6864 0 0 if $discovered
7027 0 0 if ($o->{'keyPairToken'})
7032 0 0 if ($o->{'store'})
7037 0 0 if ($o->{'actorHash'})
7099 0 0 length $keyPairFile ? :
7100 0 0 length $storeUrl ? :
7101 0 0 length $actorBytes == 32 ? :
7243 0 0 unless (scalar @{$o->{'accountTokens'};})
7244 0 0 unless $o->{'actorHash'}
7245 0 0 unless scalar @{$o->{'stores'};}
7267 0 0 if $o->{'actor'}->storageStore->url ne $o->{'actor'}->messagingStore->url
7280 0 0 if (defined $storeError)
7287 0 0 $count == 1 ? :
0 0 $count == 0 ? :
7288 0 0 unless $count
7298 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7310 0 0 if $publicKey and $cardHash and not "CDS"->verifyEnvelopeSignature($envelope, $publicKey, $cardHash)
7313 0 0 unless $cardHash
7329 0 0 if $knownPublicKey
7337 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
7434 0 0 if defined $keyPairToken->file
7673 0 0 if $child->child("revoked")->isSet
7674 0 0 unless $child->child("active")->isSet
7694 0 0 unless $o->{'keyPairToken'}
7714 0 0 scalar @_ == 1 ? :
7715 0 0 $o->{'countValid'} == 1 ? :
7716 0 0 $o->{'countInvalid'} == 1 ? :
0 0 if $o->{'countInvalid'}
7746 0 0 if $o->{'countValid'} + $o->{'countInvalid'} == 0
7753 0 0 if $o->{'accountToken'}->actorHash->equals($o->{'cmd'}{'keyPairToken'}->keyPair->publicKey->hash)
7762 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7763 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
7764 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
7789 0 0 if defined $source and ref $source ne "CDS::Source"
8030 0 0 defined $o->{'file'} ? :
8031 0 0 unless $o->{'object'}
8032 0 0 if defined $o->{'aesKey'}
8035 0 0 if $o->{'showHash'}
8036 0 0 if $o->{'showSize'}
8037 0 0 if $o->{'showBytes'}
8038 0 0 if $o->{'showHashes'}
8039 0 0 if $o->{'showData'}
8040 0 0 if $o->{'showRecord'}
8060 0 0 defined $o->{'aesKey'} ? :
8061 0 0 if defined $o->{'file'}
8089 0 0 unless length $bytes
8093 0 0 $dataStart ? :
8103 0 0 $hashesCount == 1 ? :
8117 0 0 unless length $data
8133 0 0 unless length $o->{'object'}->data
8139 0 0 if ($reader->hasError)
8149 0 0 $o->{'store'} ? :
8153 0 0 if (length $trailer)
8300 0 0 if $o->{'orderedBy'} eq "envelope hash"
8301 0 0 if $o->{'orderedBy'} eq "date"
8308 0 0 $envelopeHash ? :
8416 0 0 if (scalar @{$o->{'hashes'};})
8430 0 0 if scalar keys %{$$o{"missingObjects"};}
8436 0 0 if defined $hash and ref $hash ne "CDS::Hash"
8442 0 0 if (exists $o->{'objects'}{$hashHex})
8449 0 0 if defined $storeError
8451 0 0 unless ($object)
8604 0 0 unless defined $o->{'staticFolder'}
8605 0 0 if defined $o->{'staticFolder'}
8607 0 0 if ($@)
8609 0 0 if $error =~ /^(.*?)( at |\n)/
8890 0 0 if scalar @{$o->{'accountHashes'};} || scalar @{$o->{'objectHashes'};} and not $o->{'fromStore'}
8913 0 0 if $done{$actorHash->bytes}
8946 0 0 if $listError
8952 0 0 if defined $toStore->{'storeError'}
8962 0 0 defined $toStore->{'storeError'} ? :
8971 0 0 if scalar keys %{$$o{"missingObjects"};}
8977 0 0 if defined $hash and ref $hash ne "CDS::Hash"
8986 0 0 if (exists $o->{'objects'}{$hashHex})
8995 0 0 if defined $toStore->{'storeError'}
8997 0 0 unless $o->{'thoroughly'} or $toStore->{'needed'}[$depth - 1]
9000 0 0 if (defined $bookError)
9005 0 0 if $found
9011 0 0 unless $hasActiveStore
9014 0 0 unless ($o->{'thoroughly'} or $countNeeded)
9021 0 0 if defined $getError
9023 0 0 unless (defined $object)
9026 0 0 unless $o->{'leniently'}
9041 0 0 if defined $toStore->{'storeError'}
9042 0 0 unless $toStore->{'needed'}[$depth]
9044 0 0 if $putError
9058 0 0 if ($toStore->{'storeError'}) { }
0 0 elsif ($toStore->{'needed'}[$depth]) { }
9156 0 0 unless length $storeUrl
9427 0 0 if (defined $result) { }
0 0 elsif (scalar @{$token->{'warnings'};}) { }
9444 0 0 if $objectFileToken->object->byteLength > 1048576
9452 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) ? :
9495 0 0 if -f $keyPairFile
9561 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9571 0 0 if $content =~ /^(.*)\n/
9572 0 0 if $content =~ /^\s*(.*?)\s*$/
9582 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9601 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
9602 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9615 0 0 if $member->status ne "active"
9617 0 0 if ($node->{'revision'} < $member->revision)
9628 0 0 if $revisionAtStart < $node->{'revision'}
9643 0 0 unless $node->{'reachable'}
9644 0 0 unless $node->{'attachedToUs'}
9645 0 0 unless $node->{'actorOnStore'}
9646 0 0 unless $node->isActiveOrIdle
9662 0 0 unless $store
9665 0 0 if ($knownPublicKey)
9672 0 0 if (defined $invalidReason)
9677 0 0 if (defined $storeError)
9685 0 0 unless $CDS::DiscoverActorGroup::b->{'revision'} <=> $CDS::DiscoverActorGroup::a->{'revision'}
9691 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9696 0 0 if $node
9702 0 0 if defined $hash and ref $hash ne "CDS::Hash"
9712 0 0 unless $node->{'attachedToUs'}
9713 0 0 if $node->{'revision'} <= $mainRevision
9718 0 0 unless $mainNode
9733 0 0 if $node->{'reachable'}
9734 0 0 $link->{'revision'} > $node->{'revision'} ? :
9735 0 0 if $prospectiveStatus ne "active"
9737 0 0 if $node->{'attachedToUs'}
9738 0 0 unless $node->{'attachedToUs'}
9746 0 0 unless $node->{'attachedToUs'}
9758 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
9759 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
9760 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
9761 0 0 if defined $cardHash and ref $cardHash ne "CDS::Hash"
9805 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9832 0 0 unless $o->{'status'} eq "active"
9854 0 0 if $o->{'cardsRead'}
9862 0 0 unless ($o->{'actorOnStore'})
9864 0 0 unless ($publicKey)
9866 0 0 if defined $storeError
9867 0 0 if defined $invalidReason
9876 0 0 if defined $storeError
9881 0 0 if defined $storeError
9882 0 0 unless ($object)
9888 0 0 unless ($envelope)
9894 0 0 unless ($cardHash)
9899 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'actorOnStore'}->publicKey, $cardHash))
9906 0 0 if defined $storeError1
9907 0 0 unless ($cardObject)
9913 0 0 unless ($card)
9935 0 0 if $o->{'attachedToUs'}
9936 0 0 unless $o->hasLinkToUs
9955 0 0 if $o->{'revision'} >= $revision
9963 0 0 if $o->{'discoverer'}->covers($o->{'actorHash'})
9965 0 0 if $o->{'discoverer'}->covers($link->{'node'}{'actorHash'})
9974 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10006 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10011 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10014 0 0 unless $item
10028 0 0 unless $hashAndKey
10029 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
10040 0 0 unless $o->{'hasPartsToMerge'}
10044 0 0 if $part->{'isMerged'}
10045 0 0 if $part->{'loadedRecord'}
10048 0 0 if defined $storeError
10050 0 0 if defined $invalidReason
10056 0 0 if $part->{'isMerged'}
10057 0 0 unless $part->{'loadedRecord'}
10058 0 0 $part->{'loadedRecord'}->child('client')->textValue =~ /0.19/ ? :
10071 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10072 0 0 if defined $record and ref $record ne "CDS::Record"
10077 0 0 unless scalar @children
10082 0 0 if $oldFormat
10105 0 0 if ($o->{'changes'}{'count'})
10117 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
10123 0 0 unless $addedPart
10128 0 0 unless $item->{'part'}{'selected'}
10157 0 0 unless $part->{'isMerged'}
10158 0 0 if $part->{'count'}
10172 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10175 0 0 $parentSelector ? :
10187 0 0 if $parent
10198 0 0 unless $o->{'parent'}
10201 0 0 if scalar @{$o->{'children'};}
10202 0 0 if $o->{'revision'} > 0
10216 0 0 if $o->{'part'}
10218 0 0 if $o->{'part'}
10227 0 0 if defined $record and ref $record ne "CDS::Record"
10229 0 0 if $revision <= 0
10230 0 0 if $revision < $o->{'revision'}
10231 0 0 if $revision == $o->{'revision'} and $part->{'size'} < $o->{'part'}{'size'}
10242 0 0 if $o->{'revision'} <= 0
10253 0 0 if $o->{'saveRecord'}
10254 0 0 $o->{'parent'} ? :
10255 0 0 if ($o->{'part'}{'selected'}) { }
10256 0 0 if $o->{'revision'} <= 0
10267 0 0 unless $o->{'saveRecord'}
10269 0 0 if $o->{'parent'}
10319 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10320 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10322 0 0 if $o->{'errorHandler'}->hasStoreError($o, "GET")
10325 0 0 if (defined $error)
10336 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10337 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10339 0 0 if $o->{'errorHandler'}->hasStoreError($o, "BOOK")
10342 0 0 if (defined $error)
10353 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10354 0 0 if defined $object and ref $object ne "CDS::Object"
10355 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10357 0 0 if $o->{'errorHandler'}->hasStoreError($o, "PUT")
10360 0 0 if (defined $error)
10371 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10374 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10376 0 0 if $o->{'errorHandler'}->hasStoreError($o, "LIST")
10379 0 0 if (defined $error)
10390 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10392 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10393 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10395 0 0 if $o->{'errorHandler'}->hasStoreError($o, "ADD")
10398 0 0 if (defined $error)
10409 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10411 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10412 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10414 0 0 if $o->{'errorHandler'}->hasStoreError($o, "REMOVE")
10417 0 0 if (defined $error)
10429 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10431 0 0 if $o->{'errorHandler'}->hasStoreError($o, "MODIFY")
10434 0 0 if (defined $error)
10452 0 0 if substr($url, 0, 8) ne "file:///"
10479 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10480 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10489 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10490 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10496 0 0 if -e $file and utime undef, undef, $file
10502 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10503 0 0 if defined $object and ref $object ne "CDS::Object"
10504 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10510 0 0 if -e $file and utime undef, undef, $file
10516 0 0 unless rename $temporaryFile, $file
10522 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10525 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10527 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10533 0 0 unless $timeout
10542 0 0 if scalar @$hashes
10566 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10568 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10569 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10573 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10581 0 0 unless rename $temporaryFile, $boxFolder . "/" . $hash->hex
10587 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10589 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10590 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10592 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10595 0 0 unless -d $boxFolder
10603 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10639 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10649 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10667 0 0 unless $permissions->checkPermissions($accountsFolder, $permissions->baseFolderMode, $logger)
10671 0 0 unless $account =~ /^[0-9a-f]{64}$/
10673 0 0 unless $permissions->checkPermissions($accountFolder, $permissions->accountFolderMode, $logger)
10677 0 0 if $boxLabel =~ /^\./
10679 0 0 unless $permissions->checkPermissions($boxFolder, $permissions->boxFolderMode($boxLabel), $logger)
10684 0 0 unless $file =~ /^[0-9a-f]{64}/
10685 0 0 unless $permissions->checkPermissions($boxFolder . "/" . $file, $filePermissions, $logger)
10694 0 0 unless $permissions->checkPermissions($objectsFolder, $folderMode, $logger)
10698 0 0 unless $sub =~ /^[0-9a-f][0-9a-f]$/
10700 0 0 unless $permissions->checkPermissions($subFolder, $folderMode, $logger)
10703 0 0 unless $file =~ /^[0-9a-f]{62}/
10704 0 0 unless $permissions->checkPermissions($subFolder . "/" . $file, $fileMode, $logger)
10724 0 0 ($mode & 56) == 56 ? :
0 0 ($mode & 63) == 63 ? :
10753 0 0 unless open my $fh, ">:bytes", $temporaryFile
10761 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10770 0 0 if -d $folder
10779 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10796 0 0 unless scalar @s
10805 0 0 if ($wrongUid or $wrongGid or $wrongMode) { }
10807 0 0 unless $logger->wrong($item, $uid, $gid, $mode, $expectedUid, $expectedGid, $expectedMode)
10810 0 0 if ($wrongUid or $wrongGid)
10812 0 0 if $count < 1
10816 0 0 if ($wrongMode)
10818 0 0 if $count < 1
10851 0 0 $boxLabel eq 'public' ? :
10855 0 0 $boxLabel eq 'public' ? :
10879 0 0 $boxLabel eq 'public' ? :
10883 0 0 $boxLabel eq 'public' ? :
10919 0 0 if $remaining <= 0
10963 0 0 if $registered != $dataHandler
10971 0 0 if defined $record and ref $record ne "CDS::Record"
10973 0 0 unless $o->{'revision'}
10979 0 0 if defined $record and ref $record ne "CDS::Record"
10983 0 0 if $revision <= $o->{'revision'}
10993 0 0 if defined $record and ref $record ne "CDS::Record"
10994 0 0 if defined $source and ref $source ne "CDS::Source"
10997 0 0 unless $source
11021 0 0 unless scalar @$members
11026 0 0 if $versionHash->bytes eq $o->{'version'}
11044 0 0 if $missingObject
11045 0 0 unless $submission
11055 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11060 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11076 0 0 unless ($o->{'actor'}->isGroupMember($message->sender->publicKey->hash))
11223 0 0 if $path ne "/"
11226 0 0 if $request->method eq "OPTIONS"
11229 0 0 if $request->method eq "HEAD" or $request->method eq "GET"
11272 0 0 if $o->{'lineStarted'}
11283 0 0 unless $o->{'lineStarted'}
11295 0 0 if defined $recipientHash and ref $recipientHash ne "CDS::Hash"
11305 0 0 if $path ne "/"
11308 0 0 if $request->method eq "OPTIONS"
11329 0 0 if ($request->remainingData > 1024) { }
0 0 elsif ($request->remainingData) { }
11345 0 0 $submission ? :
11354 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11359 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11393 0 0 unless $root =~ m[/$]
11394 0 0 if substr($o->{'path'}, 0, length $root) ne $root
11468 0 0 unless defined $o->{'queryString'}
11472 0 0 if ($pair =~ /^(.*?)=(.*)$/) { }
11502 0 0 if $date < $now - 120 or $date > $now + 60
11507 0 0 unless $publicKeyObject
11508 0 0 unless $publicKeyObject->calculateHash->equals($actorHash)
11513 0 0 if defined $contentBytesToSign
11520 0 0 unless $publicKey->verifyHash($hashToSign, $signature)
11532 0 0 length $content ? :
11539 0 0 length $content ? :
11546 0 0 length $content ? :
11554 0 0 if $o->corsAllowEverybody and $o->{'headers'}{'origin'}
11587 0 0 if ($o->corsAllowEverybody and my $origin = $o->{'headers'}{'origin'})
11599 0 0 if $o->{'method'} ne "HEAD"
11626 0 0 if $request->path ne $o->{'path'}
11629 0 0 if $request->method eq "OPTIONS"
11632 0 0 if $request->method eq "GET"
11686 0 0 if $request->method eq "OPTIONS"
11689 0 0 if $request->method eq "GET" or $request->method eq "HEAD"
11710 0 0 if $segment =~ /^\./
11715 0 0 if (-d $file)
11716 0 0 unless length $o->{'defaultFile'}
11717 0 0 unless $file =~ m[/$]
11739 0 0 $file =~ /\.([A-Za-z0-9]*)$/ ? :
11748 0 0 unless open my $fh, "<:bytes", $file
11749 0 0 unless (-f $fh)
11786 0 0 if ($request->path =~ m[^/objects/([0-9a-f]{64})$])
11792 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)$])
11799 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)/([0-9a-f]{64})$])
11807 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})$])
11808 0 0 if $request->method eq "OPTIONS"
11813 0 0 if ($request->path =~ m[^/accounts$])
11818 0 0 if ($request->path =~ m[^/(accounts|objects)(/|$)])
11829 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11832 0 0 if ($request->method eq "OPTIONS")
11837 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
11839 0 0 if defined $error
11840 0 0 unless $object
11846 0 0 if ($request->method eq "PUT")
11849 0 0 if $o->{'checkPutHash'} and not $object->calculateHash->equals($hash)
11851 0 0 if ($o->{'checkSignatures'})
11854 0 0 unless $request->checkSignature($checkSignatureStore)
11858 0 0 if defined $error
11863 0 0 if ($request->method eq "POST")
11864 0 0 if $o->{'checkSignatures'} and not $request->checkSignature($o->{'store'})
11865 0 0 if $request->remainingData
11867 0 0 if defined $error
11868 0 0 $booked ? :
11877 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11881 0 0 if ($request->method eq "OPTIONS")
11886 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
11888 0 0 $watch =~ /^(\d+)\s*ms$/ ? :
11889 0 0 if $timeout > $o->{'maximumWatchTimeout'}
11891 0 0 if defined $error
11901 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11903 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11906 0 0 if ($request->method eq "OPTIONS")
11911 0 0 if ($request->method eq "PUT")
11912 0 0 if ($o->{'checkSignatures'})
11914 0 0 unless $actorHash
11915 0 0 unless $o->verifyAddition($actorHash, $accountHash, $boxLabel, $hash)
11919 0 0 if defined $error
11924 0 0 if ($request->method eq "DELETE")
11925 0 0 if ($o->{'checkSignatures'})
11927 0 0 unless $actorHash
11928 0 0 unless $o->verifyRemoval($actorHash, $accountHash, $boxLabel, $hash)
11932 0 0 if defined $error
11944 0 0 if ($request->method eq "OPTIONS")
11949 0 0 if ($request->method eq "POST")
11952 0 0 unless $modifications
11954 0 0 if ($o->{'checkSignatures'})
11956 0 0 unless $actorHash
11957 0 0 unless $o->verifyModifications($actorHash, $modifications)
11961 0 0 if defined $error
11970 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11974 0 0 unless $o->verifyAddition($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
11978 0 0 unless $o->verifyRemoval($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
11986 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11987 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11989 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11991 0 0 if $accountHash->equals($actorHash)
11992 0 0 if $boxLabel eq "messages"
11998 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11999 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12001 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12003 0 0 if $accountHash->equals($actorHash)
12007 0 0 if defined $error
12008 0 0 unless defined $bytes
12015 0 0 if length $hashBytes24 != 24
12016 0 0 if $hashBytes24 eq $actorHashBytes24
12031 0 1 unless $url =~ m[^(http|https)://]
12048 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12049 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12052 0 0 if $response->code == 404
12053 0 0 unless $response->is_success
12059 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12060 0 0 if defined $object and ref $object ne "CDS::Object"
12061 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12066 0 0 if $response->is_success
12072 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12073 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12076 0 0 if $response->code == 404
12077 0 0 if $response->is_success
12083 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12086 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12090 0 0 if $timeout > 0
12092 0 0 unless $response->is_success
12095 0 0 if (length($bytes) % 32 != 0)
12110 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12112 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12113 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12117 0 0 if $response->is_success
12123 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12125 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12126 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12130 0 0 if $response->is_success
12137 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12143 0 0 if $response->is_success
12153 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12160 0 0 if ($keyPair)
12161 0 0 $url =~ m[^https?://(.*)$] ? :
12164 0 0 if $signData
12182 0 0 if length $hashBytes != 32
12190 2 2 unless $hashHex =~ /^\s*([a-fA-F0-9]{64,64})\s*$/
12224 0 0 unless defined $this or defined $that
12225 0 0 unless defined $this and defined $that
12239 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12258 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*$/) { }
12334 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12337 0 0 if $account
12345 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12346 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12354 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12355 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12364 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12365 0 0 if defined $object and ref $object ne "CDS::Object"
12366 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12374 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12377 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12386 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12388 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12389 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12397 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12399 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12400 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12409 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12427 0 0 if $entry->{'booked'} > $graceTime
12439 0 0 if scalar keys %{$$account{"messages"};}
12440 0 0 if scalar keys %{$$account{"private"};}
12441 0 0 if scalar keys %{$$account{"public"};}
12447 0 0 if $entry->{'inUse'}
12454 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12464 0 0 if $entry->{'inUse'}
12483 0 0 if $missing
12484 0 0 if defined $storeError
12492 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12497 0 0 if $$done{$hash->bytes}
12502 0 0 if defined $bookError
12503 0 0 if $booked
12507 0 0 if defined $getError
12508 0 0 unless defined $object
12513 0 0 if defined $error
12514 0 0 if (defined $missing)
12522 0 0 if defined $putError
12528 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
12551 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
12569 0 0 if defined $expires
12576 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12584 0 0 if $publicKey->hash->equals($o->{'publicKey'}->hash)
12625 0 0 if defined $record and ref $record ne "CDS::Record"
12637 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
12696 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12706 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12710 0 0 if defined $error
12711 0 0 unless $object
12718 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12722 0 0 if defined $error
12723 0 0 unless $object
12731 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12735 0 0 if defined $error
12736 0 0 unless $object
12745 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12749 0 0 if defined $error
12750 0 0 unless $object
12760 0 0 unless defined $this or defined $that
12761 0 0 unless defined $this and defined $that
12769 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12774 0 0 unless length $encryptedAesKey
12775 0 0 unless length $encryptedAesKey
12779 0 0 if not $aesKeyBytes or length $aesKeyBytes != 32
12790 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12805 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
12807 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12820 0 0 unless $isActive or $isIdle
12823 0 0 if defined $storeError
12824 0 0 unless $publicKey
12834 0 0 if defined $storeError
12835 0 0 unless $publicKey
12847 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12850 0 0 if $knownPublicKey
12853 0 0 if defined $storeError
12854 0 0 if defined $invalidReason
12886 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12887 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12892 0 0 defined $error ? :
0 0 defined $object ? :
12898 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12899 0 0 if defined $object and ref $object ne "CDS::Object"
12900 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12905 0 0 defined $error ? :
12911 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12912 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12917 0 0 defined $error ? :
0 0 defined $booked ? :
12923 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12926 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12931 0 0 $timeout ? :
0 0 defined $hashes ? :
12937 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12939 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12940 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12945 0 0 defined $error ? :
12951 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12953 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12954 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12959 0 0 defined $error ? :
12966 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12971 0 0 defined $error ? :
12990 0 0 if length $text < $width
12998 0 0 if length $s < 9
13007 0 0 if length $s < 9
13018 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
13038 0 0 if defined $listError
13042 0 0 unless $entry
13043 0 0 if $entry->{'processed'}
13046 0 0 if ($entry->{'waitingForStore'})
13048 0 0 if defined $checkError
13053 0 0 if defined $getError
13058 0 0 unless (defined $object)
13065 0 0 unless ($envelope)
13070 0 0 $envelope->contains('head') && $envelope->contains('mac') ? :
13074 0 0 unless $message
13086 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
13090 0 0 unless length $encryptedBytes
13094 0 0 unless $aesKey
13098 0 0 unless $contentObject
13101 0 0 unless $content
13105 0 0 unless $senderHash
13109 0 0 unless scalar $storeRecord->children
13113 0 0 unless $senderStore
13117 0 0 if defined $publicKeyStoreError
13118 0 0 if defined $invalidReason
13122 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash))
13124 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $contentObject->calculateHash)
13136 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
13140 0 0 unless $head
13144 0 0 unless $streamHead
13145 0 0 if $streamHead->error
13149 0 0 unless length $encryptedBytes
13153 0 0 if length $ctr != 16
13157 0 0 unless $mac
13162 0 0 if $mac ne $expectedMac
13166 0 0 unless $contentObject
13169 0 0 unless $content
13187 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
13192 0 0 if $senderHash->equals($o->{'actorOnStore'}->publicKey->hash)
13196 0 0 if $cachedPublicKey
13200 0 0 if defined $storeError
13201 0 0 if defined $invalidReason
13210 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13222 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13281 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13282 0 0 if defined $object and ref $object ne "CDS::Object"
13293 0 0 unless scalar @$hashes
13299 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
13320 0 0 unless $o->{'actor'}->sentListReady
13327 0 0 if defined $error
13329 0 0 if ($missingObject)
13367 0 0 if $item->envelopeHash
13404 0 0 if $o->{'submissionId'} != $o->{'channel'}{'currentSubmissionId'}
13423 0 0 if (defined $error) { }
13432 0 0 if ($failed == 0 or scalar keys %{$$o{"obsoleteHashes"};} > 64)
13445 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13482 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13483 0 0 if defined $object and ref $object ne "CDS::Object"
13494 0 0 unless scalar @$hashes
13524 0 0 if defined $error
13526 0 0 if ($missingObject)
13539 0 0 if ($hashes)
13547 0 0 if defined $modifyError
13578 0 0 if length $header < 4
13580 0 0 if length $header != 4 + $hashesCount * 32
13593 0 0 if length $bytes < 4
13597 0 0 if $dataStart > length $bytes
13638 0 0 if $index < 0 or $index >= $o->{'hashesCount'}
13679 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13680 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13683 0 0 if $objectFromCache
13686 0 0 unless defined $object
13741 0 0 if defined $object and ref $object ne "CDS::Object"
13758 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13797 0 0 if $arg eq "?"
13798 0 0 if $arg eq "??"
13801 0 0 unless scalar @{$o->{'states'};}
13806 0 0 unless scalar @results
13810 0 0 if $maxWeight < $result->cumulativeWeight
13814 0 0 if scalar @results > 1
13842 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 '\\"') { }
13843 0 0 if ($c eq ' ') { }
0 0 elsif ($c eq q[']) { }
0 0 elsif ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
13844 0 0 if length $arg
13847 0 0 if length $arg
13851 0 0 if length $arg
13863 0 0 if ($c eq q[']) { }
13864 0 0 if length $arg
13871 0 0 if ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
13872 0 0 if length $arg
13892 0 0 if $arg eq "?"
13921 0 0 unless $b->cumulativeWeight <=> $a->cumulativeWeight
13923 0 0 $interpretation->isExecutable ? :
13938 0 0 $valueRef eq 'CDS::AccountToken' ? :
0 0 $valueRef eq 'CDS::ErrorHandlingStore' ? :
0 0 $valueRef eq 'CDS::Hash' ? :
0 0 $valueRef eq '' ? :
13944 0 0 $state->collectHandler ? :
13953 0 0 if length $cmd > 30
13980 0 0 if (scalar @{$invalid->{'warnings'};})
14043 0 0 if exists $o->{'possibilities'}{$possibility . " \x{2026}"}
14061 0 0 unless $arrow->{'official'}
14064 0 0 if $arrow->{'node'}->hasHandler
14065 0 0 if ($arrow->{'node'}->endProposals or exists $$visitedNodes{$arrow->{'node'}})
14066 0 0 $o->canContinue($arrow->{'node'}) ? :
14084 0 0 unless $arrow->{'official'}
14140 0 0 if $o->{'handler'}
14141 0 0 if $default->hasHandler
14148 0 0 if $o->{'handler'}
14175 0 0 $previous ? :
0 0 $arrow ? :
14185 0 0 $o->{'node'}->getHandler ? :
14188 0 0 $o->{'arrow'} ? :
14191 0 0 $o->{'arrow'} ? :
14227 0 0 unless $arrow->{'official'}
14233 0 0 unless $arrow->{'official'}
14291 0 0 if $expect =~ /^[a-z0-9]*$/
14297 0 0 exists $o->{'cache'}{$expect} ? :
14303 0 0 if $expect eq "ACCOUNT"
14304 0 0 if $expect eq "ACTOR"
14305 0 0 if $expect eq "ACTORGROUP"
14306 0 0 if $expect eq "AESKEY"
14307 0 0 if $expect eq "BOX"
14308 0 0 if $expect eq "BOXLABEL"
14309 0 0 if $expect eq "FILE"
14310 0 0 if $expect eq "FILENAME"
14311 0 0 if $expect eq "FOLDER"
14312 0 0 if $expect eq "FOLDERNAME"
14313 0 0 if $expect eq "GROUP"
14314 0 0 if $expect eq "HASH"
14315 0 0 if $expect eq "KEYPAIR"
14316 0 0 if $expect eq "LABEL"
14317 0 0 if $expect eq "OBJECT"
14318 0 0 if $expect eq "OBJECTFILE"
14319 0 0 if $expect eq "PORT"
14320 0 0 if $expect eq "STORE"
14321 0 0 if $expect eq "TEXT"
14322 0 0 if $expect eq "USER"
14323 0 0 $o->{'text'} eq $expect ? :
14330 0 0 if $expect eq "ACCOUNT"
14331 0 0 if $expect eq "ACTOR"
14332 0 0 if $expect eq "ACTORGROUP"
14333 0 0 if $expect eq "AESKEY"
14334 0 0 if $expect eq "BOX"
14335 0 0 if $expect eq "BOXLABEL"
14336 0 0 if $expect eq "FILE"
14337 0 0 if $expect eq "FILENAME"
14338 0 0 if $expect eq "FOLDER"
14339 0 0 if $expect eq "FOLDERNAME"
14340 0 0 if $expect eq "GROUP"
14341 0 0 if $expect eq "HASH"
14342 0 0 if $expect eq "KEYPAIR"
14343 0 0 if $expect eq "LABEL"
14344 0 0 if $expect eq "OBJECT"
14345 0 0 if $expect eq "OBJECTFILE"
14346 0 0 if $expect eq "STORE"
14347 0 0 if $expect eq "USER"
14348 0 0 if $expect eq "TEXT"
14356 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14363 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14377 0 0 if ($actorHash and length $storeUrl)
14380 0 0 if $o->isKeyword
14385 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/*\s*$])
14388 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14405 0 0 unless length $storeUrl
14418 0 0 unless $o->{'text'} =~ /^[0-9A-Fa-f]{64}$/
14426 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/(messages|private|public)/*\s*$])
14430 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14449 0 0 if $o->{'text'} eq "messages"
14450 0 0 if $o->{'text'} eq "private"
14451 0 0 if $o->{'text'} eq "public"
14467 0 0 unless -f $file
14468 0 0 if $o->isKeyword
14477 0 0 if $startFilename =~ m[^~/(.*)$]
14478 0 0 if ($startFilename eq '~') { }
0 0 elsif ($startFilename =~ m[^(.*/)([^/]*)$]) { }
14487 0 0 if $filename eq "."
14488 0 0 if $filename eq ".."
14489 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14491 0 0 if -d $file
14492 0 0 if -f $file
14500 0 0 if $o->isKeyword
14508 0 0 unless -d $folder
14509 0 0 if $o->isKeyword
14518 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14524 0 0 if $filename eq "."
14525 0 0 if $filename eq ".."
14526 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14528 0 0 unless -d $file
14536 0 0 if $o->isKeyword
14543 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
14559 0 0 if $hash
14564 0 0 if $o->isKeyword
14593 0 0 unless (length $file)
14595 0 0 if $o->isKeyword and -f $file
14599 0 0 unless -f $file
14613 0 0 unless length $record->child("key pair")->textValue
14622 0 0 if $records->children
14631 0 0 if substr($label, 0, length $o->{'text'}) ne $o->{'text'}
14640 0 0 $o->{'text'} =~ m[^\s*(.*?/objects/)([0-9a-fA-F]{2,2})/([0-9a-fA-F]{62,62})/*\s*$] ? :
14643 0 0 if ($url =~ m[^\s*(.*?)/objects/([0-9a-fA-F]{64,64})/*\s*$])
14646 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14666 0 0 if $o->isKeyword and -f $file
14669 0 0 unless -f $file
14689 0 0 unless scalar $record->children
14690 0 0 if $o->isKeyword
14696 0 0 if defined $storeError
14711 0 0 unless scalar $record->child("actor group")->children
14721 0 0 if $port <= 0 or $port > 65536
14730 0 0 unless length $storeUrl
14732 0 0 if $o->isKeyword
14739 0 0 if $o->isKeyword
14740 0 0 if $o->{'text'} =~ /[0-9a-f]{32}/
14742 0 0 if $o->{'text'} =~ /^[a-zA-Z0-9_\+-]*:/
14743 0 0 if -d $o->{'text'} and -d $o->{'text'} . "/accounts" and -d $o->{'text'} . "/objects"
14759 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14765 0 0 if $filename eq "."
14766 0 0 if $filename eq ".."
14767 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14769 0 0 unless -d $file
14770 0 0 -d $file . '/accounts' && -d $file . '/objects' ? :
14783 0 0 if length $record->child("actor")->bytesValue
14785 0 0 unless length $storeUrl
14810 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
14834 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
14855 0 0 if defined $listError
14866 0 0 if $entry->{'processed'}
14870 0 0 if defined $getError
14872 0 0 unless (defined $object)
14879 0 0 unless ($envelope)
14886 0 0 unless ($contentHash)
14892 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $contentHash))
14899 0 0 unless ($aesKey)
14907 0 0 if defined $contentStoreError
14909 0 0 if (defined $contentInvalidReason)
14940 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
14977 0 0 if $registered != $dataHandler
14988 0 0 if $o->{'procured'} + $interval > $now
14998 0 0 if defined $source and ref $source ne "CDS::Source"
14999 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
15013 0 0 if defined $source and ref $source ne "CDS::Source"
15033 0 0 unless $o->{'hasChanges'}
15061 0 0 if defined $missing or defined $storeError
15071 0 0 if defined $modifyError
15109 0 0 if defined $object and ref $object ne "CDS::Object"
15135 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15153 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
15162 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15172 0 0 if scalar values %{$$o{"cache"};} < $o->{'maxSize'}
15178 0 0 if $toRemove <= 0
15188 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15201 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15203 0 0 if $o->{'done'}{$hash->bytes}
15211 0 0 if defined $error
15216 0 0 if defined $error
15227 0 0 if defined $source and ref $source ne "CDS::Source"
15228 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
15271 0 0 if defined $object and ref $object ne "CDS::Object"
15281 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15296 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15306 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15311 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15316 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15321 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15326 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15331 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15335 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15339 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
15340 0 0 $hashAndKey ? :
15347 0 0 if defined $object and ref $object ne "CDS::Object"
15349 0 0 unless length $object->data
15358 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15373 0 0 if $child->{'bytes'} eq $bytes
15384 0 0 if $child->{'bytes'} eq $bytes
15436 0 0 unless $o->{'hash'}
15437 0 0 if length $o->{'bytes'} != 32
15480 0 0 if $o->{'hash'}
15506 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15508 0 0 if $o->{'hash'}
15530 0 0 if defined $object and ref $object ne "CDS::Object"
15544 0 0 if defined $record and ref $record ne "CDS::Record"
15552 0 0 $length == 31 ? :
0 0 $length == 30 ? :
15554 0 0 $flags & 32 ? :
15555 0 0 if $o->{'hasError'}
15559 0 0 if $flags & 64 and not $o->readChildren($child)
15560 0 0 unless $flags & 128
15570 0 0 if $o->{'pos'} <= length $o->{'data'}
15611 0 0 if defined $record and ref $record ne "CDS::Record"
15614 0 0 unless scalar @children
15622 0 0 if defined $record and ref $record ne "CDS::Record"
15627 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15628 0 0 if defined $record->{'hash'}
15630 0 0 if $countChildren
15631 0 0 if $hasMoreSiblings
15635 0 0 if ($flags & 31) == 30
15636 0 0 if ($flags & 31) == 31
15638 0 0 if $flags & 32
15661 0 0 if utf8::is_utf8($bytes)
15667 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15705 0 0 if $newPart or scalar @$obsoleteParts
15710 0 0 if defined $record and ref $record ne "CDS::Record"
15718 0 0 if defined $record and ref $record ne "CDS::Record"
15731 0 0 if defined $record and ref $record ne "CDS::Record"
15732 0 0 if defined $source and ref $source ne "CDS::Source"
15738 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
15744 0 0 if defined $storeError
15745 0 0 if $missing
15747 0 0 if ($source)
15820 0 0 if defined $record and ref $record ne "CDS::Record"
15824 0 0 $item->{'revision'} >= $now ? :
15830 0 0 if defined $record and ref $record ne "CDS::Record"
15843 0 0 if $o->isSet
15898 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15907 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15912 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15917 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15922 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15927 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15932 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15937 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15941 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
15948 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15949 0 0 if defined $object and ref $object ne "CDS::Object"
15956 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15987 0 0 if defined $record and ref $record ne "CDS::Record"
15995 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
15996 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
16016 0 0 if $o->{'validUntil'} > $validUntil
16017 0 0 if $o->{'validUntil'} == $validUntil and $part->{'size'} < $o->{'part'}{'size'}
16044 0 0 if defined $record and ref $record ne "CDS::Record"
16060 0 0 if $item->{'validUntil'} >= $now
16069 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16070 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
16072 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16092 0 0 if ($o->{'referenceCount'} < 1)
16103 0 0 if ($o->{'referenceCount'} < 1)
16109 0 0 if $o->{'referenceCount'} > 0
16172 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16185 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16186 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16194 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16195 0 0 if defined $object and ref $object ne "CDS::Object"
16196 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16204 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16205 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16213 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16216 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16224 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16226 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16227 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16235 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16237 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16238 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16247 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16260 0 0 if $error
16274 0 0 if $error
16327 0 0 if scalar keys %{$$o{"objects"};}
16328 0 0 if scalar @{$o->{'additions'};}
16329 0 0 if scalar @{$o->{'removals'};}
16335 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16336 0 0 if defined $object and ref $object ne "CDS::Object"
16343 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16345 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16346 0 0 if defined $object and ref $object ne "CDS::Object"
16348 0 0 if $object
16354 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16356 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16364 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16369 0 0 if $error
16375 0 0 if $error
16407 0 0 if defined $record and ref $record ne "CDS::Record"
16409 0 0 unless $CDS::StoreModifications::a->{'accountHash'}->bytes cmp $CDS::StoreModifications::b->{'accountHash'}->bytes
16438 0 0 if defined $record and ref $record ne "CDS::Record"
16459 0 0 if defined $record and ref $record ne "CDS::Record"
16465 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
16482 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
16501 0 0 if $streamHead->lastUsed < $limit
16511 0 0 if ($streamHead)
16518 0 0 if defined $getError
16522 0 0 unless $envelope
16526 0 0 unless length $encryptedBytes
16530 0 0 unless $aesKey
16534 0 0 unless $contentObject
16537 0 0 unless $content
16541 0 0 unless $senderHash
16545 0 0 unless scalar $storeRecord->children
16549 0 0 unless $senderStore
16553 0 0 if defined $publicKeyStoreError
16554 0 0 if defined $invalidReason
16558 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash)
16581 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16582 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
16622 0 0 if defined $parentSelector and ref $parentSelector ne "CDS::Selector"
16633 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
16659 0 0 if ($newPart)
16741 0 0 if $o->{'hasSpace'}
16778 0 0 if $o->{'pure'}
16782 0 0 if length $text > 80
16783 0 0 if length $text < 80
16791 0 0 if $o->{'pure'}
16792 0 0 unless $o->{'hasProgress'}
16880 0 0 if length $text > $width
16889 0 0 if length $text > $width
16899 0 0 if defined $firstLine and length $key >= $indent
16913 0 0 if $o->{'verbose'}
16975 0 0 defined $maxLength && $length > $maxLength ? :
16984 0 0 if $fileSize < 1000
16985 0 0 if $fileSize < 10000
16986 0 0 if $fileSize < 1000000
16987 0 0 if $fileSize < 10000000
16988 0 0 if $fileSize < 1000000000
16989 0 0 if $fileSize < '10000000000'
17029 0 0 if defined $record and ref $record ne "CDS::Record"
17035 0 0 if defined $record and ref $record ne "CDS::Record"
17045 0 0 if defined $selector and ref $selector ne "CDS::Selector"
17049 0 0 $item->{'revision'} ? :
17051 0 0 if ($selector->{'id'} eq 'ROOT') { }
17057 0 0 length $label > 64 ? :
17070 0 0 if defined $selector and ref $selector ne "CDS::Selector"
17110 0 0 if $dataStart > length $o->{'bytes'}
17125 0 0 $alternate ? :
17152 0 0 if $pos <= length $o->{'bytes'}
17169 0 0 $length == 31 ? :
0 0 $length == 30 ? :
17171 0 0 if ($byteLength)
17176 0 0 if ($flags & 32)
17182 0 0 if $flags & 64
17183 0 0 unless $flags & 128
17187 0 0 if $pos != length $o->{'bytes'}
17188 0 0 if $hasError
17216 0 0 if $index >= $length
17225 0 0 if $break
17228 0 0 if $break
17234 0 0 $code >= 32 && $code <= 126 ? :
17276 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17277 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17285 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17286 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17294 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17295 0 0 if defined $object and ref $object ne "CDS::Object"
17296 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17306 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17309 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17311 0 0 $timeout == 0 ? :
17317 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17319 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17320 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17328 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17330 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17331 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17340 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17352 0 0 if defined $record and ref $record ne "CDS::Record"
17355 0 0 defined $storeUrl ? :
17365 0 0 if defined $record and ref $record ne "CDS::Record"
17376 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 ? :
17391 0 0 if $hash and ($bytes and length $bytes != 32)
17405 0 0 if $length <= 64
17414 0 0 $length > 64 ? :
17418 0 0 if ($length <= 8)
17420 0 0 $o->looksLikeTimestamp($integer) ? :
17423 0 0 if $length == 4 or $length == 8
17424 0 0 if $length == 32
17425 0 0 if length $bytes > 64
17434 0 0 unless $o->looksLikeTimestamp($integer)
17443 0 0 unless $o->looksLikeTimestamp($integer)
17469 0 0 if ($parent) { }
17482 0 0 if $o->{'appliedBold'}
17483 0 0 if $o->{'appliedUnderlined'}
17484 0 0 if defined $o->{'appliedForeground'}
17485 0 0 if defined $o->{'appliedBackground'}
17491 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17503 0 0 if ($needStyle)
17520 0 0 unless defined $child
17523 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17538 0 0 if ($char eq ' ' or $char eq "\t") { }
0 0 elsif ($state->{'wrapSpan'} and $state->{'lineLength'} > $state->{'maxLength'}) { }
17548 0 0 if $state->{'wrapSpan'} == $o and $state->{'wrapIndex'} == $index
17596 0 0 if $item
17626 0 0 if defined $record and ref $record ne "CDS::Record"
17635 0 0 if defined $record and ref $record ne "CDS::Record"
17648 0 0 if defined $record and ref $record ne "CDS::Record"
17649 0 0 if defined $source and ref $source ne "CDS::Source"
17655 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17662 0 0 if defined $storeError
17663 0 0 if $missing
17665 0 0 if ($source)
17678 0 0 unless $hashAndKey
17679 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17692 0 0 unless $o->{'hasPartsToMerge'}
17696 0 0 if $part->{'isMerged'}
17697 0 0 if $part->{'loadedRecord'}
17700 0 0 if defined $storeError
17702 0 0 if defined $invalidReason
17708 0 0 if $part->{'isMerged'}
17709 0 0 unless $part->{'loadedRecord'}
17738 0 0 if ($o->{'changes'}{'count'})
17746 0 0 if $item->{'part'} != $newPart
17755 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
17761 0 0 unless $addedPart
17766 0 0 unless $item->{'part'}{'selected'}
17784 0 0 unless $part->{'isMerged'}
17785 0 0 if $part->{'count'}
17866 0 0 if $o->{'savingState'}
17874 0 0 unless $o->{'savingState'}
17881 0 0 unless $o->{'savingState'}
17894 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17895 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17898 0 0 if $stateObject
17900 0 0 if ($o->{'savingState'})
17902 0 0 if $savingStateObject
17910 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17911 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17918 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17919 0 0 if defined $object and ref $object ne "CDS::Object"
17920 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17927 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17930 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17939 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17966 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17967 0 0 if defined $object and ref $object ne "CDS::Object"