Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.68ms] Passed 4 tests
An overview of server-side resources used by MB ACF Migration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.67 ▲5.59 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.00 ▼1.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.73 ▼0.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.42 ▼11.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.47 ▲3.64 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MB ACF Migration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.23 ▼1.32 | 4.60 ▲2.87 | 43.57 ▲1.75 |
Dashboard /wp-admin | 2,203 ▲12 | 5.80 ▲0.92 | 98.04 ▼6.40 | 37.22 ▼3.54 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.03 | 33.87 ▼3.01 | 35.08 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.30 ▲0.13 | 678.43 ▼1.21 | 55.70 ▼7.02 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.21 ▼0.01 | 97.23 ▼9.39 | 43.94 ▼0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 31× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/src/Encoder/IntegerEncoder.php:11
- > PHP Fatal error
Uncaught Error: Class 'MetaBox\\ACF\\Processors\\Base' not found in wp-content/plugins/mb-acf-migration/src/Processors/Posts.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/src/Encoder/FloatEncoder.php:11
- > PHP Fatal error
Uncaught Error: Class 'MetaBox\\ACF\\Processors\\Base' not found in wp-content/plugins/mb-acf-migration/src/Processors/FieldGroups.php:7
- > PHP Fatal error
Uncaught Error: Class 'MetaBox\\ACF\\Processors\\Base' not found in wp-content/plugins/mb-acf-migration/src/Processors/Taxonomies.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Riimu\\Kit\\PHPEncoder\\Encoder\\Encoder' not found in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/src/Encoder/ArrayEncoder.php:11
- > PHP Fatal error
Uncaught Error: Class 'MBBParser\\RestApi' not found in wp-content/plugins/mb-acf-migration/vendor/meta-box/mbb-parser/mbb-parser.php:14
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/writing.php on line 6
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/export_difference.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/mb-acf-migration/vendor/riimu/kit-phpencoder/examples/config.php on line 7
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (28 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mb-acf-migration/mb-acf-migration.php 85% from 13 tests
The main PHP file in "MB ACF Migration" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Git Repository: Please remove the Git repository from this plugin
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,503 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 883 | 918 | 4,224 |
JSON | 1 | 0 | 0 | 108 |
Markdown | 1 | 28 | 0 | 81 |
JavaScript | 1 | 15 | 0 | 50 |
XML | 1 | 13 | 29 | 36 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 41 | |
▷ Abstract classes | 1 | 2.44% |
▷ Concrete classes | 40 | 97.56% |
▷ Final classes | 0 | 0.00% |
Methods | 301 | |
▷ Static methods | 30 | 9.97% |
▷ Public methods | 140 | 46.51% |
▷ Protected methods | 31 | 10.30% |
▷ Private methods | 130 | 43.19% |
Functions | 15 | |
▷ Named functions | 1 | 6.67% |
▷ Anonymous functions | 14 | 93.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin