Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.23ms] Passed 4 tests
This is a short check of server-side resources used by ACL - Woo Advanced Customer Dashboard
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.38 ▼1.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.72 ▼6.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.77 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.76 ▼6.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.62 ▲3.58 |
Server storage [IO: ▲2.94MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 94 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_wooacd_notifications |
wp_wooacd_custom_cart |
New WordPress options |
---|
acl_wooacd_custom_request |
db_upgraded |
acl_wooacd_traveller |
can_compress_scripts |
widget_recent-comments |
acl_wooacd_estimated_delivery_time |
widget_theysaidso_widget |
acl_wooacd_menus |
acl_wooacd_enable_notifications |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACL - Woo Advanced Customer Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.33 ▼0.85 | 2.02 ▼0.03 | 42.55 ▼1.50 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.20 | 104.37 ▼10.73 | 40.10 ▼5.07 |
Posts /wp-admin/edit.php | 2,068 ▼21 | 2.00 ▼0.02 | 35.63 ▼7.94 | 34.57 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.22 ▲5.80 | 585.46 ▼8.18 | 54.50 ▲3.50 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.24 ▼0.04 | 99.28 ▼3.47 | 45.23 ▲1.20 |
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
You still need to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_wooacd_custom_cart
- wp_wooacd_notifications
- Zombie WordPress options were found after uninstall: 12 options
- acl_wooacd_custom_request
- acl_wooacd_enable_notifications
- can_compress_scripts
- widget_theysaidso_widget
- acl_wooacd_set_estimated_delivery_time
- acl_wooacd_estimated_delivery_time
- acl_wooacd_traveller
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- ...
Smoke tests 50% 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 0% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/shipping_tracker/templates/wooacd-shipping-tracker.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/admin/wooacd-info-page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/notifications/templates/wooacd-notifications.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/cart/templates/wooacd_cart.php:1
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/notifications/templates/wooacd-notifications.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/notifications/templates/wooacd-notifications-page.php:12
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/acl-woo-advanced-customer-dashboard/includes/notifications/templates/wooacd-notifications-page.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: creating a custom wordpress dashboard for your clients, wordpress user dashboard in frontend, advanced customer dashboard plugin, woocommerce client dashboard, ultimate client dash...
acl-woo-advanced-customer-dashboard/acl-wooacd.php 69% from 13 tests
This is the main PHP file of "ACL - Woo Advanced Customer Dashboard" version 0.8.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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acl-woo-advanced-customer-dashboard.php" instead of "acl-wooacd.php")
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
- Domain Path: The domain path folder does not exist ("/lang/")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
There were no executable files found in this plugin15,030 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,954 |
PHP | 26 | 343 | 467 | 2,734 |
CSS | 8 | 151 | 55 | 1,641 |
Sass | 16 | 170 | 10 | 1,009 |
JavaScript | 11 | 55 | 134 | 692 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 1 | 5.26% |
Methods | 129 | |
▷ Static methods | 2 | 1.55% |
▷ Public methods | 129 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cancel.png | 3.97KB | 1.77KB | ▼ 55.41% |
assets/images/total.png | 3.91KB | 1.78KB | ▼ 54.57% |
assets/images/process.png | 5.50KB | 2.81KB | ▼ 48.85% |
assets/images/approve.png | 3.52KB | 1.56KB | ▼ 55.76% |