Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/woo-live-sale-notify/index.php+54
Undefined variable: test_db_version
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.38ms] Passed 4 tests
Server-side resources used by Woo Live Sale Notify | Live Sale Popup (Boost Your Sale)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 24.71 ▼14.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.26 ▼6.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.26 ▼5.34 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.68 ▼6.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.40 ▼0.10 |
Woo Live Sale Notify /wp-admin/options-general.php?page=wooLiveSaleAdminMainPage | 3.21 | 32.77 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 84 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_woo_live_notify |
New WordPress options |
---|
theysaidso_admin_options |
test_db_version |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Woo Live Sale Notify | Live Sale Popup (Boost Your Sale)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲83 | 13.87 ▼0.68 | 2.34 ▲0.15 | 42.57 ▼5.48 |
Dashboard /wp-admin | 2,234 ▲43 | 5.12 ▲0.24 | 106.35 ▼0.17 | 39.98 ▼0.49 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.39 ▲0.36 | 39.93 ▼2.43 | 31.90 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.41 ▲0.03 | 659.10 ▼6.81 | 35.46 ▼21.80 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.52 ▲0.31 | 95.88 ▼2.17 | 40.73 ▼2.63 |
Woo Live Sale Notify /wp-admin/options-general.php?page=wooLiveSaleAdminMainPage | 1,364 | 2.87 | 54.29 | 50.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- test_db_version
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-live-sale-notify/admin/func.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-live-sale-notify/admin/func.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in woo-live-sale-notify/assets to your readme.txt
woo-live-sale-notify/index.php 92% from 13 tests
"Woo Live Sale Notify | Live Sale Popup (Boost Your Sale)" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-live-sale-notify.php" instead of "index.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
No dangerous file extensions were detected20,863 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 649 | 53 | 8,847 |
SVG | 2 | 0 | 0 | 3,356 |
Sass | 16 | 38 | 37 | 3,238 |
LESS | 16 | 38 | 49 | 3,226 |
PHP | 3 | 204 | 94 | 1,632 |
JavaScript | 3 | 105 | 74 | 564 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin