Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.46MB] [CPU: ▼8.07ms] Passed 4 tests
Server-side resources used by WAWP Automation Web Platform Notifications for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.47 | 43.15 ▼6.39 |
Dashboard /wp-admin | 3.77 ▲0.46 | 47.28 ▼1.45 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 48.84 ▼8.59 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.46 | 83.49 ▼15.85 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 38.32 ▲3.90 |
WAWP /wp-admin/admin.php?page=awp | 3.69 | 40.24 |
Notification /wp-admin/admin.php?page=WAWP | 3.56 | 29.26 |
Message Logs /wp-admin/admin.php?page=awp-message-log | 3.69 | 58.05 |
Server storage [IO: ▲2.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics 75% from 4 tests
WAWP Automation Web Platform Notifications for WooCommerce: an overview of browser usage
You may want to improve the following
- Nodes: You must limit the number of DOM nodes under 25,000 (currently 56,072 on /wp-admin/admin.php?page=awp)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲79 | 14.75 ▲0.02 | 1.89 ▼0.48 | 43.34 ▼5.16 |
Dashboard /wp-admin | 2,235 ▲61 | 5.52 ▼0.17 | 93.43 ▼7.17 | 74.84 ▲18.17 |
Posts /wp-admin/edit.php | 2,143 ▲40 | 1.97 ▼0.06 | 38.63 ▼1.20 | 33.99 ▼6.05 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 23.02 ▼0.19 | 587.76 ▼85.07 | 168.10 ▲108.94 |
Media Library /wp-admin/upload.php | 1,443 ▲40 | 4.22 ▼0.04 | 97.84 ▲0.83 | 70.83 ▲28.33 |
WAWP /wp-admin/admin.php?page=awp | 56,072 | 16.31 | 579.56 | 86.41 |
Notification /wp-admin/admin.php?page=WAWP | 28 | 0.41 | 0.14 | 3.89 |
Message Logs /wp-admin/admin.php?page=awp-message-log | 1,091 | 4.14 | 52.61 | 81.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/automation-web-platform/awp-update.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automation-web-platform/awp-main.php:1098
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/automation-web-platform/awp-cf7.php:2
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/automation-web-platform/awp-elementor.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/automation-web-platform/awp-caldera.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automation-web-platform/awp-main.php:1098
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=WAWP
- > Network (severe)
wp-admin/admin.php?page=WAWP - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: whatsapp notification, woocoomerce, whatsapp, notification messages, wawp...
automation-web-platform/awp.php 77% from 13 tests
The primary PHP file in "WAWP Automation Web Platform Notifications for WooCommerce" version 1.2.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("automation-web-platform.php" instead of "awp.php")
Code Analysis Passed 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
There were no executable files found in this plugin46,410 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 355 | 556 | 40,723 |
PO File | 7 | 908 | 947 | 2,300 |
PHP | 9 | 165 | 45 | 1,829 |
CSS | 3 | 115 | 4 | 1,558 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 63.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 190.00 |
Average method complexity | 5.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 1 | 1.64% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 38.88KB | 21.29KB | ▼ 45.25% |
assets/img/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
assets/img/menu.png | 0.91KB | 0.65KB | ▼ 28.66% |