Code Quality
Weight 20%avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
| Primary Language | PHP |
|---|---|
| Primary Framework | Symfony |
| Detected Frameworks | Symfony; PHP Composer; React (Vite); TypeScript |
| Deployable Types | API; Service; Frontend |
| Technology Stack | PHP, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:16:23 AM |
| Source Repository | Open on GitHub |
6bf9a06d3beb68ef7f0d52e7a1eb447d17c2a215nextcloud/twofactor_gateway6bf9a06d3beb68ef7f0d52e7a1eb447d17c2a215graph 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/twofactor_gateway (237 components)"]):::atlasRoot
subgraph sg_dir_0_lib["lib (151)"]
direction TB
dir_0_lib["lib (151)"]:::atlasCategory
sub_0_0_Provider["Provider (105)"]:::atlasWorkflow
dir_0_lib --> sub_0_0_Provider
sub_0_1_Service["Service (18)"]:::atlasWorkflow
dir_0_lib --> sub_0_1_Service
sub_0_2_Command["Command (7)"]:::atlasWorkflow
dir_0_lib --> sub_0_2_Command
sub_0_more["+9 more submodules (21)"]:::atlasMore
dir_0_lib --> sub_0_more
end
repo_root --> dir_0_lib
subgraph sg_dir_1_tests["tests (77)"]
direction TB
dir_1_tests["tests (77)"]:::atlasCategory
sub_1_0_php["php (74)"]:::atlasWorkflow
dir_1_tests --> sub_1_0_php
sub_1_1_stubs["stubs (2)"]:::atlasWorkflow
dir_1_tests --> sub_1_1_stubs
sub_1_2_integration["integration (1)"]:::atlasWorkflow
dir_1_tests --> sub_1_2_integration
end
repo_root --> dir_1_tests
dir_2_templates["templates (6)"]:::atlasCategory
repo_root --> dir_2_templates
dir_3__root_["(root) (2)"]:::atlasCategory
repo_root --> dir_3__root_
dir_4_composer["composer (1)"]:::atlasCategory
repo_root --> dir_4_composer
Showing top 60 representative components out of 237 across 5 module group(s):
Module lib (151 components — module: 151)
Module tests (77 components — module: 77)
Module templates (6 components — module: 6)
Module (root) (2 components — module: 2)
Module composer (1 components — module: 1)
.php-cs-fixer.dist (.php-cs-fixer.dist.php): module
AFactory (lib/Provider/AFactory.php): module
AGateway (lib/Provider/Gateway/AGateway.php): module
AGatewayTest (tests/php/Unit/Provider/Gateway/AGatewayTest.php): module
AProvider (lib/Provider/AProvider.php): module
AProvider (lib/Provider/Channel/SMS/Provider/AProvider.php): module
AProvider (lib/Provider/Channel/Telegram/Provider/AProvider.php): module
AProviderTest (tests/php/Unit/Provider/Channel/Telegram/Provider/AProviderTest.php): module
AbstractCatalogFactory (lib/Provider/Channel/AbstractCatalogFactory.php): module
AbstractChannelAProvider (lib/Provider/Channel/AbstractChannelAProvider.php): module
AbstractInteractiveSetupStateStore (lib/Provider/AbstractInteractiveSetupStateStore.php): module
AbstractMadelineCommand (lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/AbstractMadelineCommand.php): module
AdminGatewayController (lib/Controller/AdminGatewayController.php): module
AdminGatewayControllerTest (tests/php/Unit/Controller/AdminGatewayControllerTest.php): module
AdminNotifiableEvent (lib/Events/AdminNotifiableEvent.php): module
AdminNotificationFormatter (lib/Notification/AdminNotificationFormatter.php): module
AdminNotificationFormatterRegistry (lib/Notification/AdminNotificationFormatterRegistry.php): module
AdminSettings (lib/Settings/AdminSettings.php): module
AdminSettingsTest (tests/php/Unit/Settings/AdminSettingsTest.php): module
AppTestCase (tests/php/Unit/AppTestCase.php): module
Application (lib/AppInfo/Application.php): module
ApplicationTest (tests/php/Unit/AppInfo/ApplicationTest.php): module
AtLoginProvider (lib/Provider/AtLoginProvider.php): module
Bootstrap (lib/Provider/Channel/Telegram/Bootstrap.php): module
Bootstrap (lib/Provider/Channel/WhatsApp/Bootstrap.php): module
BootstrapFactory (lib/Provider/Gateway/BootstrapFactory.php): module
Bot (lib/Provider/Channel/Telegram/Provider/Drivers/Bot.php): module
BotTest (tests/php/Unit/Provider/Channel/Telegram/Provider/Drivers/BotTest.php): module
CegedimVortext (lib/Provider/Channel/SMS/Provider/Drivers/CegedimVortext.php): module
Cli (lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Cli.php): module
ClickSend (lib/Provider/Channel/SMS/Provider/Drivers/ClickSend.php): module
ClickatellCentral (lib/Provider/Channel/SMS/Provider/Drivers/ClickatellCentral.php): module
ClickatellPortal (lib/Provider/Channel/SMS/Provider/Drivers/ClickatellPortal.php): module
Client (lib/Provider/Channel/Telegram/Provider/Drivers/Client.php): module
ClientSessionHealthService (lib/Provider/Channel/Telegram/Provider/Drivers/ClientSessionHealthService.php): module
ClientSessionHealthServiceTest (tests/php/Unit/Provider/Channel/Telegram/ClientSessionHealthServiceTest.php): module
ClientTest (tests/php/Unit/Provider/Channel/Telegram/Provider/Drivers/ClientTest.php): module
ClockworkSMS (lib/Provider/Channel/SMS/Provider/Drivers/ClockworkSMS.php): module
Complete2faLogin (lib/Provider/Channel/Telegram/Provider/Drivers/ClientCli/Complete2faLogin.php): module
ConfigurationException (lib/Exception/ConfigurationException.php): module
Configure (lib/Command/Configure.php): module
ConfigureTest (tests/php/Unit/Command/ConfigureTest.php): module
ConsoleCommandTestCase (tests/php/Unit/Command/ConsoleCommandTestCase.php): module
ConsoleOutputSpy (tests/php/Unit/Command/ConsoleOutputSpy.php): module
CurlFunctionStubs (tests/php/Unit/Provider/Channel/XMPP/CurlFunctionStubs.php): module
DeviceStateFetcher (lib/Provider/Channel/WhatsApp/Provider/Drivers/GoWhatsApp/DeviceStateFetcher.php): module
DeviceStateFetcherTest (tests/php/Unit/Provider/Channel/GoWhatsApp/DeviceStateFetcherTest.php): module
EcallSMS (lib/Provider/Channel/SMS/Provider/Drivers/EcallSMS.php): module
Factory (lib/Provider/Channel/SMS/Factory.php): module
Factory (lib/Provider/Channel/Telegram/Factory.php): module
Factory (lib/Provider/Channel/WhatsApp/Factory.php): module
Factory (lib/Provider/Factory.php): module
Factory (lib/Provider/Gateway/Factory.php): module
FactoryTest (tests/php/Unit/Provider/Channel/SMS/Provider/FactoryTest.php): module
FactoryTest (tests/php/Unit/Provider/Channel/WhatsApp/FactoryTest.php): module
FactoryTest (tests/php/Unit/Provider/Gateway/FactoryTest.php): module
FeatureContext (tests/integration/features/bootstrap/FeatureContext.php): module
FieldDefinition (lib/Provider/FieldDefinition.php): module
FieldDefinitionTest (tests/php/Unit/Provider/FieldDefinitionTest.php): module
FieldExposure (lib/Provider/FieldExposure.php): module
D (60.50/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 100.00 | 0.20 | avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1964, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0 |
| Pipeline Health | F | 0.00 | 0.15 | workflows=19, operational_antipatterns=45, parallel_branches=True |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=6 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
mkdocs 1.6.1 (PyPI, requirements-docs.txt)bacon/bacon-qr-code 3.0 (composer, composer.json)bamarni/composer-bin-plugin 1.8 (composer, composer.json)behat/behat 3.13 (composer, tests/integration/composer.json)danog/madelineproto 8.5 (composer, vendor-bin/telegram-client/composer.json)guzzlehttp/guzzle 7.10 (composer, tests/integration/composer.json)humbug/php-scoper 0.18.20 (composer, vendor-bin/php-scoper/composer.json)jarnaiz/behat-junit-formatter 1.3 (composer, tests/integration/composer.json)libresign/mailpit-behat-extension 0.1.1 (composer, tests/integration/composer.json)libresign/nextcloud-behat 1.4 (composer, tests/integration/composer.json)php-http/guzzle7-adapter 1.1 (composer, tests/integration/composer.json)php-http/message 1.16 (composer, tests/integration/composer.json)symfony/console 7.3 (composer, vendor-bin/telegram-client/composer.json)@nextcloud/axios 2.6.0 (npm, package-lock.json)@nextcloud/axios 2.6.0 (npm, package.json)@nextcloud/browserslist-config 3.1.2 (npm, package-lock.json)@nextcloud/browserslist-config 3.1.2 (npm, package.json)@nextcloud/eslint-config 9.0.1 (npm, package-lock.json)@nextcloud/eslint-config 9.0.1 (npm, package.json)@nextcloud/initial-state 3.0.0 (npm, package-lock.json)@nextcloud/initial-state 3.0.0 (npm, package.json)@nextcloud/l10n 3.4.1 (npm, package-lock.json)@nextcloud/l10n 3.4.1 (npm, package.json)@nextcloud/router 3.1.0 (npm, package.json)@nextcloud/router 3.2.0 (npm, package-lock.json)@nextcloud/stylelint-config 3.2.2 (npm, package-lock.json)@nextcloud/stylelint-config 3.2.2 (npm, package.json)@nextcloud/vite-config 2.5.4 (npm, package-lock.json)@nextcloud/vite-config 2.5.4 (npm, package.json)@nextcloud/vue 9.14.1 (npm, package-lock.json)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/twofactor_gateway (19 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (16 workflows · 34 jobs)"]
direction TB
subgraph sg_wf_3_Lint_eslint["Lint eslint (3 jobs)"]
direction TB
wf_3_Lint_eslint(["Trigger: Lint eslint"]):::atlasWorkflow
job_3_changes["changes"]:::atlasJob
job_3_lint["lint"]:::atlasJob
job_3_summary["summary"]:::atlasJob
wf_3_Lint_eslint --> job_3_changes
job_3_changes --> job_3_lint
job_3_changes --> job_3_summary
job_3_lint --> job_3_summary
end
pipeline_root --> wf_3_Lint_eslint
subgraph sg_wf_6_Lint_php["Lint php (3 jobs)"]
direction TB
wf_6_Lint_php(["Trigger: Lint php"]):::atlasWorkflow
job_6_matrix["matrix"]:::atlasJob
job_6_php_lint["php-lint"]:::atlasJob
job_6_summary["summary"]:::atlasJob
wf_6_Lint_php --> job_6_matrix
job_6_matrix --> job_6_php_lint
job_6_php_lint --> job_6_summary
end
pipeline_root --> wf_6_Lint_php
subgraph sg_wf_8_Node["Node (3 jobs)"]
direction TB
wf_8_Node(["Trigger: Node"]):::atlasWorkflow
job_8_changes["changes"]:::atlasJob
job_8_build["build"]:::atlasJob
job_8_summary["summary"]:::atlasJob
wf_8_Node --> job_8_changes
job_8_changes --> job_8_build
job_8_changes --> job_8_summary
job_8_build --> job_8_summary
end
pipeline_root --> wf_8_Node
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["phpunit-mysql"]:::atlasJob
wf_12_PHPUnit_MySQL --> job_12_matrix
wf_12_PHPUnit_MySQL --> job_12_changes
job_12_changes --> job_12_phpunit_mysql
job_12_matrix --> job_12_phpunit_mysql
end
pipeline_root --> wf_12_PHPUnit_MySQL
subgraph sg_wf_13_PHPUnit_PostgreSQL["PHPUnit PostgreSQL (4 jobs)"]
direction TB
wf_13_PHPUnit_PostgreSQL(["Trigger: PHPUnit PostgreSQL"]):::atlasWorkflow
job_13_matrix["matrix"]:::atlasJob
job_13_changes["changes"]:::atlasJob
job_13_phpunit_pgsql["phpunit-pgsql"]:::atlasJob
wf_13_PHPUnit_PostgreSQL --> job_13_matrix
wf_13_PHPUnit_PostgreSQL --> job_13_changes
job_13_changes --> job_13_phpunit_pgsql
job_13_matrix --> job_13_phpunit_pgsql
end
pipeline_root --> wf_13_PHPUnit_PostgreSQL
subgraph sg_wf_14_PHPUnit_Coverage["PHPUnit Coverage (4 jobs)"]
direction TB
wf_14_PHPUnit_Coverage(["Trigger: PHPUnit Coverage"]):::atlasWorkflow
job_14_matrix["matrix"]:::atlasJob
wf_14_PHPUnit_Coverage --> job_14_matrix
end
pipeline_root --> wf_14_PHPUnit_Coverage
wf_15_PHPUnit_SQLite["PHPUnit SQLite (4 jobs)"]:::atlasWorkflow
pipeline_root --> wf_15_PHPUnit_SQLite
end
subgraph sg_grp_1_Release___Deploy["Release & Deploy (2 workflows · 2 jobs)"]
direction TB
wf_0_Build_and_publish_app_release["Build and publish app release (1 jobs)"]:::atlasWorkflow
pipeline_root --> wf_0_Build_and_publish_app_release
wf_17_Notify_release_relay_on_release["Notify release-relay on release (1 jobs)"]:::atlasWorkflow
pipeline_root --> wf_17_Notify_release_relay_on_release
end
subgraph sg_grp_2_Security___Governance["Security & Governance (1 workflows · 1 jobs)"]
direction TB
wf_2_Dependabot["Dependabot (1 jobs)"]:::atlasWorkflow
pipeline_root --> wf_2_Dependabot
end
wf_more["+9 more workflows"]:::atlasMore
pipeline_root --> wf_moreavg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
vulnerabilities=0, secrets=0, pipeline_security_findings=6
avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=1964, outdated=0, vulnerable=0, has_lockfile=True
workflows=19, operational_antipatterns=45, parallel_branches=True
No per-file complexity hotspots recorded in this report.
All architectural boundary, cycle, and complexity thresholds passed.
No known OSV vulnerabilities detected across 1964 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.
No Code-to-Cloud container, IaC, or deploy environment edges detected.