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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼6.40ms] Passed 4 tests
This is a short check of server-side resources used by Portugal DPD Pickup and Lockers network for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 40.37 ▲0.77 |
Dashboard /wp-admin | 3.51 ▲0.20 | 43.55 ▼6.50 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.29 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 78.55 ▼17.07 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 35.88 ▼1.24 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Portugal DPD Pickup and Lockers network for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.08 | 1.69 ▲0.16 | 42.64 ▼0.25 |
Dashboard /wp-admin | 2,192 ▲15 | 5.51 ▼0.05 | 95.42 ▲7.50 | 44.66 ▲0.69 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 35.66 ▼2.29 | 34.25 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.29 ▼0.67 | 644.08 ▼18.82 | 54.36 ▼1.64 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.23 ▲0.06 | 92.92 ▼3.25 | 40.69 ▼3.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/portugal-chronopost-pickup-woocommerce/portugal-chronopost-pickup-woocommerce.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
portugal-chronopost-pickup-woocommerce/portugal-chronopost-pickup-woocommerce.php 92% from 13 tests
The principal PHP file in "Portugal DPD Pickup and Lockers network for WooCommerce" v. 3.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)
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
Success! There were no dangerous files found in this plugin1,228 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 112 | 1,123 |
CSS | 2 | 0 | 0 | 53 |
JavaScript | 1 | 1 | 15 | 52 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 46 | |
▷ Named functions | 44 | 95.65% |
▷ Anonymous functions | 2 | 4.35% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pro_nag/pro_pickup.png | 2.78KB | 2.62KB | ▼ 5.75% |
assets/dpd_230_100.png | 2.28KB | 2.02KB | ▼ 11.36% |
pro_nag/pro.png | 3.05KB | 2.86KB | ▼ 6.43% |