Branch Coverage

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


line true false branch
42 0 0 unless open my $fh, "<:bytes", $filename
53 0 0 unless open my $fh, ">:bytes", $filename
63 0 0 unless open my $fh, "<:utf8", $filename
74 0 0 unless open my $fh, ">:utf8", $filename
84 0 0 unless opendir my $dh, $folder
96 0 0 unless $path =~ m[^(.+)/(.*?)$]
98 0 0 unless length $2
116 0 0 $min < $number ? :
127 0 0 $max > $number ? :
137 0 0 $b ? :
0 0 $a ? :
0 0 $a && $b ? :
173 0 0 $value ? :
179 0 0 if $value >= 0 and $value < 1
180 0 0 if $value >= -128 and $value < 128
181 0 0 if $value >= -32768 and $value < 32768
188 0 0 if ($value > 0) { }
0 0 elsif ($first == 255) { }
190 0 0 if $first >= 128
193 0 0 if $next >= 128
200 0 0 if $next < 128
213 0 0 if $value < 1
214 0 0 if $value < 256
215 0 0 if $value < 65536
244 0 0 unless length $bytes
246 0 0 if $value & 128
270 0 0 if length $bytes == 4
271 0 0 if length $bytes == 8
285 0 0 unless $label eq "messages" or $label eq "private"
295 0 0 unless exists $byAccountHash{$accountHashBytes}
298 0 0 unless exists $byBoxLabel->{$boxLabel}
309 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
310 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
311 0 0 if defined $hash and ref $hash ne "CDS::Hash"
315 0 0 if length $signature < 1
318 0 0 unless $publicKey->verifyHash($hash, $signature)
328 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
378 0 0 if $member->isActive
388 0 0 if $member->isActive
397 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
405 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
408 0 0 if $actorHash->equals($actor->publicKey->hash)
436 0 0 $member->isActive ? :
450 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
466 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
508 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
515 0 0 if defined $hash and ref $hash ne "CDS::Hash"
522 0 0 if $member and $revision <= $member->revision
529 0 0 if defined $hash and ref $hash ne "CDS::Hash"
538 0 0 if defined $record and ref $record ne "CDS::Record"
541 0 0 unless defined $linkedPublicKeys
549 0 0 $linkedPublicKeys ? :
560 0 0 if $revision <= $o->{'entrustedActorsRevision'}
568 0 0 if defined $hash and ref $hash ne "CDS::Hash"
577 0 0 if defined $hash and ref $hash ne "CDS::Hash"
584 0 0 if defined $record and ref $record ne "CDS::Record"
588 0 0 unless $o->mergeEntrustedActors($revisionRecord->asInteger)
595 0 0 if defined $record and ref $record ne "CDS::Record"
598 0 0 unless defined $linkedPublicKeys
603 0 0 $linkedPublicKeys ? :
611 0 0 if defined $record and ref $record ne "CDS::Record"
621 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
629 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
638 0 0 if defined $record and ref $record ne "CDS::Record"
641 0 0 unless defined $linkedPublicKeys
648 0 0 unless $a->storeUrl cmp $b->storeUrl
649 0 0 unless $member->revision
651 0 0 if (not defined $currentStoreUrl or $currentStoreUrl ne $member->storeUrl)
658 0 0 if (not defined $currentStatus or $currentStatus ne $member->status)
663 0 0 $linkedPublicKeys ? :
667 0 0 if ($o->{'entrustedActorsRevision'})
690 0 0 if (not defined $currentStoreUrl or $currentStoreUrl ne $actor->storeUrl)
695 0 0 $linkedPublicKeys ? :
705 0 0 if defined $hash and ref $hash ne "CDS::Hash"
721 0 0 if defined $hash and ref $hash ne "CDS::Hash"
745 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
761 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
777 0 0 unless defined $this or defined $that
778 0 0 unless defined $this and defined $that
786 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
806 0 0 $storageStore->id eq $messagingStore->id ? :
858 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
904 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
906 0 0 if $actorHash->equals($o->{'keyPair'}->publicKey->hash)
913 0 0 if defined $memberHash and ref $memberHash ne "CDS::Hash"
918 0 0 unless $hash->equals($memberHash)
930 0 0 if $child->child("active")->booleanValue
931 0 0 if $child->child("group data")->booleanValue
932 0 0 if $child->revision > $limit
946 0 0 if $hash->equals($o->{'keyPair'}->publicKey->hash)
947 0 0 if $child->child("revoked")->isSet
948 0 0 unless $child->child("group data")->isSet
951 0 0 unless ($hash)
959 0 0 if $member and $member->storeUrl eq $storeUrl and $member->actorOnStore->publicKey->hash->equals($hash)
963 0 0 unless ($store)
969 0 0 if ($member and $member->actorOnStore->publicKey->hash->equals($hash))
976 0 0 if defined $storeError
977 0 0 if (defined $invalidReason)
995 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
1010 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1039 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1042 0 0 if $entrustedKey
1045 0 0 if defined $storeError
1046 0 0 if defined $invalidReason
1071 0 0 if $ok
1072 0 0 if $missingHash
1103 0 0 unless $o->{'sentList'}->hasChanges
1107 0 0 if $ok
1108 0 0 if $missingHash
1126 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1133 0 0 unless defined $store
1143 0 0 if $hash->equals($me)
1148 0 0 $activeSelector->booleanValue ? :
0 0 $revokedSelector->booleanValue ? :
1152 0 0 if $builder->mergeEntrustedActors($o->entrustedActorsSelector->revision)
1179 0 0 if defined $transferError
1180 0 0 if ($missingObject)
1193 0 0 if ($hashes)
1201 0 0 if defined $modifyError
1269 0 0 unless ($o->procurePrivateData)
1292 0 0 unless $ok
1293 0 0 if $missingHash
1300 0 0 if defined $missingObject and ref $missingObject ne "CDS::Object"
1313 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
1325 0 0 if defined $source and ref $source ne "CDS::Source"
1342 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
1351 0 0 if $o->{'actorSelector'}->revision > $now - "CDS"->DAY
1362 0 0 if $o->{'messagingStore'}->id ne $o->{'storageStore'}->id
1371 0 0 if $stateSelector->bytesValue eq $state
1373 0 0 unless $envelopeHash
1405 0 0 if not $o->{'countMessages'}
1411 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1412 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
1413 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
1451 0 0 if $ok
1471 0 0 if defined $source and ref $source ne "CDS::Source"
1498 0 0 if defined $record and ref $record ne "CDS::Record"
1508 0 0 unless $child->isSet
1523 0 0 if length $record->child("actor")->bytesValue
1524 0 0 if $storeUrl ne $record->child("store")->textValue
1533 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1538 0 0 if $actorHash->bytes ne $record->child("actor")->bytesValue
1553 0 0 if $actorHashStartBytes ne substr($record->child("actor")->bytesValue, 0, $length)
1563 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1574 0 0 if $correctActor
1576 0 0 if ($storeUrl eq $record->child("store")->textValue)
1577 0 0 if $correctActor
1578 0 0 unless length $actorBytes
1592 0 0 if $file ne $record->child("key pair")->textValue
1603 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1625 0 0 if defined $accountLabel
1626 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1645 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
1648 0 0 defined $label ? :
1661 0 0 defined $label ? :
1669 0 0 if defined $accountLabel
1670 0 0 defined $actorLabel ? :
0 0 defined $storeLabel ? :
1685 0 0 defined $label ? :
1692 0 0 if $boxLabel eq "private"
1693 0 0 if $boxLabel eq "public"
1694 0 0 if $boxLabel eq "messages"
1705 0 0 if -e "/proc/" . $pid
1714 0 0 unless length $file
1723 0 0 unless length $storeUrl
1757 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1762 0 0 if defined $storeError
1763 0 0 unless $object
1769 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1779 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1789 0 0 if defined $object and ref $object ne "CDS::Object"
1792 0 0 unless $record->contains("signed")
1794 0 0 unless $signatureRecord->hash
1795 0 0 unless length $signatureRecord->bytes
1814 0 0 unless $url
1827 0 0 defined $o->{'cacheStore'} ? :
1854 0 0 unless $o->{'failedStores'}{$store->store->id}
1863 0 0 if ($storeUrl // "") eq ($o->{'cacheStoreUrl'} // "")
1886 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1887 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1895 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1896 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1903 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1904 0 0 if defined $object and ref $object ne "CDS::Object"
1905 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1913 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1916 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1923 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1925 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1926 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1933 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
1935 0 0 if defined $hash and ref $hash ne "CDS::Hash"
1936 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
1944 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
2110 0 0 if substr($hash->bytes, 0, length $actorSelector->label) ne $actorSelector->label
2117 0 0 if $hasMembers
2123 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2129 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2138 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2148 0 0 $active ? :
0 0 $groupData ? :
0 0 $active && $groupData ? :
0 0 $revoked ? :
2164 0 0 if (defined $storeError)
2169 0 0 if (defined $invalidReason)
2185 0 0 if $wasMember
2186 0 0 unless $wasMember
2195 0 0 if defined $actorSelector and ref $actorSelector ne "CDS::Selector"
2200 0 0 if ($value) { }
2221 0 0 unless ($hash)
2413 0 0 if $o->{'actor'}->messagingStore->id ne $o->{'actor'}->storageStore->id
2424 0 0 if defined $storeError
2425 0 0 if defined $invalidReason
2442 0 0 if defined $listError
2445 0 0 if (scalar @$hashes > 1)
2461 0 0 scalar @$hashes ? :
2462 0 0 unless $cardRecord
2470 0 0 if ($change->{'status'} eq 'entrusted') { }
2483 0 0 unless $o->{'without'}{$member->hash->bytes}
2492 0 0 if ($child->bytes eq 'actor group') { }
0 0 elsif ($child->bytes eq 'entrusted actors') { }
0 0 elsif ($child->bytes eq 'public key') { }
2505 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
2509 0 0 if defined $storeError
2510 0 0 unless $object
2514 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $cardHash)
2518 0 0 if defined $storeError1
2519 0 0 unless $cardObject
2526 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
2555 0 0 if $storeError
2556 0 0 if $missingHash
2566 0 0 if $modifyError
2660 0 0 unless scalar @{$o->{'stores'};}
2665 0 0 if $triedStores{$store->url}
2678 0 0 unless $o->{'hasErrors'}
2679 0 0 if $o->{'keyPair'}
2687 0 0 if defined $hash and ref $hash ne "CDS::Hash"
2691 0 0 if ($success) { }
2784 0 0 unless length $e
2786 0 0 unless length $p
2788 0 0 unless length $q
2798 0 0 unless length $publicKeyObjectBytes
2802 0 0 unless $publicKeyRecord
2804 0 0 unless length $publicN
2806 0 0 unless length $publicE
2807 0 0 if $publicE ne $e
2808 0 0 if $publicN ne $n
2939 0 0 if $boxLabel =~ /^\./
2942 0 0 if $newestDate < $date
2945 0 0 if $filename =~ /^\./
2950 0 0 if ($timestamp > 0 and $timestamp < $envelopeExpirationLimit)
2958 0 0 if $newestDate < $date
2968 0 0 $newestDate == 0 ? :
2989 0 0 if $s[9] < $dateLimit
3008 0 0 if (exists $o->{'usedHashes'}{$hash}) { }
3012 0 0 if $entry
3040 0 0 if ($missing)
3048 0 0 if ($missing > 10 and $count > 5)
3069 0 0 if exists $o->{'usedHashes'}{$hashBytes}
3107 0 0 if ($o->{'missingObjects'}{$hashBytes})
3112 0 0 if exists $o->{'index'}{$hashBytes}
3120 0 0 unless (scalar @s)
3126 0 0 if $size < 4
3132 0 0 if $links > 160000
3133 0 0 if 4 + $links * 32 > $s[7]
3135 0 0 if $links > 0
3138 0 0 if length $hashes != $links * 32
3152 0 0 if scalar $entry->children > 2
3176 0 0 if $o->{'progress'} % 100
3184 0 0 scalar @s ? :
3251 0 0 unless open $o->{'fh'}, ">", $o->{'file'}
3273 0 0 if $o->{'countReported'} % 100 == 0
3281 0 0 if ($o->{'countReported'} == 0) { }
3353 0 0 if -e $o->{'filename'}
3701 0 0 unless $o->{'keyPairToken'}
3702 0 0 unless $o->{'store'}
3713 0 0 unless $o->{'keyPairToken'}
3714 0 0 unless $o->{'store'}
3727 0 0 unless $o->{'keyPairToken'}
3728 0 0 unless $o->{'store'}
3739 0 0 unless $o->{'keyPairToken'}
3740 0 0 unless $o->{'store'}
3741 0 0 unless $o->{'actorHash'}
3745 0 0 if $o->{'watchTimeout'}
3760 0 0 unless $o->{'keyPairToken'}
3761 0 0 unless $o->{'store'}
3767 0 0 unless $batch->{'actorHash'}
3777 0 0 unless $o->{'actor'}->isEnvelope($object)
3786 0 0 if $modifications->isEmpty
3807 0 0 unless $url =~ m[^(https?)://([^/]+)(/.*|)$]i
3814 0 0 if ($host =~ /^(.*)\@([^\@]*)$/) { }
3822 0 0 if ($host =~ /^(.*):(\d+)$/)
3823 0 0 if $protocol eq "http" and $2 == 80
3824 0 0 if $protocol eq "https" and $2 == 443
3828 0 0 if $path =~ m[//]
3829 0 0 if $path =~ m[/\.+/]
3830 0 0 if $path =~ m[/\.+$]
3839 0 0 if defined $contentObjectToSign
3850 0 0 unless "CDS"->writeBytesToFile(".cds-curl-bytesToSign", $bytesToSign)
3851 0 0 unless "CDS"->writeBytesToFile(".cds-curl-hashToSign", $hashToSign->bytes)
3852 0 0 unless "CDS"->writeBytesToFile(".cds-curl-signature", $signature)
3855 0 0 if $method ne "GET"
3859 0 0 $_ ne '-X' && $_ ne '-' && $_ ne '--dump-header' && $_ ne '-#' && substr($_, 0, 1) eq '-' ? :
0 0 scalar @$curlArgs ? :
3868 0 0 $text =~ m[[^a-zA-Z0-9\./\@:,_-]] ? :
4037 0 0 $node->status eq 'active' ? :
4042 0 0 $isMostRecentInformation ? :
4059 0 0 if ($o->{'label'})
4082 0 0 if $o->{'actorGroupToken'}
4089 0 0 if $o->{'me'}
4097 0 0 if (scalar @{$o->{'actorHashes'};})
4118 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
4121 0 0 length $o->{'label'} ? :
4123 0 0 $member->revision ? :
4124 0 0 $member->isActive ? :
4129 0 0 if ($actorGroup->entrustedActorsRevision)
4131 0 0 length $o->{'label'} ? :
4138 0 0 if not scalar $actorGroup->entrustedActors
4145 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4152 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
4161 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
4162 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
4308 0 0 if scalar @actors
4327 0 0 if ($$entrusted{$accountToken->url})
4334 0 0 if (defined $storeError)
4339 0 0 if (defined $invalidReason)
4346 0 0 $$entrusted{$actorHash->hex} ? :
4365 0 0 if ($$entrusted{$actorHash->hex}) { }
4718 0 0 if $file =~ /^\./
4732 0 0 unless defined $o->{'label'}
4758 0 0 unless scalar @s
4760 0 0 unless Fcntl::S_ISDIR($mode)
4761 0 0 if defined $o->{'permissions'}->uid and $s[4] != $o->{'permissions'}->uid
4762 0 0 if defined $o->{'permissions'}->gid and $s[5] != $o->{'permissions'}->gid
4763 0 0 if ($mode & 511) != $o->{'permissions'}->baseFolderMode
4773 0 0 unless ($folderStore)
4782 0 0 unless ($folderStore->exists)
4826 0 0 unless $folderStore->checkPermissions($logger)
4843 0 0 unless $folderStore->checkPermissions($logger)
4860 0 0 unless $folderStore->checkPermissions($logger)
4894 0 0 if $error
4900 0 0 unless -d $folder
4908 0 0 if $o->{'keyPairToken'}
4910 0 0 if ($o->{'file'})
4931 0 0 if -e $deletedFolder
4932 0 0 unless -e $folder
4933 0 0 unless rename $folder, $deletedFolder
4946 0 0 if $filename =~ /^\./
4948 0 0 if (-f $file) { }
0 0 elsif (-d $file) { }
4955 0 0 unless rmdir $folder
4973 0 0 if ($o->{'wrong'} > 0) { }
4996 0 0 if $o->{'wrong'} > 0
5034 0 0 if length $item > $len and substr($item, 0, $len) eq $o->{'baseFolder'}
5036 0 0 if defined $expectedUid and $uid != $expectedUid
5037 0 0 if defined $expectedGid and $gid != $expectedGid
5038 0 0 if $mode != $expectedMode
5084 0 0 if $o->{'wrong'} > 0
5277 0 0 if defined $o->{'aesKey'}
5280 0 0 if ($o->{'saveData'}) { }
0 0 elsif ($o->{'saveObject'}) { }
5563 0 0 unless $o->{'keyPairToken'}
5582 0 0 if ($o->{'my'}) { }
0 0 elsif ($o->{'actorHash'}) { }
0 0 elsif ($o->{'actorGroup'}) { }
5595 0 0 if $o->{'store'}
5596 0 0 unless scalar @stores
5600 0 0 unless $o->{'keyPairToken'}
5601 0 0 $preferredKeyPairToken->keyPair->equals($o->{'keyPairToken'}->keyPair) ? :
5625 0 0 if defined $storeError
5629 0 0 unless $count
5631 0 0 $boxToken->boxLabel eq 'messages' ? :
5632 0 0 $boxToken->boxLabel eq 'public' ? :
5636 0 0 if $count > 5
5847 0 0 if ($o->{'actorHash'} and $o->{'boxLabel'})
5865 0 0 unless $o->{'actor'}->isEnvelope($object)
5876 0 0 if ($o->{'purge'})
5878 0 0 if defined $error
5879 0 0 unless scalar @$hashes
5887 0 0 if $modifications->isEmpty
5892 0 0 unless defined $error
5895 0 0 if ($o->{'purge'} and scalar @$boxRemovals)
6041 0 0 if ($contentRecord->hashValue) { }
0 0 elsif (length $contentRecord->bytesValue) { }
6042 0 0 if ($envelope->contains('encrypted for')) { }
6048 0 0 if ($envelope->contains('head') and $envelope->contains('mac')) { }
6060 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6072 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6090 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6102 0 0 if ($aesKey) { }
6115 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6116 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
6120 0 0 if ($o->{'senderHash'}) { }
6132 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6141 0 0 unless ($aesKey)
6149 0 0 unless ($contentObject)
6157 0 0 unless ($content)
6164 0 0 unless $senderHash
6170 0 0 unless $mentionsSenderStore
6171 0 0 scalar $mentionsSenderStore ? :
6176 0 0 if ($senderHash and $senderStore) { }
0 0 elsif ($senderHash) { }
0 0 elsif ($senderStore) { }
0 0 elsif ($mentionsSenderStore) { }
6182 0 0 if ($mentionsSenderStore) { }
6201 0 0 $senderStore ? :
6208 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6225 0 0 $expires ? :
6235 0 0 unless $head
6252 0 0 unless $senderHash and $senderStore
6274 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6282 0 0 unless $streamHead and $streamHead->{'isValid'}
6291 0 0 if (length $ctr == 16) { }
6297 0 0 unless $streamHead
6298 0 0 unless $streamHead->{'aesKey'}
6306 0 0 if ($mac eq $expectedMac) { }
6316 0 0 unless ($contentObject)
6323 0 0 unless $content
6324 0 0 $streamHead->{'senderStore'} ? :
6338 0 0 if length $actorHashBytes != 24
6345 0 0 $isMe ? :
0 0 defined $actorName ? :
6351 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6352 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
6354 0 0 if defined $signedHash and ref $signedHash ne "CDS::Hash"
6358 0 0 unless $publicKey
6361 0 0 if ('CDS'->verifyEnvelopeSignature($envelope, $publicKey, $signedHash)) { }
6370 0 0 if defined $hash and ref $hash ne "CDS::Hash"
6373 0 0 if $hash->equals($o->{'keyPairToken'}->keyPair->publicKey->hash)
6379 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6386 0 0 if $o->showActorHash24($child->bytes)
6389 0 0 if $canDecrypt
6397 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
6404 0 0 unless length $encryptedAesKey
6407 0 0 if defined $aesKey and length $aesKey == 32
6552 0 0 unless scalar @{$o->{'stores'};}
6555 0 0 if $o->{'object'}
6556 0 0 if $o->{'objectFile'}
6568 0 0 $object->hashesCount == 1 ? :
6587 0 0 $object->hashesCount == 1 ? :
6597 0 0 if defined $object and ref $object ne "CDS::Object"
6603 0 0 if (defined $o->{'aesKey'})
6615 0 0 if $error
6621 0 0 unless $successfulStore
6750 0 0 if defined $o->{'store'}
6751 0 0 if defined $o->{'actorHash'}
6752 0 0 if defined $o->{'keyPairToken'}
6792 0 0 if (length $keyPairFile)
6797 0 0 if ($actorHash and length $storeUrl) { }
0 0 elsif ($actorHash) { }
0 0 elsif (length $storeUrl) { }
6812 0 0 if $hasLabel
6819 0 0 if defined $record and ref $record ne "CDS::Record"
6821 0 0 unless $record->contains("actor group")
6832 0 0 if $isActive
6833 0 0 if $member->status eq "idle"
6835 0 0 unless $isActive
6836 0 0 if $newestActive and $member->revision <= $newestActive->revision
6842 0 0 if $newestActive
6843 0 0 unless $newestActive
6846 0 0 if $discovered
7009 0 0 if ($o->{'keyPairToken'})
7014 0 0 if ($o->{'store'})
7019 0 0 if ($o->{'actorHash'})
7081 0 0 length $keyPairFile ? :
7082 0 0 length $storeUrl ? :
7083 0 0 length $actorBytes == 32 ? :
7225 0 0 unless (scalar @{$o->{'accountTokens'};})
7226 0 0 unless $o->{'actorHash'}
7227 0 0 unless scalar @{$o->{'stores'};}
7249 0 0 if $o->{'actor'}->storageStore->url ne $o->{'actor'}->messagingStore->url
7262 0 0 if (defined $storeError)
7269 0 0 $count == 1 ? :
0 0 $count == 0 ? :
7270 0 0 unless $count
7280 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7292 0 0 if $publicKey and $cardHash and not "CDS"->verifyEnvelopeSignature($envelope, $publicKey, $cardHash)
7295 0 0 unless $cardHash
7311 0 0 if $knownPublicKey
7319 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
7416 0 0 if defined $keyPairToken->file
7655 0 0 if $child->child("revoked")->isSet
7656 0 0 unless $child->child("active")->isSet
7676 0 0 unless $o->{'keyPairToken'}
7696 0 0 scalar @_ == 1 ? :
7697 0 0 $o->{'countValid'} == 1 ? :
7698 0 0 $o->{'countInvalid'} == 1 ? :
0 0 if $o->{'countInvalid'}
7728 0 0 if $o->{'countValid'} + $o->{'countInvalid'} == 0
7735 0 0 if $o->{'accountToken'}->actorHash->equals($o->{'cmd'}{'keyPairToken'}->keyPair->publicKey->hash)
7744 0 0 if defined $hash and ref $hash ne "CDS::Hash"
7745 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
7746 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
7771 0 0 if defined $source and ref $source ne "CDS::Source"
8012 0 0 defined $o->{'file'} ? :
8013 0 0 unless $o->{'object'}
8014 0 0 if defined $o->{'aesKey'}
8017 0 0 if $o->{'showHash'}
8018 0 0 if $o->{'showSize'}
8019 0 0 if $o->{'showBytes'}
8020 0 0 if $o->{'showHashes'}
8021 0 0 if $o->{'showData'}
8022 0 0 if $o->{'showRecord'}
8042 0 0 defined $o->{'aesKey'} ? :
8043 0 0 if defined $o->{'file'}
8071 0 0 unless length $bytes
8075 0 0 $dataStart ? :
8085 0 0 $hashesCount == 1 ? :
8099 0 0 unless length $data
8115 0 0 unless length $o->{'object'}->data
8121 0 0 if ($reader->hasError)
8131 0 0 $o->{'store'} ? :
8135 0 0 if (length $trailer)
8282 0 0 if $o->{'orderedBy'} eq "envelope hash"
8283 0 0 if $o->{'orderedBy'} eq "date"
8290 0 0 $envelopeHash ? :
8398 0 0 if (scalar @{$o->{'hashes'};})
8412 0 0 if scalar keys %{$$o{"missingObjects"};}
8418 0 0 if defined $hash and ref $hash ne "CDS::Hash"
8424 0 0 if (exists $o->{'objects'}{$hashHex})
8431 0 0 if defined $storeError
8433 0 0 unless ($object)
8586 0 0 unless defined $o->{'staticFolder'}
8587 0 0 if defined $o->{'staticFolder'}
8589 0 0 if ($@)
8591 0 0 if $error =~ /^(.*?)( at |\n)/
8782 0 0 if scalar @{$o->{'hashes'};} and not $o->{'fromStore'}
8814 0 0 defined $toStore->{'storeError'} ? :
8823 0 0 if scalar keys %{$$o{"missingObjects"};}
8829 0 0 if defined $hash and ref $hash ne "CDS::Hash"
8838 0 0 if (exists $o->{'objects'}{$hashHex})
8847 0 0 if defined $toStore->{'storeError'}
8849 0 0 unless $o->{'thoroughly'} or $toStore->{'needed'}[$depth - 1]
8852 0 0 if (defined $bookError)
8857 0 0 if $found
8863 0 0 unless $hasActiveStore
8866 0 0 unless ($o->{'thoroughly'} or $countNeeded)
8873 0 0 if defined $getError
8875 0 0 unless (defined $object)
8878 0 0 unless $o->{'leniently'}
8893 0 0 if defined $toStore->{'storeError'}
8894 0 0 unless $toStore->{'needed'}[$depth]
8896 0 0 if $putError
8910 0 0 if ($toStore->{'storeError'}) { }
0 0 elsif ($toStore->{'needed'}[$depth]) { }
9008 0 0 unless length $storeUrl
9279 0 0 if (defined $result) { }
0 0 elsif (scalar @{$token->{'warnings'};}) { }
9296 0 0 if $objectFileToken->object->byteLength > 1048576
9304 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) ? :
9347 0 0 if -f $keyPairFile
9413 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9423 0 0 if $content =~ /^(.*)\n/
9424 0 0 if $content =~ /^\s*(.*?)\s*$/
9434 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9453 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
9454 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9467 0 0 if $member->status ne "active"
9469 0 0 if ($node->{'revision'} < $member->revision)
9480 0 0 if $revisionAtStart < $node->{'revision'}
9495 0 0 unless $node->{'reachable'}
9496 0 0 unless $node->{'attachedToUs'}
9497 0 0 unless $node->{'actorOnStore'}
9498 0 0 unless $node->isActiveOrIdle
9514 0 0 unless $store
9517 0 0 if ($knownPublicKey)
9524 0 0 if (defined $invalidReason)
9529 0 0 if (defined $storeError)
9537 0 0 unless $CDS::DiscoverActorGroup::b->{'revision'} <=> $CDS::DiscoverActorGroup::a->{'revision'}
9543 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9548 0 0 if $node
9554 0 0 if defined $hash and ref $hash ne "CDS::Hash"
9564 0 0 unless $node->{'attachedToUs'}
9565 0 0 if $node->{'revision'} <= $mainRevision
9570 0 0 unless $mainNode
9585 0 0 if $node->{'reachable'}
9586 0 0 $link->{'revision'} > $node->{'revision'} ? :
9587 0 0 if $prospectiveStatus ne "active"
9589 0 0 if $node->{'attachedToUs'}
9590 0 0 unless $node->{'attachedToUs'}
9598 0 0 unless $node->{'attachedToUs'}
9610 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
9611 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
9612 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
9613 0 0 if defined $cardHash and ref $cardHash ne "CDS::Hash"
9657 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
9684 0 0 unless $o->{'status'} eq "active"
9706 0 0 if $o->{'cardsRead'}
9714 0 0 unless ($o->{'actorOnStore'})
9716 0 0 unless ($publicKey)
9718 0 0 if defined $storeError
9719 0 0 if defined $invalidReason
9728 0 0 if defined $storeError
9733 0 0 if defined $storeError
9734 0 0 unless ($object)
9740 0 0 unless ($envelope)
9746 0 0 unless ($cardHash)
9751 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'actorOnStore'}->publicKey, $cardHash))
9758 0 0 if defined $storeError1
9759 0 0 unless ($cardObject)
9765 0 0 unless ($card)
9787 0 0 if $o->{'attachedToUs'}
9788 0 0 unless $o->hasLinkToUs
9807 0 0 if $o->{'revision'} >= $revision
9815 0 0 if $o->{'discoverer'}->covers($o->{'actorHash'})
9817 0 0 if $o->{'discoverer'}->covers($link->{'node'}{'actorHash'})
9826 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
9858 0 0 if defined $selector and ref $selector ne "CDS::Selector"
9863 0 0 if defined $selector and ref $selector ne "CDS::Selector"
9866 0 0 unless $item
9880 0 0 unless $hashAndKey
9881 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
9892 0 0 unless $o->{'hasPartsToMerge'}
9896 0 0 if $part->{'isMerged'}
9897 0 0 if $part->{'loadedRecord'}
9900 0 0 if defined $storeError
9902 0 0 if defined $invalidReason
9908 0 0 if $part->{'isMerged'}
9909 0 0 unless $part->{'loadedRecord'}
9910 0 0 $part->{'loadedRecord'}->child('client')->textValue =~ /0.19/ ? :
9923 0 0 if defined $selector and ref $selector ne "CDS::Selector"
9924 0 0 if defined $record and ref $record ne "CDS::Record"
9929 0 0 unless scalar @children
9934 0 0 if $oldFormat
9957 0 0 if ($o->{'changes'}{'count'})
9969 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
9975 0 0 unless $addedPart
9980 0 0 unless $item->{'part'}{'selected'}
10009 0 0 unless $part->{'isMerged'}
10010 0 0 if $part->{'count'}
10024 0 0 if defined $selector and ref $selector ne "CDS::Selector"
10027 0 0 $parentSelector ? :
10039 0 0 if $parent
10050 0 0 unless $o->{'parent'}
10053 0 0 if scalar @{$o->{'children'};}
10054 0 0 if $o->{'revision'} > 0
10068 0 0 if $o->{'part'}
10070 0 0 if $o->{'part'}
10079 0 0 if defined $record and ref $record ne "CDS::Record"
10081 0 0 if $revision <= 0
10082 0 0 if $revision < $o->{'revision'}
10083 0 0 if $revision == $o->{'revision'} and $part->{'size'} < $o->{'part'}{'size'}
10094 0 0 if $o->{'revision'} <= 0
10105 0 0 if $o->{'saveRecord'}
10106 0 0 $o->{'parent'} ? :
10107 0 0 if ($o->{'part'}{'selected'}) { }
10108 0 0 if $o->{'revision'} <= 0
10119 0 0 unless $o->{'saveRecord'}
10121 0 0 if $o->{'parent'}
10171 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10172 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10174 0 0 if $o->{'errorHandler'}->hasStoreError($o, "GET")
10177 0 0 if (defined $error)
10188 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10189 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10191 0 0 if $o->{'errorHandler'}->hasStoreError($o, "BOOK")
10194 0 0 if (defined $error)
10205 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10206 0 0 if defined $object and ref $object ne "CDS::Object"
10207 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10209 0 0 if $o->{'errorHandler'}->hasStoreError($o, "PUT")
10212 0 0 if (defined $error)
10223 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10226 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10228 0 0 if $o->{'errorHandler'}->hasStoreError($o, "LIST")
10231 0 0 if (defined $error)
10242 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10244 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10245 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10247 0 0 if $o->{'errorHandler'}->hasStoreError($o, "ADD")
10250 0 0 if (defined $error)
10261 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10263 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10264 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10266 0 0 if $o->{'errorHandler'}->hasStoreError($o, "REMOVE")
10269 0 0 if (defined $error)
10281 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10283 0 0 if $o->{'errorHandler'}->hasStoreError($o, "MODIFY")
10286 0 0 if (defined $error)
10304 0 0 if substr($url, 0, 8) ne "file:///"
10331 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10332 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10341 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10342 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10348 0 0 if -e $file and utime undef, undef, $file
10354 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10355 0 0 if defined $object and ref $object ne "CDS::Object"
10356 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10362 0 0 if -e $file and utime undef, undef, $file
10368 0 0 unless rename $temporaryFile, $file
10374 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10377 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10379 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10385 0 0 unless $timeout
10394 0 0 if scalar @$hashes
10418 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10420 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10421 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10425 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10433 0 0 unless rename $temporaryFile, $boxFolder . "/" . $hash->hex
10439 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10441 0 0 if defined $hash and ref $hash ne "CDS::Hash"
10442 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10444 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
10447 0 0 unless -d $boxFolder
10455 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
10491 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10501 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
10519 0 0 unless $permissions->checkPermissions($accountsFolder, $permissions->baseFolderMode, $logger)
10523 0 0 unless $account =~ /^[0-9a-f]{64}$/
10525 0 0 unless $permissions->checkPermissions($accountFolder, $permissions->accountFolderMode, $logger)
10529 0 0 if $boxLabel =~ /^\./
10531 0 0 unless $permissions->checkPermissions($boxFolder, $permissions->boxFolderMode($boxLabel), $logger)
10536 0 0 unless $file =~ /^[0-9a-f]{64}/
10537 0 0 unless $permissions->checkPermissions($boxFolder . "/" . $file, $filePermissions, $logger)
10546 0 0 unless $permissions->checkPermissions($objectsFolder, $folderMode, $logger)
10550 0 0 unless $sub =~ /^[0-9a-f][0-9a-f]$/
10552 0 0 unless $permissions->checkPermissions($subFolder, $folderMode, $logger)
10555 0 0 unless $file =~ /^[0-9a-f]{62}/
10556 0 0 unless $permissions->checkPermissions($subFolder . "/" . $file, $fileMode, $logger)
10576 0 0 ($mode & 56) == 56 ? :
0 0 ($mode & 63) == 63 ? :
10605 0 0 unless open my $fh, ">:bytes", $temporaryFile
10613 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10622 0 0 if -d $folder
10631 0 0 if defined $uid and $uid != $< or defined $gid and $gid != $(
10648 0 0 unless scalar @s
10657 0 0 if ($wrongUid or $wrongGid or $wrongMode) { }
10659 0 0 unless $logger->wrong($item, $uid, $gid, $mode, $expectedUid, $expectedGid, $expectedMode)
10662 0 0 if ($wrongUid or $wrongGid)
10664 0 0 if $count < 1
10668 0 0 if ($wrongMode)
10670 0 0 if $count < 1
10703 0 0 $boxLabel eq 'public' ? :
10707 0 0 $boxLabel eq 'public' ? :
10731 0 0 $boxLabel eq 'public' ? :
10735 0 0 $boxLabel eq 'public' ? :
10771 0 0 if $remaining <= 0
10815 0 0 if $registered != $dataHandler
10823 0 0 if defined $record and ref $record ne "CDS::Record"
10825 0 0 unless $o->{'revision'}
10831 0 0 if defined $record and ref $record ne "CDS::Record"
10835 0 0 if $revision <= $o->{'revision'}
10845 0 0 if defined $record and ref $record ne "CDS::Record"
10846 0 0 if defined $source and ref $source ne "CDS::Source"
10849 0 0 unless $source
10873 0 0 unless scalar @$members
10878 0 0 if $versionHash->bytes eq $o->{'version'}
10896 0 0 if $missingObject
10897 0 0 unless $submission
10907 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
10912 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
10928 0 0 unless ($o->{'actor'}->isGroupMember($message->sender->publicKey->hash))
11075 0 0 if $path ne "/"
11078 0 0 if $request->method eq "OPTIONS"
11081 0 0 if $request->method eq "HEAD" or $request->method eq "GET"
11124 0 0 if $o->{'lineStarted'}
11135 0 0 unless $o->{'lineStarted'}
11147 0 0 if defined $recipientHash and ref $recipientHash ne "CDS::Hash"
11157 0 0 if $path ne "/"
11160 0 0 if $request->method eq "OPTIONS"
11181 0 0 if ($request->remainingData > 1024) { }
0 0 elsif ($request->remainingData) { }
11197 0 0 $submission ? :
11206 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11211 0 0 if defined $recipientActorOnStore and ref $recipientActorOnStore ne "CDS::ActorOnStore"
11245 0 0 unless $root =~ m[/$]
11246 0 0 if substr($o->{'path'}, 0, length $root) ne $root
11320 0 0 unless defined $o->{'queryString'}
11324 0 0 if ($pair =~ /^(.*?)=(.*)$/) { }
11354 0 0 if $date < $now - 120 or $date > $now + 60
11359 0 0 unless $publicKeyObject
11360 0 0 unless $publicKeyObject->calculateHash->equals($actorHash)
11365 0 0 if defined $contentBytesToSign
11372 0 0 unless $publicKey->verifyHash($hashToSign, $signature)
11384 0 0 length $content ? :
11391 0 0 length $content ? :
11398 0 0 length $content ? :
11406 0 0 if $o->corsAllowEverybody and $o->{'headers'}{'origin'}
11439 0 0 if ($o->corsAllowEverybody and my $origin = $o->{'headers'}{'origin'})
11451 0 0 if $o->{'method'} ne "HEAD"
11478 0 0 if $request->path ne $o->{'path'}
11481 0 0 if $request->method eq "OPTIONS"
11484 0 0 if $request->method eq "GET"
11538 0 0 if $request->method eq "OPTIONS"
11541 0 0 if $request->method eq "GET" or $request->method eq "HEAD"
11562 0 0 if $segment =~ /^\./
11567 0 0 if (-d $file)
11568 0 0 unless length $o->{'defaultFile'}
11569 0 0 unless $file =~ m[/$]
11591 0 0 $file =~ /\.([A-Za-z0-9]*)$/ ? :
11600 0 0 unless open my $fh, "<:bytes", $file
11601 0 0 unless (-f $fh)
11638 0 0 if ($request->path =~ m[^/objects/([0-9a-f]{64})$])
11644 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)$])
11651 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})/(messages|private|public)/([0-9a-f]{64})$])
11659 0 0 if ($request->path =~ m[^/accounts/([0-9a-f]{64})$])
11660 0 0 if $request->method eq "OPTIONS"
11665 0 0 if ($request->path =~ m[^/accounts$])
11670 0 0 if ($request->path =~ m[^/(accounts|objects)(/|$)])
11681 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11684 0 0 if ($request->method eq "OPTIONS")
11689 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
11691 0 0 if defined $error
11692 0 0 unless $object
11698 0 0 if ($request->method eq "PUT")
11701 0 0 if $o->{'checkPutHash'} and not $object->calculateHash->equals($hash)
11703 0 0 if ($o->{'checkSignatures'})
11706 0 0 unless $request->checkSignature($checkSignatureStore)
11710 0 0 if defined $error
11715 0 0 if ($request->method eq "POST")
11716 0 0 if $o->{'checkSignatures'} and not $request->checkSignature($o->{'store'})
11717 0 0 if $request->remainingData
11719 0 0 if defined $error
11720 0 0 $booked ? :
11729 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11733 0 0 if ($request->method eq "OPTIONS")
11738 0 0 if ($request->method eq "HEAD" or $request->method eq "GET")
11740 0 0 $watch =~ /^(\d+)\s*ms$/ ? :
11741 0 0 if $timeout > $o->{'maximumWatchTimeout'}
11743 0 0 if defined $error
11753 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11755 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11758 0 0 if ($request->method eq "OPTIONS")
11763 0 0 if ($request->method eq "PUT")
11764 0 0 if ($o->{'checkSignatures'})
11766 0 0 unless $actorHash
11767 0 0 unless $o->verifyAddition($actorHash, $accountHash, $boxLabel, $hash)
11771 0 0 if defined $error
11776 0 0 if ($request->method eq "DELETE")
11777 0 0 if ($o->{'checkSignatures'})
11779 0 0 unless $actorHash
11780 0 0 unless $o->verifyRemoval($actorHash, $accountHash, $boxLabel, $hash)
11784 0 0 if defined $error
11796 0 0 if ($request->method eq "OPTIONS")
11801 0 0 if ($request->method eq "POST")
11804 0 0 unless $modifications
11806 0 0 if ($o->{'checkSignatures'})
11808 0 0 unless $actorHash
11809 0 0 unless $o->verifyModifications($actorHash, $modifications)
11813 0 0 if defined $error
11822 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11826 0 0 unless $o->verifyAddition($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
11830 0 0 unless $o->verifyRemoval($actorHash, $operation->{'accountHash'}, $operation->{'boxLabel'}, $operation->{'hash'})
11838 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11839 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11841 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11843 0 0 if $accountHash->equals($actorHash)
11844 0 0 if $boxLabel eq "messages"
11850 0 0 if defined $actorHash and ref $actorHash ne "CDS::Hash"
11851 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11853 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11855 0 0 if $accountHash->equals($actorHash)
11859 0 0 if defined $error
11860 0 0 unless defined $bytes
11867 0 0 if length $hashBytes24 != 24
11868 0 0 if $hashBytes24 eq $actorHashBytes24
11883 0 1 unless $url =~ m[^(http|https)://]
11900 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11901 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11904 0 0 if $response->code == 404
11905 0 0 unless $response->is_success
11911 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11912 0 0 if defined $object and ref $object ne "CDS::Object"
11913 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11918 0 0 if $response->is_success
11924 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11925 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11928 0 0 if $response->code == 404
11929 0 0 if $response->is_success
11935 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11938 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11942 0 0 if $timeout > 0
11944 0 0 unless $response->is_success
11947 0 0 if (length($bytes) % 32 != 0)
11962 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11964 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11965 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11969 0 0 if $response->is_success
11975 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
11977 0 0 if defined $hash and ref $hash ne "CDS::Hash"
11978 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11982 0 0 if $response->is_success
11989 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
11995 0 0 if $response->is_success
12005 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12012 0 0 if ($keyPair)
12013 0 0 $url =~ m[^https?://(.*)$] ? :
12016 0 0 if $signData
12034 0 0 if length $hashBytes != 32
12042 2 2 unless $hashHex =~ /^\s*([a-fA-F0-9]{64,64})\s*$/
12076 0 0 unless defined $this or defined $that
12077 0 0 unless defined $this and defined $that
12091 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12110 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*$/) { }
12186 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12189 0 0 if $account
12197 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12198 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12206 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12207 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12216 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12217 0 0 if defined $object and ref $object ne "CDS::Object"
12218 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12226 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12229 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12238 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12240 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12241 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12249 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12251 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12252 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12261 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12279 0 0 if $entry->{'booked'} > $graceTime
12291 0 0 if scalar keys %{$$account{"messages"};}
12292 0 0 if scalar keys %{$$account{"private"};}
12293 0 0 if scalar keys %{$$account{"public"};}
12299 0 0 if $entry->{'inUse'}
12306 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12316 0 0 if $entry->{'inUse'}
12335 0 0 if $missing
12336 0 0 if defined $storeError
12344 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12349 0 0 if $$done{$hash->bytes}
12354 0 0 if defined $bookError
12355 0 0 if $booked
12359 0 0 if defined $getError
12360 0 0 unless defined $object
12365 0 0 if defined $error
12366 0 0 if (defined $missing)
12374 0 0 if defined $putError
12380 0 0 if defined $contentHash and ref $contentHash ne "CDS::Hash"
12403 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
12421 0 0 if defined $expires
12428 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12436 0 0 if $publicKey->hash->equals($o->{'publicKey'}->hash)
12477 0 0 if defined $record and ref $record ne "CDS::Record"
12489 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
12548 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12558 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12562 0 0 if defined $error
12563 0 0 unless $object
12570 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12574 0 0 if defined $error
12575 0 0 unless $object
12583 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
12587 0 0 if defined $error
12588 0 0 unless $object
12597 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12601 0 0 if defined $error
12602 0 0 unless $object
12612 0 0 unless defined $this or defined $that
12613 0 0 unless defined $this and defined $that
12621 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12626 0 0 unless length $encryptedAesKey
12627 0 0 unless length $encryptedAesKey
12631 0 0 if not $aesKeyBytes or length $aesKeyBytes != 32
12642 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12657 0 0 if defined $builder and ref $builder ne "CDS::ActorGroupBuilder"
12659 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12672 0 0 unless $isActive or $isIdle
12675 0 0 if defined $storeError
12676 0 0 unless $publicKey
12686 0 0 if defined $storeError
12687 0 0 unless $publicKey
12699 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12702 0 0 if $knownPublicKey
12705 0 0 if defined $storeError
12706 0 0 if defined $invalidReason
12738 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12739 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12744 0 0 defined $error ? :
0 0 defined $object ? :
12750 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12751 0 0 if defined $object and ref $object ne "CDS::Object"
12752 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12757 0 0 defined $error ? :
12763 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12764 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12769 0 0 defined $error ? :
0 0 defined $booked ? :
12775 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12778 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12783 0 0 $timeout ? :
0 0 defined $hashes ? :
12789 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12791 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12792 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12797 0 0 defined $error ? :
12803 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
12805 0 0 if defined $hash and ref $hash ne "CDS::Hash"
12806 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12811 0 0 defined $error ? :
12818 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
12823 0 0 defined $error ? :
12842 0 0 if length $text < $width
12850 0 0 if length $s < 9
12859 0 0 if length $s < 9
12870 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
12890 0 0 if defined $listError
12894 0 0 unless $entry
12895 0 0 if $entry->{'processed'}
12898 0 0 if ($entry->{'waitingForStore'})
12900 0 0 if defined $checkError
12905 0 0 if defined $getError
12910 0 0 unless (defined $object)
12917 0 0 unless ($envelope)
12922 0 0 $envelope->contains('head') && $envelope->contains('mac') ? :
12926 0 0 unless $message
12938 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12942 0 0 unless length $encryptedBytes
12946 0 0 unless $aesKey
12950 0 0 unless $contentObject
12953 0 0 unless $content
12957 0 0 unless $senderHash
12961 0 0 unless scalar $storeRecord->children
12965 0 0 unless $senderStore
12969 0 0 if defined $publicKeyStoreError
12970 0 0 if defined $invalidReason
12974 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash))
12976 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $contentObject->calculateHash)
12988 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
12992 0 0 unless $head
12996 0 0 unless $streamHead
12997 0 0 if $streamHead->error
13001 0 0 unless length $encryptedBytes
13005 0 0 if length $ctr != 16
13009 0 0 unless $mac
13014 0 0 if $mac ne $expectedMac
13018 0 0 unless $contentObject
13021 0 0 unless $content
13039 0 0 if defined $senderHash and ref $senderHash ne "CDS::Hash"
13044 0 0 if $senderHash->equals($o->{'actorOnStore'}->publicKey->hash)
13048 0 0 if $cachedPublicKey
13052 0 0 if defined $storeError
13053 0 0 if defined $invalidReason
13062 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13074 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13133 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13134 0 0 if defined $object and ref $object ne "CDS::Object"
13145 0 0 unless scalar @$hashes
13151 0 0 if defined $actorGroup and ref $actorGroup ne "CDS::ActorGroup"
13172 0 0 unless $o->{'actor'}->sentListReady
13179 0 0 if defined $error
13181 0 0 if ($missingObject)
13219 0 0 if $item->envelopeHash
13256 0 0 if $o->{'submissionId'} != $o->{'channel'}{'currentSubmissionId'}
13275 0 0 if (defined $error) { }
13284 0 0 if ($failed == 0 or scalar keys %{$$o{"obsoleteHashes"};} > 64)
13297 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13334 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13335 0 0 if defined $object and ref $object ne "CDS::Object"
13346 0 0 unless scalar @$hashes
13376 0 0 if defined $error
13378 0 0 if ($missingObject)
13391 0 0 if ($hashes)
13399 0 0 if defined $modifyError
13430 0 0 if length $header < 4
13432 0 0 if length $header != 4 + $hashesCount * 32
13445 0 0 if length $bytes < 4
13449 0 0 if $dataStart > length $bytes
13490 0 0 if $index < 0 or $index >= $o->{'hashesCount'}
13531 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13532 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
13535 0 0 if $objectFromCache
13538 0 0 unless defined $object
13593 0 0 if defined $object and ref $object ne "CDS::Object"
13610 0 0 if defined $hash and ref $hash ne "CDS::Hash"
13649 0 0 if $arg eq "?"
13650 0 0 if $arg eq "??"
13653 0 0 unless scalar @{$o->{'states'};}
13658 0 0 unless scalar @results
13662 0 0 if $maxWeight < $result->cumulativeWeight
13666 0 0 if scalar @results > 1
13694 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 '\\"') { }
13695 0 0 if ($c eq ' ') { }
0 0 elsif ($c eq q[']) { }
0 0 elsif ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
13696 0 0 if length $arg
13699 0 0 if length $arg
13703 0 0 if length $arg
13715 0 0 if ($c eq q[']) { }
13716 0 0 if length $arg
13723 0 0 if ($c eq '"') { }
0 0 elsif ($c eq '\\') { }
13724 0 0 if length $arg
13744 0 0 if $arg eq "?"
13773 0 0 unless $b->cumulativeWeight <=> $a->cumulativeWeight
13775 0 0 $interpretation->isExecutable ? :
13790 0 0 $valueRef eq 'CDS::AccountToken' ? :
0 0 $valueRef eq 'CDS::ErrorHandlingStore' ? :
0 0 $valueRef eq 'CDS::Hash' ? :
0 0 $valueRef eq '' ? :
13796 0 0 $state->collectHandler ? :
13805 0 0 if length $cmd > 30
13832 0 0 if (scalar @{$invalid->{'warnings'};})
13895 0 0 if exists $o->{'possibilities'}{$possibility . " \x{2026}"}
13913 0 0 unless $arrow->{'official'}
13916 0 0 if $arrow->{'node'}->hasHandler
13917 0 0 if ($arrow->{'node'}->endProposals or exists $$visitedNodes{$arrow->{'node'}})
13918 0 0 $o->canContinue($arrow->{'node'}) ? :
13936 0 0 unless $arrow->{'official'}
13992 0 0 if $o->{'handler'}
13993 0 0 if $default->hasHandler
14000 0 0 if $o->{'handler'}
14027 0 0 $previous ? :
0 0 $arrow ? :
14037 0 0 $o->{'node'}->getHandler ? :
14040 0 0 $o->{'arrow'} ? :
14043 0 0 $o->{'arrow'} ? :
14079 0 0 unless $arrow->{'official'}
14085 0 0 unless $arrow->{'official'}
14143 0 0 if $expect =~ /^[a-z0-9]*$/
14149 0 0 exists $o->{'cache'}{$expect} ? :
14155 0 0 if $expect eq "ACCOUNT"
14156 0 0 if $expect eq "ACTOR"
14157 0 0 if $expect eq "ACTORGROUP"
14158 0 0 if $expect eq "AESKEY"
14159 0 0 if $expect eq "BOX"
14160 0 0 if $expect eq "BOXLABEL"
14161 0 0 if $expect eq "FILE"
14162 0 0 if $expect eq "FILENAME"
14163 0 0 if $expect eq "FOLDER"
14164 0 0 if $expect eq "FOLDERNAME"
14165 0 0 if $expect eq "GROUP"
14166 0 0 if $expect eq "HASH"
14167 0 0 if $expect eq "KEYPAIR"
14168 0 0 if $expect eq "LABEL"
14169 0 0 if $expect eq "OBJECT"
14170 0 0 if $expect eq "OBJECTFILE"
14171 0 0 if $expect eq "PORT"
14172 0 0 if $expect eq "STORE"
14173 0 0 if $expect eq "TEXT"
14174 0 0 if $expect eq "USER"
14175 0 0 $o->{'text'} eq $expect ? :
14182 0 0 if $expect eq "ACCOUNT"
14183 0 0 if $expect eq "ACTOR"
14184 0 0 if $expect eq "ACTORGROUP"
14185 0 0 if $expect eq "AESKEY"
14186 0 0 if $expect eq "BOX"
14187 0 0 if $expect eq "BOXLABEL"
14188 0 0 if $expect eq "FILE"
14189 0 0 if $expect eq "FILENAME"
14190 0 0 if $expect eq "FOLDER"
14191 0 0 if $expect eq "FOLDERNAME"
14192 0 0 if $expect eq "GROUP"
14193 0 0 if $expect eq "HASH"
14194 0 0 if $expect eq "KEYPAIR"
14195 0 0 if $expect eq "LABEL"
14196 0 0 if $expect eq "OBJECT"
14197 0 0 if $expect eq "OBJECTFILE"
14198 0 0 if $expect eq "STORE"
14199 0 0 if $expect eq "USER"
14200 0 0 if $expect eq "TEXT"
14208 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14215 0 0 if substr($possibility, 0, length $o->{'text'}) eq $o->{'text'}
14229 0 0 if ($actorHash and length $storeUrl)
14232 0 0 if $o->isKeyword
14237 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/*\s*$])
14240 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14257 0 0 unless length $storeUrl
14270 0 0 unless $o->{'text'} =~ /^[0-9A-Fa-f]{64}$/
14278 0 0 if ($o->{'text'} =~ m[^\s*(.*?)/accounts/([0-9a-fA-F]{64,64})/(messages|private|public)/*\s*$])
14282 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14301 0 0 if $o->{'text'} eq "messages"
14302 0 0 if $o->{'text'} eq "private"
14303 0 0 if $o->{'text'} eq "public"
14319 0 0 unless -f $file
14320 0 0 if $o->isKeyword
14329 0 0 if $startFilename =~ m[^~/(.*)$]
14330 0 0 if ($startFilename eq '~') { }
0 0 elsif ($startFilename =~ m[^(.*/)([^/]*)$]) { }
14339 0 0 if $filename eq "."
14340 0 0 if $filename eq ".."
14341 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14343 0 0 if -d $file
14344 0 0 if -f $file
14352 0 0 if $o->isKeyword
14360 0 0 unless -d $folder
14361 0 0 if $o->isKeyword
14370 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14376 0 0 if $filename eq "."
14377 0 0 if $filename eq ".."
14378 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14380 0 0 unless -d $file
14388 0 0 if $o->isKeyword
14395 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
14411 0 0 if $hash
14416 0 0 if $o->isKeyword
14445 0 0 unless (length $file)
14447 0 0 if $o->isKeyword and -f $file
14451 0 0 unless -f $file
14465 0 0 unless length $record->child("key pair")->textValue
14474 0 0 if $records->children
14483 0 0 if substr($label, 0, length $o->{'text'}) ne $o->{'text'}
14492 0 0 $o->{'text'} =~ m[^\s*(.*?/objects/)([0-9a-fA-F]{2,2})/([0-9a-fA-F]{62,62})/*\s*$] ? :
14495 0 0 if ($url =~ m[^\s*(.*?)/objects/([0-9a-fA-F]{64,64})/*\s*$])
14498 0 0 if not $storeUrl =~ /^[a-zA-Z0-9_\+-]*:/ and -d $storeUrl
14518 0 0 if $o->isKeyword and -f $file
14521 0 0 unless -f $file
14541 0 0 unless scalar $record->children
14542 0 0 if $o->isKeyword
14548 0 0 if defined $storeError
14563 0 0 unless scalar $record->child("actor group")->children
14573 0 0 if $port <= 0 or $port > 65536
14582 0 0 unless length $storeUrl
14584 0 0 if $o->isKeyword
14591 0 0 if $o->isKeyword
14592 0 0 if $o->{'text'} =~ /[0-9a-f]{32}/
14594 0 0 if $o->{'text'} =~ /^[a-zA-Z0-9_\+-]*:/
14595 0 0 if -d $o->{'text'} and -d $o->{'text'} . "/accounts" and -d $o->{'text'} . "/objects"
14611 0 0 if ($o->{'text'} =~ m[^(.*/)([^/]*)$])
14617 0 0 if $filename eq "."
14618 0 0 if $filename eq ".."
14619 0 0 if substr($filename, 0, length $startFilename) ne $startFilename
14621 0 0 unless -d $file
14622 0 0 -d $file . '/accounts' && -d $file . '/objects' ? :
14635 0 0 if length $record->child("actor")->bytesValue
14637 0 0 unless length $storeUrl
14662 0 0 if $o->{'text'} =~ /^\s*(\d{1,5})\s*$/
14686 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
14707 0 0 if defined $listError
14718 0 0 if $entry->{'processed'}
14722 0 0 if defined $getError
14724 0 0 unless (defined $object)
14731 0 0 unless ($envelope)
14738 0 0 unless ($contentHash)
14744 0 0 unless ("CDS"->verifyEnvelopeSignature($envelope, $o->{'keyPair'}->publicKey, $contentHash))
14751 0 0 unless ($aesKey)
14759 0 0 if defined $contentStoreError
14761 0 0 if (defined $contentInvalidReason)
14792 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
14829 0 0 if $registered != $dataHandler
14840 0 0 if $o->{'procured'} + $interval > $now
14850 0 0 if defined $source and ref $source ne "CDS::Source"
14851 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
14865 0 0 if defined $source and ref $source ne "CDS::Source"
14885 0 0 unless $o->{'hasChanges'}
14913 0 0 if defined $missing or defined $storeError
14923 0 0 if defined $modifyError
14961 0 0 if defined $object and ref $object ne "CDS::Object"
14987 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15005 0 0 if defined $publicKey and ref $publicKey ne "CDS::PublicKey"
15014 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15024 0 0 if scalar values %{$$o{"cache"};} < $o->{'maxSize'}
15030 0 0 if $toRemove <= 0
15040 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15053 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15055 0 0 if $o->{'done'}{$hash->bytes}
15063 0 0 if defined $error
15068 0 0 if defined $error
15079 0 0 if defined $source and ref $source ne "CDS::Source"
15080 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
15123 0 0 if defined $object and ref $object ne "CDS::Object"
15133 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15148 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15158 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15163 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15168 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15173 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15178 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15183 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15187 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15191 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
15192 0 0 $hashAndKey ? :
15199 0 0 if defined $object and ref $object ne "CDS::Object"
15201 0 0 unless length $object->data
15210 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15225 0 0 if $child->{'bytes'} eq $bytes
15236 0 0 if $child->{'bytes'} eq $bytes
15288 0 0 unless $o->{'hash'}
15289 0 0 if length $o->{'bytes'} != 32
15332 0 0 if $o->{'hash'}
15358 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15360 0 0 if $o->{'hash'}
15382 0 0 if defined $object and ref $object ne "CDS::Object"
15396 0 0 if defined $record and ref $record ne "CDS::Record"
15404 0 0 $length == 31 ? :
0 0 $length == 30 ? :
15406 0 0 $flags & 32 ? :
15407 0 0 if $o->{'hasError'}
15411 0 0 if $flags & 64 and not $o->readChildren($child)
15412 0 0 unless $flags & 128
15422 0 0 if $o->{'pos'} <= length $o->{'data'}
15463 0 0 if defined $record and ref $record ne "CDS::Record"
15466 0 0 unless scalar @children
15474 0 0 if defined $record and ref $record ne "CDS::Record"
15479 0 0 $byteLength < 286 ? :
0 0 $byteLength < 30 ? :
15480 0 0 if defined $record->{'hash'}
15482 0 0 if $countChildren
15483 0 0 if $hasMoreSiblings
15487 0 0 if ($flags & 31) == 30
15488 0 0 if ($flags & 31) == 31
15490 0 0 if $flags & 32
15513 0 0 if utf8::is_utf8($bytes)
15519 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15557 0 0 if $newPart or scalar @$obsoleteParts
15562 0 0 if defined $record and ref $record ne "CDS::Record"
15570 0 0 if defined $record and ref $record ne "CDS::Record"
15583 0 0 if defined $record and ref $record ne "CDS::Record"
15584 0 0 if defined $source and ref $source ne "CDS::Source"
15590 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
15596 0 0 if defined $storeError
15597 0 0 if $missing
15599 0 0 if ($source)
15672 0 0 if defined $record and ref $record ne "CDS::Record"
15676 0 0 $item->{'revision'} >= $now ? :
15682 0 0 if defined $record and ref $record ne "CDS::Record"
15695 0 0 if $o->isSet
15750 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15759 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15764 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15769 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15774 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15779 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15784 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15789 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15793 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
15800 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15801 0 0 if defined $object and ref $object ne "CDS::Object"
15808 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15839 0 0 if defined $record and ref $record ne "CDS::Record"
15847 0 0 if defined $envelopeHash and ref $envelopeHash ne "CDS::Hash"
15848 0 0 if defined $messageRecord and ref $messageRecord ne "CDS::Record"
15868 0 0 if $o->{'validUntil'} > $validUntil
15869 0 0 if $o->{'validUntil'} == $validUntil and $part->{'size'} < $o->{'part'}{'size'}
15896 0 0 if defined $record and ref $record ne "CDS::Record"
15912 0 0 if $item->{'validUntil'} >= $now
15921 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
15922 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
15924 0 0 if defined $hash and ref $hash ne "CDS::Hash"
15944 0 0 if ($o->{'referenceCount'} < 1)
15955 0 0 if ($o->{'referenceCount'} < 1)
15961 0 0 if $o->{'referenceCount'} > 0
16024 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16037 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16038 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16046 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16047 0 0 if defined $object and ref $object ne "CDS::Object"
16048 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16056 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16057 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16065 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16068 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16076 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16078 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16079 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16087 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16089 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16090 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16099 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16112 0 0 if $error
16126 0 0 if $error
16179 0 0 if scalar keys %{$$o{"objects"};}
16180 0 0 if scalar @{$o->{'additions'};}
16181 0 0 if scalar @{$o->{'removals'};}
16187 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16188 0 0 if defined $object and ref $object ne "CDS::Object"
16195 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16197 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16198 0 0 if defined $object and ref $object ne "CDS::Object"
16200 0 0 if $object
16206 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
16208 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16216 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
16221 0 0 if $error
16227 0 0 if $error
16259 0 0 if defined $record and ref $record ne "CDS::Record"
16261 0 0 unless $CDS::StoreModifications::a->{'accountHash'}->bytes cmp $CDS::StoreModifications::b->{'accountHash'}->bytes
16290 0 0 if defined $record and ref $record ne "CDS::Record"
16311 0 0 if defined $record and ref $record ne "CDS::Record"
16317 0 0 unless "CDS"->isValidBoxLabel($boxLabel)
16334 0 0 if defined $actorOnStore and ref $actorOnStore ne "CDS::ActorOnStore"
16353 0 0 if $streamHead->lastUsed < $limit
16363 0 0 if ($streamHead)
16370 0 0 if defined $getError
16374 0 0 unless $envelope
16378 0 0 unless length $encryptedBytes
16382 0 0 unless $aesKey
16386 0 0 unless $contentObject
16389 0 0 unless $content
16393 0 0 unless $senderHash
16397 0 0 unless scalar $storeRecord->children
16401 0 0 unless $senderStore
16405 0 0 if defined $publicKeyStoreError
16406 0 0 if defined $invalidReason
16410 0 0 unless "CDS"->verifyEnvelopeSignature($envelope, $senderPublicKey, $signedHash)
16433 0 0 if defined $hash and ref $hash ne "CDS::Hash"
16434 0 0 if defined $envelope and ref $envelope ne "CDS::Record"
16474 0 0 if defined $parentSelector and ref $parentSelector ne "CDS::Selector"
16485 0 0 if defined $hashAndKey and ref $hashAndKey ne "CDS::HashAndKey"
16511 0 0 if ($newPart)
16593 0 0 if $o->{'hasSpace'}
16630 0 0 if $o->{'pure'}
16634 0 0 if length $text > 80
16635 0 0 if length $text < 80
16643 0 0 if $o->{'pure'}
16644 0 0 unless $o->{'hasProgress'}
16732 0 0 if length $text > $width
16741 0 0 if length $text > $width
16751 0 0 if defined $firstLine and length $key >= $indent
16765 0 0 if $o->{'verbose'}
16827 0 0 defined $maxLength && $length > $maxLength ? :
16836 0 0 if $fileSize < 1000
16837 0 0 if $fileSize < 10000
16838 0 0 if $fileSize < 1000000
16839 0 0 if $fileSize < 10000000
16840 0 0 if $fileSize < 1000000000
16841 0 0 if $fileSize < '10000000000'
16881 0 0 if defined $record and ref $record ne "CDS::Record"
16887 0 0 if defined $record and ref $record ne "CDS::Record"
16897 0 0 if defined $selector and ref $selector ne "CDS::Selector"
16901 0 0 $item->{'revision'} ? :
16903 0 0 if ($selector->{'id'} eq 'ROOT') { }
16909 0 0 length $label > 64 ? :
16922 0 0 if defined $selector and ref $selector ne "CDS::Selector"
16962 0 0 if $dataStart > length $o->{'bytes'}
16977 0 0 $alternate ? :
17004 0 0 if $pos <= length $o->{'bytes'}
17021 0 0 $length == 31 ? :
0 0 $length == 30 ? :
17023 0 0 if ($byteLength)
17028 0 0 if ($flags & 32)
17034 0 0 if $flags & 64
17035 0 0 unless $flags & 128
17039 0 0 if $pos != length $o->{'bytes'}
17040 0 0 if $hasError
17068 0 0 if $index >= $length
17077 0 0 if $break
17080 0 0 if $break
17086 0 0 $code >= 32 && $code <= 126 ? :
17128 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17129 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17137 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17138 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17146 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17147 0 0 if defined $object and ref $object ne "CDS::Object"
17148 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17158 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17161 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17163 0 0 $timeout == 0 ? :
17169 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17171 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17172 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17180 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17182 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17183 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17192 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17204 0 0 if defined $record and ref $record ne "CDS::Record"
17207 0 0 defined $storeUrl ? :
17217 0 0 if defined $record and ref $record ne "CDS::Record"
17228 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 ? :
17243 0 0 if $hash and ($bytes and length $bytes != 32)
17257 0 0 if $length <= 64
17266 0 0 $length > 64 ? :
17270 0 0 if ($length <= 8)
17272 0 0 $o->looksLikeTimestamp($integer) ? :
17275 0 0 if $length == 4 or $length == 8
17276 0 0 if $length == 32
17277 0 0 if length $bytes > 64
17286 0 0 unless $o->looksLikeTimestamp($integer)
17295 0 0 unless $o->looksLikeTimestamp($integer)
17321 0 0 if ($parent) { }
17334 0 0 if $o->{'appliedBold'}
17335 0 0 if $o->{'appliedUnderlined'}
17336 0 0 if defined $o->{'appliedForeground'}
17337 0 0 if defined $o->{'appliedBackground'}
17343 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17355 0 0 if ($needStyle)
17372 0 0 unless defined $child
17375 0 0 if ($ref eq 'CDS::UI::Span') { }
0 0 elsif (length $ref) { }
0 0 elsif (not defined $child) { }
17390 0 0 if ($char eq ' ' or $char eq "\t") { }
0 0 elsif ($state->{'wrapSpan'} and $state->{'lineLength'} > $state->{'maxLength'}) { }
17400 0 0 if $state->{'wrapSpan'} == $o and $state->{'wrapIndex'} == $index
17448 0 0 if $item
17478 0 0 if defined $record and ref $record ne "CDS::Record"
17487 0 0 if defined $record and ref $record ne "CDS::Record"
17500 0 0 if defined $record and ref $record ne "CDS::Record"
17501 0 0 if defined $source and ref $source ne "CDS::Source"
17507 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17514 0 0 if defined $storeError
17515 0 0 if $missing
17517 0 0 if ($source)
17530 0 0 unless $hashAndKey
17531 0 0 if $o->{'parts'}{$hashAndKey->hash->bytes}
17544 0 0 unless $o->{'hasPartsToMerge'}
17548 0 0 if $part->{'isMerged'}
17549 0 0 if $part->{'loadedRecord'}
17552 0 0 if defined $storeError
17554 0 0 if defined $invalidReason
17560 0 0 if $part->{'isMerged'}
17561 0 0 unless $part->{'loadedRecord'}
17590 0 0 if ($o->{'changes'}{'count'})
17598 0 0 if $item->{'part'} != $newPart
17607 0 0 if not $part->{'isMerged'} or $part->{'selected'} or $part->{'count'} >= $count * 2
17613 0 0 unless $addedPart
17618 0 0 unless $item->{'part'}{'selected'}
17636 0 0 unless $part->{'isMerged'}
17637 0 0 if $part->{'count'}
17718 0 0 if $o->{'savingState'}
17726 0 0 unless $o->{'savingState'}
17733 0 0 unless $o->{'savingState'}
17746 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17747 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17750 0 0 if $stateObject
17752 0 0 if ($o->{'savingState'})
17754 0 0 if $savingStateObject
17762 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17763 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17770 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17771 0 0 if defined $object and ref $object ne "CDS::Object"
17772 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17779 0 0 if defined $accountHash and ref $accountHash ne "CDS::Hash"
17782 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17791 0 0 if defined $keyPair and ref $keyPair ne "CDS::KeyPair"
17818 0 0 if defined $hash and ref $hash ne "CDS::Hash"
17819 0 0 if defined $object and ref $object ne "CDS::Object"