Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▲0.31ms] Passed 4 tests
This is a short check of server-side resources used by WMS with Pulpo WMS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 43.73 ▲1.64 |
Dashboard /wp-admin | 3.77 ▲0.46 | 48.59 ▲3.22 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 50.63 ▼1.75 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.42 | 86.53 ▼1.87 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.96 ▲5.00 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pulpo_shipping_queue |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
pulpo_shipping_db_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WMS with Pulpo WMS: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲177 | 13.58 ▼0.80 | 6.38 ▲4.70 | 41.50 ▼7.82 |
Dashboard /wp-admin | 2,210 ▲19 | 5.84 ▼0.04 | 95.45 ▼8.25 | 39.35 ▼4.18 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.01 ▼0.03 | 39.41 ▼1.56 | 36.10 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,518 ▲4 | 23.46 ▲5.87 | 624.94 ▼44.73 | 56.62 ▲2.71 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.02 | 92.65 ▼4.25 | 39.31 ▼2.43 |
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
- Zombie tables were found after uninstall: 1 table
- wp_pulpo_shipping_queue
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- pulpo_shipping_db_version
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-settings-mode.php:4
- > PHP Notice
Undefined variable: service in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-settings-actions.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-settings-main.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-messages-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_webhooks() on null in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-settings-actions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/shipments-with-pulpo/admin/partials/pulpo-settings-logs.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/shipments-with-pulpo/includes/class-wc-shipping-pulpo.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (General settings), #2 (Test environment settings), #3 (Production environment settings), #4 (Log page)
shipments-with-pulpo/pulpo_shipping.php 85% from 13 tests
The principal PHP file in "WMS with Pulpo WMS" v. 1.0.23 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("shipments-with-pulpo.php" instead of "pulpo_shipping.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,420 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 555 | 540 | 2,333 |
PO File | 1 | 34 | 2 | 81 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 9 | 7.89% |
▷ Public methods | 97 | 85.09% |
▷ Protected methods | 9 | 7.89% |
▷ Private methods | 8 | 7.02% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.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