Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.78ms] Passed 4 tests
An overview of server-side resources used by Shipping & checkout – Localized for Vietnam
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.31 ▲0.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.31 ▼6.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.78 ▼5.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.01 ▼16.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.22 ▲5.95 |
Localized for Vietnam /wp-admin/admin.php?page=shipping-checkout-localized-for-vietnam | 3.00 | 21.48 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Shipping & checkout – Localized for Vietnam
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.37 | 1.75 ▼0.58 | 43.40 ▼1.09 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.13 | 90.94 ▼6.82 | 39.22 ▼9.76 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.03 | 34.96 ▼6.29 | 36.58 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.30 ▲0.15 | 678.67 ▼12.34 | 60.87 ▲8.62 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.02 | 105.55 ▲0.53 | 45.50 ▼1.89 |
Localized for Vietnam /wp-admin/admin.php?page=shipping-checkout-localized-for-vietnam | 28 | 0.42 | 0.09 | 3.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=shipping-checkout-localized-for-vietnam
- > Network (severe)
wp-admin/admin.php?page=shipping-checkout-localized-for-vietnam - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #4 is missing in shipping-checkout-localized-for-vietnam/assets to your readme.txt
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
shipping-checkout-localized-for-vietnam/shipping-checkout-localized-for-vietnam.php 92% from 13 tests
The primary PHP file in "Shipping & checkout – Localized for Vietnam" version 1.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 185 characters long)
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
There were no executable files found in this plugin13,177 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 191 | 90 | 12,864 |
CSS | 2 | 16 | 6 | 174 |
PO File | 1 | 24 | 24 | 101 |
JavaScript | 3 | 5 | 6 | 38 |
PHP code Passed 2 tests
This is a short overview 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.44 |
Average class complexity | 30.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 1 | 1.67% |
▷ Public methods | 58 | 96.67% |
▷ Protected methods | 2 | 3.33% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 11.04KB | 5.24KB | ▼ 52.53% |