Code Quality
Weight 20%avg_cc=1.48, max_cc=6, duplication=4.19%, dead_code=0
| Primary Language | PHP |
|---|---|
| Primary Framework | PHP Composer |
| Detected Frameworks | PHP Composer; React (Vite); TypeScript |
| Deployable Types | API; Service; Frontend |
| Technology Stack | PHP, CI/CD |
| Default Branch | master |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:13:06 AM |
| Source Repository | Open on GitHub |
3475e3c8f3456e02d186fcd0bfc8ef9fc36a94adnextcloud/groupfolders3475e3c8f3456e02d186fcd0bfc8ef9fc36a94adgraph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["nextcloud/groupfolders (243 components)"]):::atlasRoot
subgraph sg_dir_0_tests["tests (130)"]
direction TB
dir_0_tests["tests (130)"]:::atlasCategory
sub_0_0_stubs["stubs (114)"]:::atlasWorkflow
dir_0_tests --> sub_0_0_stubs
sub_0_1_ACL["ACL (7)"]:::atlasWorkflow
dir_0_tests --> sub_0_1_ACL
sub_0_2_Listeners["Listeners (3)"]:::atlasWorkflow
dir_0_tests --> sub_0_2_Listeners
sub_0_more["+5 more submodules (6)"]:::atlasMore
dir_0_tests --> sub_0_more
end
repo_root --> dir_0_tests
subgraph sg_dir_1_lib["lib (109)"]
direction TB
dir_1_lib["lib (109)"]:::atlasCategory
sub_1_0_Migration["Migration (29)"]:::atlasWorkflow
dir_1_lib --> sub_1_0_Migration
sub_1_1_Command["Command (15)"]:::atlasWorkflow
dir_1_lib --> sub_1_1_Command
sub_1_2_ACL["ACL (10)"]:::atlasWorkflow
dir_1_lib --> sub_1_2_ACL
sub_1_more["+15 more submodules (55)"]:::atlasMore
dir_1_lib --> sub_1_more
end
repo_root --> dir_1_lib
dir_2__root_["(root) (2)"]:::atlasCategory
repo_root --> dir_2__root_
dir_3_templates["templates (2)"]:::atlasCategory
repo_root --> dir_3_templates
Showing top 60 representative components out of 243 across 4 module group(s):
Module tests (130 components — module: 130)
Module lib (109 components — module: 109)
Module (root) (2 components — module: 2)
Module templates (2 components — module: 2)
.php-cs-fixer.dist (.php-cs-fixer.dist.php): module
ACL (lib/Command/ACL.php): module
ACLCacheWrapper (lib/ACL/ACLCacheWrapper.php): module
ACLCacheWrapperTest (tests/ACL/ACLCacheWrapperTest.php): module
ACLManager (lib/ACL/ACLManager.php): module
ACLManagerFactory (lib/ACL/ACLManagerFactory.php): module
ACLManagerFactoryTest (tests/ACL/ACLManagerFactoryTest.php): module
ACLManagerTest (tests/ACL/ACLManagerTest.php): module
ACLPlugin (lib/DAV/ACLPlugin.php): module
ACLScannerTest (tests/ACL/ACLScannerTest.php): module
ACLStorageWrapper (lib/ACL/ACLStorageWrapper.php): module
ACLStorageWrapperTest (tests/ACL/ACLStorageWrapperTest.php): module
Admin (lib/Settings/Admin.php): module
AdminSecurity (lib/Settings/AdminSecurity.php): module
Application (lib/AppInfo/Application.php): module
ApplicationService (lib/Service/ApplicationService.php): module
AuthorizedAdminSettingMiddleware (lib/AuthorizedAdminSettingMiddleware.php): module
CacheListener (lib/Listeners/CacheListener.php): module
CacheRootPermissionsMask (lib/Mount/CacheRootPermissionsMask.php): module
Capabilities (lib/AppInfo/Capabilities.php): module
CapabilitiesTest (tests/AppInfo/CapabilitiesTest.php): module
CircleDestroyedEventListener (lib/Listeners/CircleDestroyedEventListener.php): module
CircleDestroyedEventListenerTest (tests/Listeners/CircleDestroyedEventListenerTest.php): module
Cleanup (lib/Command/Trashbin/Cleanup.php): module
Create (lib/Command/Create.php): module
DelegationController (lib/Controller/DelegationController.php): module
DelegationService (lib/Service/DelegationService.php): module
Delete (lib/Command/Delete.php): module
DeleteListener (lib/Listeners/DeleteListener.php): module
ExpireGroupBase (lib/Command/ExpireGroup/ExpireGroupBase.php): module
ExpireGroupPlaceholder (lib/BackgroundJob/ExpireGroupPlaceholder.php): module
ExpireGroupTrash (lib/BackgroundJob/ExpireGroupTrash.php): module
ExpireGroupTrash (lib/Command/ExpireGroup/ExpireGroupTrash.php): module
ExpireGroupVersions (lib/BackgroundJob/ExpireGroupVersions.php): module
ExpireGroupVersions (lib/Command/ExpireGroup/ExpireGroupVersions.php): module
ExpireGroupVersionsPlaceholder (lib/Command/ExpireGroupVersionsPlaceholder.php): module
ExpireGroupVersionsTrash (lib/Command/ExpireGroup/ExpireGroupVersionsTrash.php): module
ExpireManager (lib/Versions/ExpireManager.php): module
FolderCommand (lib/Command/FolderCommand.php): module
FolderController (lib/Controller/FolderController.php): module
FolderDefinition (lib/Folder/FolderDefinition.php): module
FolderDefinitionWithMappings (lib/Folder/FolderDefinitionWithMappings.php): module
FolderDefinitionWithPermissions (lib/Folder/FolderDefinitionWithPermissions.php): module
FolderManager (lib/Folder/FolderManager.php): module
FolderManagerTest (tests/Folder/FolderManagerTest.php): module
FolderStorageManager (lib/Mount/FolderStorageManager.php): module
FolderWithMappingsAndCache (lib/Folder/FolderWithMappingsAndCache.php): module
FoldersFilter (lib/Service/FoldersFilter.php): module
Group (lib/Command/Group.php): module
GroupFolderEncryptionJail (lib/Mount/GroupFolderEncryptionJail.php): module
GroupFolderNoEncryptionStorage (lib/Mount/GroupFolderNoEncryptionStorage.php): module
GroupFolderNode (lib/DAV/GroupFolderNode.php): module
GroupFolderStorage (lib/Mount/GroupFolderStorage.php): module
GroupFoldersHome (lib/DAV/GroupFoldersHome.php): module
GroupMountPoint (lib/Mount/GroupMountPoint.php): module
GroupTrashItem (lib/Trash/GroupTrashItem.php): module
GroupVersion (lib/Versions/GroupVersion.php): module
GroupVersionEntity (lib/Versions/GroupVersionEntity.php): module
GroupVersionsExpireDeleteFileEvent (lib/Event/GroupVersionsExpireDeleteFileEvent.php): module
GroupVersionsExpireDeleteVersionEvent (lib/Event/GroupVersionsExpireDeleteVersionEvent.php): module
F (59.24/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 93.72 | 0.20 | avg_cc=1.48, max_cc=6, duplication=4.19%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=999, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.52, max_cognitive=6, fitness_violations=0, oversized_files=0 |
| Pipeline Health | F | 0.00 | 0.15 | workflows=24, operational_antipatterns=54, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=1, pipeline_security_findings=9 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
ATRUSS-SEC-005 at .github/workflows/phpunit-sqlite-s3.yml:81 (MINIO_ROOT_PASSWORD: bWlu***REDACTED***)bamarni/composer-bin-plugin 1.8 (composer, composer.json)@mdi/js 7.4.47 (npm, package-lock.json)@mdi/js 7.4.47 (npm, package.json)@mdi/svg 7.4.47 (npm, package-lock.json)@mdi/svg 7.4.47 (npm, package.json)@nextcloud/auth 2.5.2 (npm, package.json)@nextcloud/auth 2.6.0 (npm, package-lock.json)@nextcloud/axios 2.5.2 (npm, package.json)@nextcloud/axios 2.6.0 (npm, package-lock.json)@nextcloud/browserslist-config 3.1.2 (npm, package-lock.json)@nextcloud/browserslist-config 3.1.2 (npm, package.json)@nextcloud/dialogs 7.3.0 (npm, package.json)@nextcloud/dialogs 7.6.0 (npm, package-lock.json)@nextcloud/e2e-test-server 0.6.1 (npm, package-lock.json)@nextcloud/e2e-test-server 0.6.1 (npm, package.json)@nextcloud/eslint-config 9.0.1 (npm, package-lock.json)@nextcloud/eslint-config 9.0.1 (npm, package.json)@nextcloud/files 4.0.0 (npm, package.json)@nextcloud/files 4.1.1 (npm, package-lock.json)@nextcloud/initial-state 3.0.0 (npm, package-lock.json)@nextcloud/initial-state 3.0.0 (npm, package.json)@nextcloud/l10n 3.3.0 (npm, package.json)@nextcloud/l10n 3.4.1 (npm, package-lock.json)@nextcloud/logger 3.0.2 (npm, package.json)@nextcloud/logger 3.0.3 (npm, package-lock.json)@nextcloud/password-confirmation 6.0.2 (npm, package.json)@nextcloud/password-confirmation 6.1.0 (npm, package-lock.json)@nextcloud/paths 3.0.0 (npm, package.json)@nextcloud/paths 3.1.0 (npm, package-lock.json)@nextcloud/router 3.0.1 (npm, package.json)flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_tests_playwright["tests/playwright"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_playwright_yml_merge_reports["playwright.yml#merge-reports"]:::atlasJob
end
mod_tests_playwright -->|BUILT_BY| job_playwright_yml_merge_reports
tests/playwright (code_module) —[BUILT_BY]—> playwright.yml#merge-reports (ci_job)graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["nextcloud/groupfolders (24 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (16 workflows · 39 jobs)"]
direction TB
subgraph sg_wf_12_PHPUnit_MySQL["PHPUnit MySQL (4 jobs)"]
direction TB
wf_12_PHPUnit_MySQL(["Trigger: PHPUnit MySQL"]):::atlasWorkflow
job_12_matrix["matrix"]:::atlasJob
job_12_changes["changes"]:::atlasJob
job_12_phpunit_mysql_sharding["phpunit-mysql-sharding"]:::atlasJob
wf_12_PHPUnit_MySQL --> job_12_matrix
wf_12_PHPUnit_MySQL --> job_12_changes
job_12_changes --> job_12_phpunit_mysql_sharding
job_12_matrix --> job_12_phpunit_mysql_sharding
end
pipeline_root --> wf_12_PHPUnit_MySQL
subgraph sg_wf_16_PHPUnit_SQLite___S3["PHPUnit SQLite - S3 (4 jobs)"]
direction TB
wf_16_PHPUnit_SQLite___S3(["Trigger: PHPUnit SQLite - S3"]):::atlasWorkflow
job_16_matrix["matrix"]:::atlasJob
job_16_changes["changes"]:::atlasJob
job_16_phpunit_sqlite["phpunit-sqlite"]:::atlasJob
wf_16_PHPUnit_SQLite___S3 --> job_16_matrix
wf_16_PHPUnit_SQLite___S3 --> job_16_changes
job_16_changes --> job_16_phpunit_sqlite
job_16_matrix --> job_16_phpunit_sqlite
end
pipeline_root --> wf_16_PHPUnit_SQLite___S3
subgraph sg_wf_18_Playwright_Tests["Playwright Tests (4 jobs)"]
direction TB
wf_18_Playwright_Tests(["Trigger: Playwright Tests"]):::atlasWorkflow
job_18_playwright_setup["playwright-setup"]:::atlasJob
job_18_playwright_tests["playwright-tests"]:::atlasJob
job_18_merge_reports["merge-reports"]:::atlasJob
wf_18_Playwright_Tests --> job_18_playwright_setup
job_18_playwright_setup --> job_18_playwright_tests
job_18_playwright_tests --> job_18_merge_reports
end
pipeline_root --> wf_18_Playwright_Tests
end
subgraph sg_grp_1_Scheduled___Manual["Scheduled & Manual (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_19_Ask_for_feedback_on_PRs["Ask for feedback on PRs (1 jobs)"]
direction TB
wf_19_Ask_for_feedback_on_PRs(["Trigger: Ask for feedback on PRs"]):::atlasWorkflow
job_19_pr_feedback["pr-feedback"]:::atlasJob
wf_19_Ask_for_feedback_on_PRs --> job_19_pr_feedback
end
pipeline_root --> wf_19_Ask_for_feedback_on_PRs
subgraph sg_wf_22_Update_workflows["Update workflows (1 jobs)"]
direction TB
wf_22_Update_workflows(["Trigger: Update workflows"]):::atlasWorkflow
job_22_dispatch["dispatch"]:::atlasJob
wf_22_Update_workflows --> job_22_dispatch
end
pipeline_root --> wf_22_Update_workflows
subgraph sg_wf_23_Update_nextcloud_ocp["Update nextcloud/ocp (1 jobs)"]
direction TB
wf_23_Update_nextcloud_ocp(["Trigger: Update nextcloud/ocp"]):::atlasWorkflow
job_23_update_nextcloud_ocp["update-nextcloud-ocp"]:::atlasJob
wf_23_Update_nextcloud_ocp --> job_23_update_nextcloud_ocp
end
pipeline_root --> wf_23_Update_nextcloud_ocp
end
subgraph sg_grp_2_Security___Governance["Security & Governance (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_1_Auto_approve_Dependabot_PRs["Auto approve Dependabot PRs (1 jobs)"]
direction TB
wf_1_Auto_approve_Dependabot_PRs(["Trigger: Auto approve Dependabot PRs"]):::atlasWorkflow
job_1_auto_approve_merge["auto-approve-merge"]:::atlasJob
wf_1_Auto_approve_Dependabot_PRs --> job_1_auto_approve_merge
end
pipeline_root --> wf_1_Auto_approve_Dependabot_PRs
subgraph sg_wf_2_Block_fixup_and_squash_commits["Block fixup and squash commits (1 jobs)"]
direction TB
wf_2_Block_fixup_and_squash_commits(["Trigger: Block fixup and squash commits"]):::atlasWorkflow
job_2_commit_message_check["commit-message-check"]:::atlasJob
wf_2_Block_fixup_and_squash_commits --> job_2_commit_message_check
end
pipeline_root --> wf_2_Block_fixup_and_squash_commits
end
subgraph sg_grp_3_Release___Deploy["Release & Deploy (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_Build_and_publish_app_release["Build and publish app release (1 jobs)"]
direction TB
wf_0_Build_and_publish_app_release(["Trigger: Build and publish app release"]):::atlasWorkflow
job_0_build_and_publish["build_and_publish"]:::atlasJob
wf_0_Build_and_publish_app_release --> job_0_build_and_publish
end
pipeline_root --> wf_0_Build_and_publish_app_release
subgraph sg_wf_20_Notify_release_relay_on_release["Notify release-relay on release (1 jobs)"]
direction TB
wf_20_Notify_release_relay_on_release(["Trigger: Notify release-relay on release"]):::atlasWorkflow
job_20_notify["notify"]:::atlasJob
wf_20_Notify_release_relay_on_release --> job_20_notify
end
pipeline_root --> wf_20_Notify_release_relay_on_release
end
wf_more["+14 more workflows"]:::atlasMore
pipeline_root --> wf_moreavg_cc=1.48, max_cc=6, duplication=4.19%, dead_code=0
vulnerabilities=0, secrets=1, pipeline_security_findings=9
avg_cognitive=0.52, max_cognitive=6, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=999, outdated=0, vulnerable=0, has_lockfile=True
workflows=24, operational_antipatterns=54, parallel_branches=True
All architectural boundary, cycle, and complexity thresholds passed.
No known OSV vulnerabilities detected across 999 parsed dependencies.
ATRUSS-SEC-005.github/workflows/phpunit-sqlite-s3.yml:81High-entropy credential candidate (H=4.56 > 4.5) detected.
MINIO_ROOT_PASSWORD: bWlu***REDACTED***Single-package repository or no monorepo workspace manifests.