Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.26MB] [CPU: ▼6.37ms] Passed 4 tests
This is a short check of server-side resources used by Faview - Virtual Reviews for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 44.20 ▼2.64 |
Dashboard /wp-admin | 3.56 ▲0.26 | 49.79 ▼2.13 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 48.83 ▼3.04 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 87.15 ▼17.65 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 38.76 ▲3.56 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
wvr_data |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Faview - Virtual Reviews for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.73 ▲0.14 | 1.75 ▲0.10 | 44.90 ▲0.25 |
Dashboard /wp-admin | 2,200 ▲23 | 5.70 ▲0.14 | 91.29 ▼2.16 | 39.40 ▼6.57 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.98 ▲0.01 | 39.14 ▼0.88 | 36.38 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 18.10 ▼4.96 | 656.89 ▲29.51 | 74.85 ▲5.16 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.21 ▲0.06 | 96.17 ▼3.32 | 43.00 ▼3.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- wvr_data
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (General settings), #2 (Auto generate reviews), #3 (Add reviews manual), #4 (Show canned)
woo-virtual-reviews/woo-virtual-reviews.php Passed 13 tests
The entry point to "Faview - Virtual Reviews for WooCommerce" version 1.2.14 is a PHP file that has certain tags in its header comment area
109 characters long description:
WooCommerce Virtual Reviews creates virtual reviews, display canned reviews to increase your conversion rate.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin10,447 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,162 | 387 | 4,586 |
PHP | 9 | 404 | 139 | 2,587 |
SVG | 6 | 0 | 8 | 2,120 |
CSS | 16 | 145 | 80 | 946 |
PO File | 1 | 84 | 111 | 208 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 35.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 9 | 10.23% |
▷ Public methods | 81 | 92.05% |
▷ Protected methods | 2 | 2.27% |
▷ Private methods | 5 | 5.68% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected