Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.05MB] [CPU: ▲18.20ms] 75% from 4 tests
An overview of server-side resources used by Pickup & Delivery from Customer Locations for WooCommerce
Please fix the following
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.05MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 51.40 ▲8.77 |
Dashboard /wp-admin | 8.90 ▲5.60 | 76.72 ▲29.16 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 81.96 ▲35.51 |
Add New Post /wp-admin/post-new.php | 9.52 ▲3.63 | 103.38 ▼0.63 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 75.54 ▲38.46 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 8.90 | 59.60 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 190 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
fs_debug_mode |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
fs_accounts |
widget_recent-comments |
pdfclw_pickup_enable |
fs_active_plugins |
pdfclw_pickup_mandatory |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Pickup & Delivery from Customer Locations for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,502 ▼244 | 14.44 ▲0.17 | 0.42 ▼1.58 | 7.63 ▼34.84 |
Dashboard /wp-admin | 2,246 ▲58 | 5.85 ▲0.88 | 113.66 ▼4.06 | 46.94 ▲1.36 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.08 ▲0.07 | 41.82 ▼1.18 | 35.91 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,689 ▲156 | 22.42 ▼1.00 | 669.50 ▲46.47 | 60.82 ▲13.83 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.21 ▼0.00 | 95.79 ▼7.46 | 48.40 ▲3.52 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 1,085 | 1.73 | 32.16 | 28.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/pickup-and-delivery-from-customer-locations-for-woocommerce/freemius/includes/class-freemius.php+8911
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 12 options in the database
- widget_recent-comments
- pdfclw_pickup_enable
- fs_gdpr
- theysaidso_admin_options
- widget_theysaidso_widget
- fs_accounts
- pdfclw_pickup_mandatory
- can_compress_scripts
- fs_active_plugins
- widget_recent-posts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pickup-and-delivery-from-customer-locations-for-woocommerce/admin/partials/pdfclw-admin-display.php
- > /wp-content/plugins/pickup-and-delivery-from-customer-locations-for-woocommerce/public/partials/pdfclw-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #2 in pickup-and-delivery-from-customer-locations-for-woocommerce/assets to your readme.txt
pickup-and-delivery-from-customer-locations-for-woocommerce/pickup-and-delivery-from-customer-locations-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "Pickup & Delivery from Customer Locations for WooCommerce" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 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
No dangerous file extensions were detected34,259 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 7,916 | 17,674 | 33,646 |
JavaScript | 6 | 116 | 107 | 481 |
CSS | 14 | 19 | 8 | 132 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,029)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 83.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,029.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,262 | |
▷ Static methods | 183 | 14.50% |
▷ Public methods | 898 | 71.16% |
▷ Protected methods | 15 | 1.19% |
▷ Private methods | 349 | 27.65% |
Functions | 103 | |
▷ Named functions | 103 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 133 | |
▷ Global constants | 101 | 75.94% |
▷ Class constants | 32 | 24.06% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |