Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/postcode-shipping-module/wp-e-commerce-postcode-shipping.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; wpsc_postcode_shipping has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼59.86ms] Passed 4 tests
This is a short check of server-side resources used by WP E-commerce Postcode Shipping Module
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.71 ▼39.20 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.70 ▼44.44 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.43 ▼49.51 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 8.34 ▼106.30 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.57 ▼27.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP E-commerce Postcode Shipping Module: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.03 | 4.27 ▲2.24 | 47.81 ▲3.64 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▼0.05 | 120.52 ▲3.36 | 45.69 ▲2.67 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.02 | 39.27 ▼10.10 | 35.47 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.35 ▼0.20 | 713.96 ▼16.60 | 54.62 ▼2.42 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.23 ▲0.07 | 118.66 ▲5.61 | 47.58 ▼9.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/postcode-shipping-module/wp-e-commerce-postcode-shipping.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; wpsc_postcode_shipping has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 to be fixed:
- Tags: You are using too many tags: 18 tag instead of maximum 10
postcode-shipping-module/wp-e-commerce-postcode-shipping.php 92% from 13 tests
"WP E-commerce Postcode Shipping Module" version 1.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("postcode-shipping-module.php" instead of "wp-e-commerce-postcode-shipping.php")
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
No dangerous file extensions were detected165 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 37 | 165 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin