📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
This report presents the forensic synthetic code analysis of nextcloud/all-in-one, a PHP project with 10,106 GitHub stars. SynthScan v2.0 examined 34,725 lines of code across 334 source files, recording 101 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 101 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/composer/composer/InstalledVersions.php | 58 | public static function getInstalledPackagesByType($type) | CODE |
| LOW | php/public/containers-form-submit.js | 54 | function checkForOptionContainerChanges() { | CODE |
| LOW | php/public/containers-form-submit.js | 100 | function checkForCommunityContainerChanges() { | CODE |
| LOW | php/public/containers-form-submit.js | 134 | function handleDockerSocketProxyWarning() { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 70 | public function GetContainerRestartingState(Container $container): ContainerState { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 113 | public function GetContainerStartingState(Container $container): ContainerState { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 625 | private function isContainerUpdateAvailable(string $id): string { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 684 | private function GetAllNextcloudExecCommands(): string { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 689 | private function GetRepoDigestsOfContainer(string $containerName): ?array { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 784 | public function IsMastercontainerUpdateAvailable(): bool { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 874 | private function DisconnectContainerFromBridgeNetwork(string $id): void { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 894 | private function ConnectContainerIdToNetwork(string $id, string $internalPort, string $network = 'nextcloud-aio', bo | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 946 | public function ConnectMasterContainerToNetwork(): void { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 952 | public function ConnectContainerToNetwork(Container $container): void { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 984 | public function GetBackupcontainerExitCode(): int { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 1006 | public function GetDatabasecontainerExitCode(): int { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 1046 | private function GetCreatedTimeOfNextcloudImage(string $imageName): ?string { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 1063 | public function GetAndGenerateSecretWrapper(string $secretId): string { | CODE |
| LOW | php/src/Docker/DockerActionManager.php | 1095 | public function RunNextcloudUpgradeToLatestMajor(\Closure $addToStreamingResponseBody): void { | CODE |
| LOW | php/src/Controller/DockerController.php | 28 | private function PerformRecursiveContainerStart(string $id, bool $pullImage = true, ?\Closure $addToStreamingRespons | CODE |
| LOW | php/src/Controller/DockerController.php | 51 | private function PerformRecursiveImagePull(string $id) : void { | CODE |
| LOW | php/src/Controller/DockerController.php | 92 | public function StartBackupContainerBackup(Request $request, Response $response, array $args) : Response { | CODE |
| LOW | php/src/Controller/DockerController.php | 115 | public function StartBackupContainerCheck(Request $request, Response $response, array $args) : Response { | CODE |
| LOW | php/src/Controller/DockerController.php | 153 | public function StartBackupContainerRestore(Request $request, Response $response, array $args) : Response { | CODE |
| LOW | php/src/Controller/DockerController.php | 176 | public function StartBackupContainerCheckRepair(Request $request, Response $response, array $args) : Response { | CODE |
| LOW | php/src/Controller/DockerController.php | 295 | private function PerformRecursiveContainerStop(string $id, bool $forceStopNextcloud = false, ?\Closure $addToStreami | CODE |
| LOW | php/src/Controller/DockerController.php | 342 | public function RunNextcloudUpgradeToLatestMajor(Request $request, Response $response, array $args) : Response { | CODE |
| LOW | php/src/Controller/DockerController.php | 379 | public function StartDomaincheckContainer() : void | CODE |
| LOW | php/src/Controller/DockerController.php | 421 | private function getStreamingResponseHtmlStart() : string { | CODE |
| LOW | php/src/Controller/DockerController.php | 456 | private function getAddToStreamingResponseBody(Response $nonbufResp) : \Closure { | CODE |
| LOW⚡ | php/src/Controller/DockerController.php | 479 | private function finalizeStreamingResponse(Response $nonbufResp) : void { | CODE |
| LOW⚡ | php/src/Controller/DockerController.php | 483 | private function getStreamingResponseHtmlEnd() : string { | CODE |
| LOW⚡ | php/src/Controller/DockerController.php | 487 | private function getTimestampForDockerLogsApiSince(string $input) : string | CODE |
| LOW | php/src/Data/DataConst.php | 39 | public static function GetAdditionalBackupDirectoriesFile() : string { | CODE |
| LOW⚡ | php/src/Data/DataConst.php | 59 | public static function GetCommunityContainersDirectory() : string { | CODE |
| LOW⚡ | php/src/Data/DataConst.php | 63 | public static function GetCollaboraSeccompProfilePath() : string { | CODE |
| LOW⚡ | php/src/Data/DataConst.php | 67 | public static function GetContainersDefinitionPath() : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 284 | public function isDesecAwaitingVerification(): bool { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 439 | public function getAndGenerateSecret(string $secretId) : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 537 | private function isOtherOfficeThanEuroOfficeEnabled() : bool { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 726 | public function deleteBorgBackupLocationItems() : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 744 | public function setBorgRestoreLocationVarsAndPassword(string $location, string $repo, string $password) : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 822 | private function getEnvironmentalVariableOrConfig(string $envVariableName, string $configName, string $defaultValue) | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 849 | public function getCollaboraSeccompPolicy() : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 884 | private function getDailyBackupFileContent() : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 915 | public function areAutomaticUpdatesEnabled() : bool { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 936 | public function setAdditionalBackupDirectories(string $additionalBackupDirectories) : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 957 | public function getAdditionalBackupDirectoriesString() : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 964 | public function getAdditionalBackupDirectoriesArray() : array { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 995 | public function shouldDomainValidationBeSkipped(bool $skipDomainValidation) : bool { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1002 | public function getApacheAdditionalNetwork() : string { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1021 | private function validateCollaboraDictionaries(string $CollaboraDictionaries) : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1034 | public function deleteCollaboraDictionaries() : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1041 | private function validateCollaboraAdditionalOptions(string $additionalCollaboraOptions) : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1054 | public function deleteAdditionalCollaboraOptions() : void { | CODE |
| LOW | php/src/Data/ConfigurationManager.php | 1058 | public function listAvailableCommunityContainers() : array { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Containers/nextcloud/entrypoint.sh | 67 | # Check if variable is an actual cert | COMMENT |
| LOW | Containers/nextcloud/entrypoint.sh | 187 | # Check if it skips a major version | COMMENT |
| LOW | Containers/nextcloud/entrypoint.sh | 591 | # Check if appdata is present | COMMENT |
| LOW | Containers/nextcloud/start.sh | 50 | # Check if /dev/dri device is present and apply correct permissions | COMMENT |
| LOW | Containers/postgresql/start.sh | 31 | # Check if dump dir is writeable | COMMENT |
| LOW | Containers/postgresql/start.sh | 107 | # Check if the line we grep for later on is there | COMMENT |
| LOW | Containers/borgbackup/backupscript.sh | 40 | # Check if target is mountpoint | COMMENT |
| LOW | Containers/borgbackup/backupscript.sh | 46 | # Check if repo is uninitialized | COMMENT |
| LOW | Containers/mastercontainer/daily-backup.sh | 9 | # Check if initial configuration has been done, otherwise this script should do nothing. | COMMENT |
| LOW | Containers/mastercontainer/daily-backup.sh | 29 | # Check if apache is running/stopped, watchtower is stopped and backupcontainer is stopped | COMMENT |
| LOW | Containers/mastercontainer/cron.sh | 57 | # Check if AIO is outdated | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 27 | # Check if running as root user | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 39 | # Check if socket is available and readable | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 62 | # Check if a group with the same group name of /var/run/docker.socket already exists in the container | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 90 | # Check if DOCKER_API_VERSION is set globally | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 110 | # Check if docker info can be used | COMMENT |
| LOW⚡ | Containers/mastercontainer/start.sh | 147 | # Check if vfs is used: https://github.com/nextcloud/all-in-one/discussions/1467 | COMMENT |
| LOW⚡ | Containers/mastercontainer/start.sh | 156 | # Check if snap install | COMMENT |
| LOW⚡ | Containers/mastercontainer/start.sh | 163 | # Check if startup command was executed correctly | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 356 | # Check if ghcr.io is reachable | COMMENT |
| LOW | Containers/mastercontainer/start.sh | 392 | # Check if unsupported env are set (but don't exit as it would break many instances) | COMMENT |
| LOW | Containers/watchtower/start.sh | 7 | # Check if socket is available and readable | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compose.yaml | 10 | - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the appl | CODE |
| LOW | compose.yaml | 10 | - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the appl | CODE |
| MEDIUM | nextcloud-aio-helm-chart/values.yaml | 44 | STORAGE_CLASS: # By setting this, you can adjust the storage class for your volumes. This should be a fast storag | CODE |
| MEDIUM | nextcloud-aio-helm-chart/values.yaml | 59 | NAMESPACE: default # By changing this, you can adjust the namespace of the installation which allows to install m | CODE |
| MEDIUM | nextcloud-aio-helm-chart/values.yaml | 60 | NAMESPACE_DISABLED: "no" # By setting this to "yes", you can disabled the creation of the namespace so that you c | CODE |
| MEDIUM | nextcloud-aio-helm-chart/update-helm.sh | 414 | echo 'STORAGE_CLASS: # By setting this, you can adjust the storage class for your volumes. This should be a fast | CODE |
| MEDIUM | nextcloud-aio-helm-chart/update-helm.sh | 425 | NAMESPACE: default # By changing this, you can adjust the namespace of the installation which allows to install m | CODE |
| MEDIUM | nextcloud-aio-helm-chart/update-helm.sh | 426 | NAMESPACE_DISABLED: "no" # By setting this to "yes", you can disabled the creation of the namespace so that you c | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | AGENTS.md | 90 | See [HowToApplyALicense.md](https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md) for detail | CODE |
| HIGH | php/src/Docker/DockerActionManager.php | 1115 | // Special-case images prune to include the dangling filter as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compose.yaml | 21 | # APACHE_PORT: 11000 # Needed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudf | COMMENT |
| LOW | compose.yaml | 41 | # TALK_PORT: 3478 # This allows to adjust the port that the talk container is using which is exposed on the host. | COMMENT |
| LOW | compose.yaml | 61 | # configs: | COMMENT |
| LOW | compose.yaml | 81 | # driver_opts: | COMMENT |
| LOW | reverse-proxy.md | 501 | COMMENT | |
| LOW | php/tests/tests/desec-existing.spec.js | 1 | import { test, expect } from '@playwright/test'; | COMMENT |
| LOW | php/tests/tests/desec-register.spec.js | 1 | import { test, expect } from '@playwright/test'; | COMMENT |
| LOW | php/src/Docker/DockerActionManager.php | 441 | // This is needed due to a bug in libwebsockets used in Janus which cannot handle unlimited ulimits | COMMENT |
| LOW | .github/workflows/desec-api-version-watch.yml | 1 | name: deSEC API version watch | COMMENT |
| LOW | .github/workflows/dependency-updates.yml | 21 | cd ./php | COMMENT |
| LOW | Containers/collabora/healthcheck.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Containers/borgbackup/backupscript.sh | 220 | # Create the backup | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Containers/borgbackup/backupscript.sh | 477 | # More robust than e.g. xargs as I got a ~"args line too long" error while testing that, but it's slower | COMMENT |