Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/wiser-notify/Wiser.php+606
Undefined index: HTTP_X_FORWARDED
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.80ms] Passed 4 tests
A check of server-side resources used by WiserNotify Social Proof & FOMO Notification, WooCommerce Sales Popup, Review Popups, Notification Bars & Urgency Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.66 ▲3.03 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.36 ▲2.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.89 ▲2.89 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.50 ▼5.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.85 ▼2.76 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WiserNotify Social Proof & FOMO Notification, WooCommerce Sales Popup, Review Popups, Notification Bars & Urgency Widgets: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲193 | 13.62 ▼0.76 | 5.96 ▲4.29 | 48.00 ▲7.83 |
Dashboard /wp-admin | 2,215 ▲30 | 5.86 ▼0.19 | 100.26 ▼3.29 | 102.89 ▲61.44 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.03 ▼0.03 | 35.20 ▼2.63 | 52.26 ▲20.43 |
Add New Post /wp-admin/post-new.php | 1,691 ▲159 | 22.33 ▼0.73 | 675.21 ▲15.47 | 52.37 ▼0.79 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.23 ▲0.06 | 103.31 ▲7.37 | 88.86 ▲42.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wiser-notify/Wiser.php+606
Undefined index: HTTP_X_FORWARDED
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wiser-notify/Wiser.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: urgency popup, notification, fomo, recent sales, sales popup...
wiser-notify/Wiser.php 85% from 13 tests
"WiserNotify Social Proof & FOMO Notification, WooCommerce Sales Popup, Review Popups, Notification Bars & Urgency Widgets" version 2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 341 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wiser-notify.php" instead of "Wiser.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,125 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 29 | 719 |
CSS | 2 | 7 | 24 | 360 |
JavaScript | 2 | 4 | 12 | 46 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wiser-notifly1.png | 7.02KB | 4.86KB | ▼ 30.73% |
assets/images/wiser-notifly.png | 7.10KB | 3.35KB | ▼ 52.87% |
assets/images/wiser-notifly-favi1.png | 0.67KB | 0.62KB | ▼ 7.16% |
assets/images/wiser-notifly-favi.png | 0.45KB | 0.36KB | ▼ 20.13% |