Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.77MB] [CPU: ▲1.15ms] Passed 4 tests
An overview of server-side resources used by WP on AWS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.31 ▲3.92 |
Dashboard /wp-admin | 4.32 ▲1.02 | 52.01 ▲2.12 |
Posts /wp-admin/edit.php | 4.43 ▲1.08 | 55.49 ▲3.73 |
Add New Post /wp-admin/post-new.php | 6.92 ▲1.03 | 86.05 ▼5.17 |
Media Library /wp-admin/upload.php | 4.24 ▲1.01 | 41.23 ▲9.77 |
Create Clone /wp-admin/admin.php?page=wpm2aws | 4.19 | 43.92 |
WP on AWS /wp-admin/admin.php?page=wpm2aws-actions | 4.22 | 43.43 |
Server storage [IO: ▲20.79MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 1,906 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
wpm2aws-redirect-home-name |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP on AWS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲65 | 13.75 ▼0.59 | 1.70 ▼0.14 | 41.88 ▼0.86 |
Dashboard /wp-admin | 2,232 ▲55 | 5.61 ▼0.05 | 95.71 ▼0.17 | 94.26 ▲51.21 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.52 ▲0.55 | 42.17 ▲0.65 | 39.81 ▲3.31 |
Add New Post /wp-admin/post-new.php | 1,565 ▲31 | 23.63 ▼1.57 | 582.17 ▼29.86 | 31.99 ▼40.94 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.91 ▲0.68 | 100.56 ▲4.42 | 77.25 ▲35.82 |
Create Clone /wp-admin/admin.php?page=wpm2aws | 1,028 | 2.59 | 31.59 | 43.33 |
WP on AWS /wp-admin/admin.php?page=wpm2aws-actions | 1,024 | 2.50 | 31.62 | 47.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- wpm2aws-redirect-home-name
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpm2aws
- > Notice in wp-content/plugins/wp-migrate-2-aws/admin/includes/adminPages/adminPagesGeneral.php+234
Undefined index: field_placeholder
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-migrate-2-aws/settings.php
- > /wp-content/plugins/wp-migrate-2-aws/vendor/bin/jp.php
- 675× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/ElasticTranscoder/ElasticTranscoderClient.php:44
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/MarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.php:14
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/GlobalAccelerator/GlobalAcceleratorClient.php:59
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/MTurk/MTurkClient.php:87
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/Support/SupportClient.php:38
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Crypto\\AbstractCryptoClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/S3/Crypto/S3EncryptionClient.php:21
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/MarketplaceEntitlementService/MarketplaceEntitlementServiceClient.php:11
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/Firehose/Exception/FirehoseException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/EKS/EKSClient.php:51
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/wp-migrate-2-aws/vendor/aws/aws-sdk-php/src/SSOOIDC/SSOOIDCClient.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
- Screenshots: Please describe screenshot #7 in wp-migrate-2-aws/assets to your readme.txt
wp-migrate-2-aws/wp-migrate-2-aws.php 85% from 13 tests
Analyzing the main PHP file in "WP on AWS" version 5.0.1
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected87,704 lines of code in 1,799 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,509 | 10,926 | 38,075 | 51,864 |
JavaScript | 3 | 2,505 | 2,371 | 11,805 |
Markdown | 17 | 3,042 | 0 | 8,445 |
SVG | 240 | 0 | 0 | 6,733 |
JSON | 22 | 2 | 0 | 6,181 |
CSS | 3 | 195 | 9 | 2,568 |
reStructuredText | 1 | 35 | 29 | 59 |
make | 2 | 10 | 0 | 22 |
XML | 1 | 3 | 0 | 14 |
YAML | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 415.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 487 | |
Interfaces | 53 | |
Traits | 21 | |
Classes | 835 | |
▷ Abstract classes | 17 | 2.04% |
▷ Concrete classes | 818 | 97.96% |
▷ Final classes | 23 | 2.81% |
Methods | 3,632 | |
▷ Static methods | 550 | 15.14% |
▷ Public methods | 2,442 | 67.24% |
▷ Protected methods | 182 | 5.01% |
▷ Private methods | 1,008 | 27.75% |
Functions | 659 | |
▷ Named functions | 196 | 29.74% |
▷ Anonymous functions | 463 | 70.26% |
Constants | 363 | |
▷ Global constants | 55 | 15.15% |
▷ Class constants | 308 | 84.85% |
▷ Public constants | 308 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
23 PNG files occupy 0.47MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/aws-welcome-image.png | 9.82KB | 4.65KB | ▼ 52.68% |
admin/assets/images/staging-icon.png | 0.92KB | 0.32KB | ▼ 65.64% |
admin/assets/images/diskSystem.png | 18.68KB | 6.64KB | ▼ 64.43% |
admin/assets/images/launch-instance.png | 44.25KB | 14.93KB | ▼ 66.25% |
admin/assets/images/manage-icon.png | 4.36KB | 1.71KB | ▼ 60.65% |