Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.38ms] Passed 4 tests
A check of server-side resources used by SHIPPOP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.86 ▼0.26 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.51 ▼2.81 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 53.04 ▼1.13 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.91 ▼18.90 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.33 ▼2.66 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SHIPPOP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.29 ▼0.07 | 1.75 ▼0.03 | 41.48 ▼8.80 |
Dashboard /wp-admin | 2,227 ▲50 | 5.55 ▼0.02 | 83.86 ▼20.47 | 39.18 ▼5.28 |
Posts /wp-admin/edit.php | 2,133 ▲36 | 2.17 ▲0.14 | 41.08 ▲7.58 | 41.53 ▲6.21 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.73 ▲0.69 | 664.23 ▼52.32 | 57.14 ▼5.71 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.29 ▲0.17 | 99.93 ▼18.05 | 42.12 ▼4.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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 everything seems fine, this is not 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
The following issues need your attention
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SPECM_Shippop_API' not found in wp-content/plugins/shippop-ecommerce/includes/ajax-api/ajax-api-choose-courier.php:10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/shippop-ecommerce/shippop-ecommerce.php on line 676
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/shippop-ecommerce/page-table/parcel-shipping-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/shippop-ecommerce/page-table/shippop-ecommerce-table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shippop-ecommerce/includes/class_overview.php:7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shippop-ecommerce/shippop-ecommerce.php on line 676
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shippop-ecommerce/page-table/parcel-shipping-table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/shippop-ecommerce/page-table/report-cod-table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'SPECM_Crud_Function' not found in wp-content/plugins/shippop-ecommerce/web-hooks-api.php:8
- > PHP Fatal error
Uncaught Error: Class 'SPECM_Shippop_API' not found in wp-content/plugins/shippop-ecommerce/includes/ajax-api/ajax-api-address-corrector.php:8
- > PHP Fatal error
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 90% 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 to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: Screenshot #7 (Screenshot Customer see tracking button SHIPPOP in order detail.) image required
shippop-ecommerce/shippop-ecommerce.php 92% from 13 tests
This is the main PHP file of "SHIPPOP" version 4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The plugin description must be longer than 10 characters (currently 7 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin10,448 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 622 | 425 | 4,386 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 7 | 118 | 131 | 1,903 |
JavaScript | 8 | 120 | 34 | 1,121 |
PO File | 1 | 176 | 172 | 367 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 30.53 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 155 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 142 | 91.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 8.39% |
Functions | 26 | |
▷ Named functions | 25 | 96.15% |
▷ Anonymous functions | 1 | 3.85% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
42 PNG files occupy 0.75MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logistic_logo/SCGC.png | 7.58KB | 7.18KB | ▼ 5.27% |
assets/images/logistic_logo/ECP.png | 262.50KB | 115.23KB | ▼ 56.10% |
assets/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
assets/images/logistic_logo/NJV.png | 16.28KB | 6.26KB | ▼ 61.51% |
assets/images/logistic_logo/JNTP.png | 2.17KB | 1.33KB | ▼ 38.98% |