Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.39ms] Passed 4 tests
Analyzing server-side resources used by Exit Intent Visitors Feedback
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.02 ▲0.68 |
Dashboard /wp-admin | 3.51 ▲0.20 | 51.77 ▲2.68 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 65.28 ▲14.39 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 90.29 ▲1.61 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 43.37 ▼6.54 |
Feedbacks /wp-admin/admin.php?page=vstr-feedbacks | 3.34 | 35.51 |
Design /wp-admin/admin.php?page=visitor-feedback-settings | 3.34 | 34.31 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 43 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_vstr_visitor_feedbacks |
New WordPress options |
---|
vstr_visitor_feedbacks_database_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Exit Intent Visitors Feedback
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲280 | 21.73 ▲7.37 | 31.62 ▲29.65 | 40.00 ▼7.15 |
Dashboard /wp-admin | 2,310 ▲133 | 10.27 ▲4.64 | 261.23 ▲168.62 | 42.92 ▲0.72 |
Posts /wp-admin/edit.php | 2,236 ▲136 | 9.24 ▲7.23 | 96.78 ▲56.51 | 36.35 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,715 ▲187 | 23.17 ▲0.15 | 567.83 ▼104.70 | 36.34 ▼24.54 |
Media Library /wp-admin/upload.php | 1,601 ▲198 | 11.85 ▲7.69 | 141.58 ▲27.64 | 45.43 ▼6.63 |
Feedbacks /wp-admin/admin.php?page=vstr-feedbacks | 941 | 9.31 | 96.96 | 29.04 |
Design /wp-admin/admin.php?page=visitor-feedback-settings | 1,187 | 11.03 | 134.01 | 40.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_vstr_visitor_feedbacks
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- vstr_visitor_feedbacks_database_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=visitor-feedback-settings
- > Console-api (severe) in wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff+1:19276
Store \"visitor-feedback\" is already registered.
- > GET request to /wp-admin/admin.php?page=visitor-feedback-settings
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
`position` prop in wp.components.Dropdown is deprecated since version 6.2. Please use `popoverProps.placement` prop instead. Note: Note that the `position` prop will override any values passed through the `popoverProps.placement` prop.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Requires at least: Version format is invalid
visitors-feedback/visitor-feedback.php 85% from 13 tests
The main PHP script in "Exit Intent Visitors Feedback" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- 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
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("visitors-feedback.php" instead of "visitor-feedback.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin865 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 182 | 311 | 712 |
PO File | 2 | 52 | 97 | 130 |
JSON | 3 | 0 | 0 | 17 |
CSS | 3 | 0 | 3 | 3 |
JavaScript | 3 | 0 | 3 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 11 | 16.67% |
▷ Public methods | 63 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.55% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected