Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/advanced-custom-fields-migrator/advanced-custom-fields-migrator.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; Acf_Field_Migration has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼59.48ms] Passed 4 tests
A check of server-side resources used by Advanced Custom Fields Migration Cleanup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.31 | 5.06 ▼39.79 |
Dashboard /wp-admin | 2.22 ▼1.17 | 6.53 ▼60.95 |
Posts /wp-admin/edit.php | 2.22 ▼1.18 | 6.48 ▼41.77 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.71 | 7.35 ▼95.39 |
Media Library /wp-admin/upload.php | 2.22 ▼1.05 | 6.18 ▼30.12 |
ACF Migration /wp-admin/options-general.php?page=acf-migrator-options | 2.22 | 6.00 |
ACF Migration /wp-admin/tools.php?page=acf-migrator | 2.22 | 6.28 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Custom Fields Migration Cleanup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.28 ▲0.00 | 1.78 ▼0.45 | 43.47 ▼2.09 |
Dashboard /wp-admin | 2,203 ▲29 | 5.49 ▼0.09 | 83.49 ▼5.43 | 39.48 ▼0.39 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.97 ▼0.06 | 34.83 ▼2.49 | 33.50 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.61 ▲0.34 | 618.83 ▼68.58 | 49.74 ▼3.48 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.20 ▲0.05 | 98.74 ▼2.33 | 42.04 ▼5.15 |
ACF Migration /wp-admin/options-general.php?page=acf-migrator-options | 1,026 | 2.08 | 41.02 | 39.84 |
ACF Migration /wp-admin/tools.php?page=acf-migrator | 846 | 1.90 | 27.81 | 31.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/advanced-custom-fields-migrator/advanced-custom-fields-migrator.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; Acf_Field_Migration has a deprecated constructor
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=acf-migrator
- > Deprecated in wp-content/plugins/advanced-custom-fields-migrator/advanced-custom-fields-migrator.php+36
Methods with the same name as their class will not be constructors in a future version of PHP; Acf_Field_Migration has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=acf-migrator
- > Deprecated in wp-content/plugins/advanced-custom-fields-migrator/screen-meta-links.php+23
Methods with the same name as their class will not be constructors in a future version of PHP; wsScreenMetaLinks11 has a deprecated constructor
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advanced-custom-fields-migrator/class.options.php:306
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/advanced-custom-fields-migrator/advanced-custom-fields-migrator.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=acf-migrator-options
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'mozilla')" "TypeError: Cannot read properties of undefined (reading 'mozilla')\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=acf-migrator-options:259:18)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=acf-migrator-options
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'mozilla')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Settings - Post Selection), #2 (Settings - General Settings), #3 (ACF Migrator), #4 (ACF Migrator - In progress)
advanced-custom-fields-migrator/advanced-custom-fields-migrator.php Passed 13 tests
The entry point to "Advanced Custom Fields Migration Cleanup" version 0.0.5 is a PHP file that has certain tags in its header comment area
84 characters long description:
Correct and prevent Advanced Custom Fields options migration autoload 'yes' to 'no'.
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
Everything looks great! No dangerous files found in this plugin1,372 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 302 | 198 | 973 |
CSS | 2 | 36 | 48 | 395 |
JavaScript | 2 | 0 | 25 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 36.33 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
12 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 33.77KB | 11.41KB | ▼ 66.21% |
jquery-ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png | 0.11KB | 0.09KB | ▼ 15.18% |
screenshot-4.png | 83.83KB | 18.34KB | ▼ 78.13% |
screenshot-1.png | 50.38KB | 18.04KB | ▼ 64.20% |
jquery-ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |