Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.27ms] Passed 4 tests
An overview of server-side resources used by WebEngage Feedback, Survey and Notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.61 ▼3.81 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.76 ▼0.35 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.18 ▼2.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 100.97 ▼2.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.49 ▲0.23 |
WebEngage /wp-admin/options-general.php?page=webengage | 3.20 | 32.92 |
Server storage [IO: ▲1.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
webengage_redirect_on_first_activation |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WebEngage Feedback, Survey and Notification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.30 ▼0.88 | 1.91 ▼0.01 | 43.13 ▲2.26 |
Dashboard /wp-admin | 2,213 ▲25 | 4.89 ▼0.03 | 114.55 ▲7.34 | 44.27 ▲0.43 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▼0.02 | 35.63 ▼5.30 | 36.12 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.38 ▲5.13 | 675.77 ▲57.90 | 59.22 ▼0.86 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.07 | 97.79 ▼5.94 | 41.44 ▼4.22 |
WebEngage /wp-admin/options-general.php?page=webengage | 848 | 1.86 | 28.33 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=webengage
- > Notice in wp-content/plugins/webengage/options.php+19
Undefined index: weAction
- > GET request to /wp-admin/options-general.php?page=webengage
- > Notice in wp-content/plugins/webengage/renderer.php+28
Undefined index: message
- > GET request to /wp-admin/options-general.php?page=webengage
- > Notice in wp-content/plugins/webengage/renderer.php+33
Undefined index: error-message
SRP 0% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/webengage/callback.php
- > /wp-content/plugins/webengage/resize.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/webengage/renderer.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webengage/webengage.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webengage/options.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=webengage
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://webengage.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Feedback tab in action on a customer's website.), #2 (Short survey in action on a customer's website.), #3 (Fancy callout notification in action), #4 (Feedback inbox), #5 (Feedback thread submitted by a user.), #6 (Creating a notification using dashboard), #7 (Survey response overview screenshot), #8 (Creating a survey using dashboard)
- Tags: Please delete some tags, you are using 24 tag instead of maximum 10
webengage/webengage.php 92% from 13 tests
The main PHP file in "WebEngage Feedback, Survey and Notification" ver. 2.0.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 676 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin434 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 7 | 30 | 316 |
CSS | 1 | 22 | 1 | 118 |
PHP code Passed 2 tests
An overview 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.31 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 1.24MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 210.31KB | 107.13KB | ▼ 49.06% |
logo.png | 1.68KB | 1.57KB | ▼ 6.22% |
screenshot-5.png | 194.76KB | 88.81KB | ▼ 54.40% |
external.png | 0.16KB | 0.16KB | 0.00% |
screenshot-7.png | 150.42KB | 68.17KB | ▼ 54.68% |