Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼4.36ms] Passed 4 tests
A check of server-side resources used by Verified Reviews (Avis Vérifiés)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 53.76 ▲16.15 |
Dashboard /wp-admin | 3.67 ▲0.33 | 47.65 ▼9.79 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 46.45 ▼3.73 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 81.85 ▼12.54 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 43.77 ▲8.63 |
Server storage [IO: ▲3.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 97 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_netreviews_configuration |
wp_netreviews_products_average |
wp_netreviews_products_reviews |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Verified Reviews (Avis Vérifiés): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.39 ▲0.05 | 1.86 ▲0.21 | 42.55 ▲1.62 |
Dashboard /wp-admin | 2,206 ▲29 | 5.67 ▲0.14 | 80.00 ▼6.43 | 78.61 ▲38.86 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.13 ▲0.16 | 32.58 ▼1.05 | 34.55 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,690 ▲162 | 22.04 ▼1.19 | 757.44 ▲61.09 | 54.97 ▼3.10 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.31 ▲0.14 | 96.36 ▼2.55 | 66.47 ▲22.38 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/netreviews/includes/templates/templateV2.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_id() on null in wp-content/plugins/netreviews/includes/starsProduct.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/netreviews/includes/templates/templateV1.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function ntav_getWpmlEnable() in wp-content/plugins/netreviews/includes/review_Pagination.php:3
- > 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 errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Product reviews display / Encart des avis produits) image not found
- Tags: You are using too many tags: 11 tag instead of maximum 10
netreviews/netreviews.php 85% from 13 tests
Analyzing the main PHP file in "Verified Reviews (Avis Vérifiés)" version 2.3.15
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages/")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected23,349 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 534 | 159 | 11,595 |
JavaScript | 19 | 1,025 | 602 | 4,977 |
PHP | 9 | 505 | 483 | 4,616 |
PO File | 8 | 714 | 809 | 1,857 |
SVG | 2 | 0 | 0 | 304 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 116 | |
▷ Named functions | 116 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
18 compressed PNG files occupy 0.73MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/Sceau_100_de.png | 6.31KB | 6.45KB | 0.00% |
includes/images/logo_full_de.png | 11.38KB | 11.74KB | 0.00% |
includes/images/logo_full_pt.png | 7.39KB | 7.59KB | 0.00% |
includes/images/Sceau_100_es.png | 6.27KB | 6.35KB | 0.00% |
includes/images/logo_full_gb.png | 11.63KB | 12.06KB | 0.00% |