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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.94ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Local Pickup Time Select
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.08 ▼0.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.25 ▼5.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.11 ▲0.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.88 ▲3.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.39 ▼2.23 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Local Pickup Time Select
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.00 | 1.71 ▼0.04 | 41.64 ▼5.37 |
Dashboard /wp-admin | 2,192 ▲14 | 5.49 ▼0.16 | 90.30 ▼26.58 | 41.30 ▼2.98 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.13 ▲0.15 | 39.52 ▼3.95 | 36.74 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.67 ▲0.58 | 703.50 ▲9.37 | 71.05 ▲15.85 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.26 ▲0.08 | 96.98 ▼6.12 | 42.30 ▼0.47 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: e-commerce, ecommerce, shipping, checkout fields, wordpress ecommerce...
woocommerce-local-pickup-time-select/woocommerce-local-pickup-time.php 92% from 13 tests
The principal PHP file in "WooCommerce Local Pickup Time Select" v. 1.4.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woocommerce-local-pickup-time-select.php" instead of "woocommerce-local-pickup-time.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
Everything looks great! No dangerous files found in this plugin1,635 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 333 | 872 | 910 |
PO File | 2 | 199 | 238 | 524 |
YAML | 2 | 13 | 6 | 82 |
Markdown | 1 | 57 | 0 | 75 |
XML | 1 | 0 | 4 | 44 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 8 | 13.79% |
▷ Public methods | 53 | 91.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin