Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.73MB] [CPU: ▲29.68ms] Passed 4 tests
An overview of server-side resources used by Modular DS: Manage all your websites from a single dashboard
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.20 ▲4.73 | 63.79 ▲24.99 |
Dashboard /wp-admin | 8.03 ▲4.73 | 81.31 ▲30.04 |
Posts /wp-admin/edit.php | 8.15 ▲4.79 | 79.87 ▲35.69 |
Add New Post /wp-admin/post-new.php | 10.62 ▲4.72 | 122.91 ▲28.00 |
Media Library /wp-admin/upload.php | 7.96 ▲4.72 | 66.68 ▲36.55 |
Modular - Connection manager /wp-admin/tools.php?page=modular-connector | 9.61 | 67.53 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Modular DS: Manage all your websites from a single dashboard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲7 | 14.22 ▼0.13 | 1.65 ▼0.28 | 40.50 ▼3.26 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▼0.06 | 95.89 ▼4.84 | 43.71 ▼7.13 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.94 ▼0.07 | 39.89 ▲4.26 | 39.77 ▲3.41 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 22.93 ▲0.21 | 706.67 ▲63.52 | 54.24 ▼14.41 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.18 ▼0.03 | 96.87 ▼2.26 | 41.92 ▼3.35 |
Modular - Connection manager /wp-admin/tools.php?page=modular-connector | 908 | 1.96 | 24.04 | 30.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 15× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/minimal.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/503.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/404.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/419.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/429.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/403.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/symfony/error-handler/Resources/views/trace.html.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/illuminate/Foundation/Exceptions/views/500.blade.php
- > /wp-content/plugins/modular-connector/src/resources/views/settings.blade.php
- > /wp-content/plugins/modular-connector/vendor_prefixed/symfony/http-kernel/Resources/welcome.html.php
- 1524× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: expand in wp-content/plugins/modular-connector/vendor_prefixed/symfony/error-handler/Resources/views/traces.html.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Modular\\ConnectorDependencies\\Illuminate\\Database\\Connection' not found in wp-content/plugins/modular-connector/vendor_prefixed/illuminate/database/PostgresConnection.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Modular\\ConnectorDependencies\\Symfony\\Component\\Translation\\Exception\\ExceptionInterface' not found in wp-content/plugins/modular-connector/vendor_prefixed/symfony/translation/Exception/ProviderExceptionInterface.php:16
- > PHP Fatal error
Uncaught Error: Class 'Modular\\ConnectorDependencies\\Monolog\\Handler\\Handler' not found in wp-content/plugins/modular-connector/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NullHandler.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Modular\\ConnectorDependencies\\Carbon\\Exceptions\\InvalidArgumentException' not found in wp-content/plugins/modular-connector/vendor_prefixed/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php:15
- > PHP Fatal error
Uncaught Error: Class 'Modular\\ConnectorDependencies\\Symfony\\Component\\Routing\\Matcher\\UrlMatcher' not found in wp-content/plugins/modular-connector/vendor_prefixed/symfony/routing/Matcher/TraceableUrlMatcher.php:22
- > PHP Fatal error
Uncaught Error: Class 'Modular\\ConnectorDependencies\\Illuminate\\Support\\AggregateServiceProvider' not found in wp-content/plugins/modular-connector/vendor_prefixed/ares/framework/src/Setup/RegisterWordpressAsPluginProvider.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Modular\\ConnectorDependencies\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' not found in wp-content/plugins/modular-connector/vendor_prefixed/symfony/http-kernel/DependencyInjection/RegisterLocaleAwareServicesPass.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Modular\\ConnectorDependencies\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/modular-connector/vendor_prefixed/monolog/monolog/src/Monolog/Processor/HostnameProcessor.php:17
- > PHP Fatal error
Uncaught Error: Class 'Modular\\ConnectorDependencies\\Illuminate\\Queue\\Jobs\\Job' not found in wp-content/plugins/modular-connector/vendor_prefixed/illuminate/queue/Jobs/SyncJob.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: performance, manage multiple sites, update, backup, security...
modular-connector/init.php 85% from 13 tests
Analyzing the main PHP file in "Modular DS: Manage all your websites from a single dashboard" version 0.50.5
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("modular-connector.php" instead of "init.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 277 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected177,387 lines of code in 3,356 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3,316 | 8,076 | 139,789 | 166,791 |
JSON | 5 | 0 | 0 | 6,063 |
XSD | 4 | 113 | 48 | 2,976 |
Blade | 11 | 148 | 5 | 598 |
CSS | 4 | 28 | 5 | 481 |
JavaScript | 2 | 36 | 15 | 244 |
PO File | 1 | 25 | 25 | 76 |
reStructuredText | 1 | 74 | 78 | 74 |
Bourne Again Shell | 1 | 10 | 14 | 60 |
XML | 1 | 0 | 0 | 15 |
SVG | 9 | 0 | 0 | 9 |
HTML | 1 | 0 | 1 | 0 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 334)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 365.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 334.00 |
Code structure | ||
---|---|---|
Namespaces | 407 | |
Interfaces | 352 | |
Traits | 148 | |
Classes | 1,918 | |
▷ Abstract classes | 120 | 6.26% |
▷ Concrete classes | 1,798 | 93.74% |
▷ Final classes | 277 | 15.41% |
Methods | 17,012 | |
▷ Static methods | 1,677 | 9.86% |
▷ Public methods | 13,191 | 77.54% |
▷ Protected methods | 2,924 | 17.19% |
▷ Private methods | 897 | 5.27% |
Functions | 1,902 | |
▷ Named functions | 365 | 19.19% |
▷ Anonymous functions | 1,537 | 80.81% |
Constants | 1,106 | |
▷ Global constants | 95 | 8.59% |
▷ Class constants | 1,011 | 91.41% |
▷ Public constants | 855 | 84.57% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin