Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.69ms] Passed 4 tests
A check of server-side resources used by Online Buyer Survey by Bizrate Insights
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.00 ▼7.38 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.93 ▲0.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.70 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.53 ▲3.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.80 ▼2.07 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Online Buyer Survey by Bizrate Insights
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 13.27 ▼1.11 | 1.59 ▼0.93 | 42.05 ▲0.32 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.05 | 108.70 ▲6.21 | 37.63 ▼3.33 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.04 | 39.58 ▲4.19 | 35.31 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,540 ▲3 | 23.11 ▼0.03 | 648.39 ▼48.35 | 51.85 ▼14.69 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▲0.02 | 99.63 ▼1.22 | 43.17 ▲0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Online Buyer Survey invitation)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
bizrate-insights-for-woocommerce/online-buyer-survey-by-bizrate-insights.php 69% from 13 tests
The entry point to "Online Buyer Survey by Bizrate Insights" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.0")
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bizrate-insights-for-woocommerce.php" instead of "online-buyer-survey-by-bizrate-insights.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin367 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 149 | 367 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 3 | 11.54% |
▷ Public methods | 15 | 57.69% |
▷ Protected methods | 2 | 7.69% |
▷ Private methods | 9 | 34.62% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin