Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.93ms] Passed 4 tests
Server-side resources used by MB Toolset Migration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 34.16 ▼6.19 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.92 ▲0.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.99 ▲2.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.53 ▼8.40 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.76 ▼1.84 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by MB Toolset Migration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.13 | 1.67 ▼0.13 | 42.43 ▼7.33 |
Dashboard /wp-admin | 2,206 ▲21 | 4.84 ▼0.08 | 104.07 ▲3.36 | 47.65 ▲6.02 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.06 | 34.02 ▼5.22 | 32.79 ▼2.43 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.40 ▲0.08 | 691.55 ▲34.27 | 62.24 ▲8.91 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▼0.00 | 93.83 ▼2.35 | 41.64 ▼2.76 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 30× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/src/Encoder/BooleanEncoder.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/src/Encoder/FloatEncoder.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/src/Encoder/StringEncoder.php:11
- > PHP Fatal error
Uncaught Error: Class 'MetaBox\\TS\\Processors\\Base' not found in wp-content/plugins/mb-toolset-migration/src/Processors/Users.php:4
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/examples/config.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/src/Encoder/GMPEncoder.php:11
- > PHP Fatal error
Uncaught Error: Class 'MBBParser\\RestApi' not found in wp-content/plugins/mb-toolset-migration/vendor/meta-box/mbb-parser/mbb-parser.php:14
- > PHP Warning
require_once(wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/mb-toolset-migration/vendor/riimu/kit-phpencoder/examples/class_resolution.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'MBBParser\\Parsers\\Base' not found in wp-content/plugins/mb-toolset-migration/vendor/meta-box/mbb-parser/src/Parsers/MetaBox.php:6
- > PHP Fatal error
Uncaught Error: Class 'MetaBox\\TS\\Processors\\Base' not found in wp-content/plugins/mb-toolset-migration/src/Processors/Relationship.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (28 tag instead of maximum 10)
mb-toolset-migration/mb-toolset-migration.php 92% from 13 tests
The main file in "MB Toolset Migration" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected4,016 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 750 | 907 | 3,773 |
JSON | 1 | 0 | 0 | 114 |
Markdown | 1 | 26 | 0 | 78 |
JavaScript | 1 | 14 | 0 | 47 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 39 | |
▷ Abstract classes | 1 | 2.56% |
▷ Concrete classes | 38 | 97.44% |
▷ Final classes | 0 | 0.00% |
Methods | 277 | |
▷ Static methods | 30 | 10.83% |
▷ Public methods | 135 | 48.74% |
▷ Protected methods | 26 | 9.39% |
▷ Private methods | 116 | 41.88% |
Functions | 14 | |
▷ Named functions | 1 | 7.14% |
▷ Anonymous functions | 13 | 92.86% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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 images were found in this plugin