Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.10ms] Passed 4 tests
This is a short check of server-side resources used by WP Engine Automated Migration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.08 ▼1.95 |
Dashboard /wp-admin | 3.40 ▲0.05 | 47.63 ▼10.28 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.88 ▲3.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.05 ▼22.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.30 ▲1.87 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Engine Automated Migration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.28 ▼0.09 | 1.72 ▲0.09 | 39.86 ▼0.05 |
Dashboard /wp-admin | 2,207 ▲27 | 5.49 ▼0.21 | 83.46 ▲0.50 | 76.82 ▲35.72 |
Posts /wp-admin/edit.php | 2,115 ▲36 | 1.99 ▼0.05 | 35.41 ▼0.95 | 34.01 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,693 ▲167 | 21.95 ▼1.27 | 719.16 ▲58.64 | 61.85 ▲1.94 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.19 ▼0.01 | 93.13 ▼11.35 | 71.65 ▲25.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- 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
Even though no errors were found, this is by no means 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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-site-migrate/admin/main_page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #2 (BlogVault dashboard showing live updates.) image not found
wp-site-migrate/wpengine.php 92% from 13 tests
The main file in "WP Engine Automated Migration" v. 5.25 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-site-migrate.php" instead of "wpengine.php")
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
Good job! No executable or dangerous file extensions detected3,438 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 455 | 48 | 3,321 |
CSS | 1 | 0 | 0 | 70 |
SVG | 3 | 0 | 0 | 47 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 32 | 13.45% |
▷ Public methods | 237 | 99.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin