Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.39ms] Passed 4 tests
A check of server-side resources used by Connections to Directorist Migrator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.46 ▲1.02 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.20 ▼9.64 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.69 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 91.36 ▼1.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.49 ▲0.26 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 83 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Connections to Directorist Migrator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲17 | 14.24 ▼0.38 | 1.66 ▼0.02 | 44.26 ▲2.52 |
Dashboard /wp-admin | 2,189 ▲12 | 5.62 ▼0.04 | 92.61 ▲2.17 | 38.40 ▼16.05 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.15 | 41.30 ▲5.62 | 37.74 ▲5.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.03 ▼0.01 | 661.10 ▼9.77 | 50.02 ▼3.57 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.29 ▲0.11 | 104.69 ▼1.84 | 46.38 ▼0.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Connections_To_Directorist_Migrator\\Controller\\Asset\\AssetEnqueuer' not found in wp-content/plugins/connections-to-directorist-migrator/app/Controller/Asset/PublicAsset.php:5
- > PHP Fatal error
Uncaught Error: Class 'Connections_To_Directorist_Migrator\\Utility\\Enqueuer' not found in wp-content/plugins/connections-to-directorist-migrator/app/Controller/Asset/AssetEnqueuer.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/connections-to-directorist-migrator/helper/const.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/connections-to-directorist-migrator/app/Service/Integration/Connections/view/form-fields/is-preferred-only-field.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/connections-to-directorist-migrator/helper/const.php:36
- > PHP Fatal error
Uncaught Error: Class 'Connections_To_Directorist_Migrator\\Controller\\Asset\\AssetEnqueuer' not found in wp-content/plugins/connections-to-directorist-migrator/app/Controller/Asset/AdminAsset.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/connections-to-directorist-migrator/helper/const.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in connections-to-directorist-migrator/assets to your readme.txt
connections-to-directorist-migrator/connections-to-directorist-migrator.php 85% from 13 tests
Analyzing the main PHP file in "Connections to Directorist Migrator" version 0.1.2
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.7" instead of "5.2")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 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 detected2,654 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 587 | 810 | 1,656 |
JavaScript | 23 | 286 | 451 | 972 |
CSS | 6 | 4 | 3 | 19 |
Sass | 4 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 2 | 8.33% |
▷ Concrete classes | 22 | 91.67% |
▷ Final classes | 1 | 4.55% |
Methods | 111 | |
▷ Static methods | 25 | 22.52% |
▷ Public methods | 99 | 89.19% |
▷ Protected methods | 9 | 8.11% |
▷ Private methods | 3 | 2.70% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected