Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.63ms] Passed 4 tests
Server-side resources used by WooCommerce Pickupp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.47 ▲1.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.25 ▼7.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.55 ▲0.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.86 ▼13.09 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.90 ▲2.11 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
pickupp_region |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Pickupp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.38 ▼0.98 | 1.79 ▲0.09 | 44.63 ▼4.61 |
Dashboard /wp-admin | 2,210 ▲25 | 5.85 ▼0.11 | 101.72 ▼6.34 | 39.98 ▼5.64 |
Posts /wp-admin/edit.php | 2,092 ▲4 | 2.04 ▲0.05 | 36.28 ▼8.38 | 35.98 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.01 ▼0.04 | 657.79 ▼56.79 | 53.78 ▼3.66 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.22 ▲0.00 | 99.33 ▼7.27 | 41.26 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- pickupp_region
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wc-pickupp/includes/wc-pickupp-frontend.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Pickupp_Api' not found in wp-content/plugins/wc-pickupp/includes/wc-pickupp-admin-setting.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: last mile delivery, courier, shipping, same day delivery, logistic
wc-pickupp/wc-pickupp.php 85% from 13 tests
This is the main PHP file of "WooCommerce Pickupp" version 2.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "4.6.0")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected906 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 145 | 140 | 828 |
JavaScript | 1 | 6 | 3 | 68 |
CSS | 1 | 1 | 0 | 8 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 11 | 27.50% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 90 | |
▷ Global constants | 83 | 92.22% |
▷ Class constants | 7 | 7.78% |
▷ Public constants | 7 | 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
No PNG files were detected