Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.18ms] Passed 4 tests
A check of server-side resources used by Advanced Shipping Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.85 ▼9.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.73 ▼1.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.96 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.92 ▼13.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.76 ▲4.20 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Shipping Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.12 | 1.71 ▲0.05 | 39.72 ▼4.17 |
Dashboard /wp-admin | 2,203 ▲15 | 4.87 ▼0.98 | 135.34 ▲17.60 | 41.29 ▼4.02 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 38.49 ▼3.37 | 33.54 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 18.23 ▼5.07 | 615.76 ▲14.15 | 72.67 ▲14.10 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.04 | 96.49 ▼5.79 | 44.23 ▲0.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Asm_Shipping_Field' not found in wp-content/plugins/asm-manager/includes/asmplsww_product_field.php:315
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/asm-manager/includes/asmplsww_shipping_api.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/asm-manager/includes/asmplsww_admin_field.php:13
- > PHP Notice
Trying to get property 'cart' of non-object in wp-content/plugins/asm-manager/includes/asmplsww_query_live.php on line 14
- > PHP Fatal error
Uncaught Error: Call to a member function get_cart() on null in wp-content/plugins/asm-manager/includes/asmplsww_query_live.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in asm-manager/assets to your readme.txt
- Contributors: Plugin contributors field is missing
asm-manager/asmplsww.php 92% from 13 tests
"Advanced Shipping Manager" version 1.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("asm-manager.php" instead of "asmplsww.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin778 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 157 | 66 | 778 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 14 | 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
PNG images were not found in this plugin