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.07MB] [CPU: ▼5.51ms] Passed 4 tests
Server-side resources used by Reviews Easy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 49.94 ▲4.49 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.24 ▼0.65 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 49.46 ▲0.16 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.91 ▼18.27 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.78 ▼3.28 |
Add New /wp-admin/post-new.php?post_type=reviews | 3.41 | 47.19 |
Reviews /wp-admin/edit.php?post_type=reviews | 3.34 | 36.96 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_easyreviews |
Browser metrics Passed 4 tests
A check of browser resources used by Reviews Easy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 13.52 ▼1.05 | 9.70 ▲7.95 | 42.21 ▼0.79 |
Dashboard /wp-admin | 2,227 ▲53 | 5.62 ▼0.05 | 84.74 ▼12.82 | 38.85 ▼8.15 |
Posts /wp-admin/edit.php | 2,143 ▲46 | 2.22 ▲0.22 | 33.38 ▼4.70 | 34.10 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 18.20 ▼4.88 | 598.48 ▼49.60 | 60.92 ▼5.93 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.26 ▲0.03 | 93.79 ▼6.90 | 40.13 ▼7.66 |
Add New /wp-admin/post-new.php?post_type=reviews | 2,193 | 7.49 | 174.75 | 62.78 |
Reviews /wp-admin/edit.php?post_type=reviews | 1,113 | 2.15 | 31.23 | 27.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_easyreviews
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/reviewseasy/reviews-easy.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/reviewseasy/single-reviews.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/reviewseasy/reviews_widget_template.php:12
- > 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=reviews
- > Network (severe)
wp-content/plugins/reviewseasy/js/upload-media.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: Please add images for these screenshots: #1 (Widget with jcarousel of review posts), #2 (Add review post), #3 (List of reviews posts)
reviewseasy/reviews-easy.php 92% from 13 tests
The entry point to "Reviews Easy" version 1.0.8 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("reviewseasy.php" instead of "reviews-easy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected479 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 59 | 24 | 235 |
CSS | 2 | 13 | 24 | 158 |
PO File | 1 | 13 | 13 | 52 |
JavaScript | 2 | 2 | 7 | 34 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 173.29KB | 70.32KB | ▼ 59.42% |