Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.15MB] [CPU: ▲2.12ms] Passed 4 tests
Server-side resources used by WordPress Review Plugin: The Ultimate Solution for Building a Review Website
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.63 ▲1.17 | 52.47 ▼2.45 |
Dashboard /wp-admin | 4.46 ▲1.11 | 60.87 ▼3.87 |
Posts /wp-admin/edit.php | 4.53 ▲1.17 | 56.92 ▲5.91 |
Add New Post /wp-admin/post-new.php | 7.18 ▲1.30 | 114.60 ▲28.91 |
Media Library /wp-admin/upload.php | 4.37 ▲1.15 | 49.03 ▲8.87 |
Server storage [IO: ▲4.50MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 106 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_wp_review_tab_widget |
theysaidso_admin_options |
wp_review_compatibility |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
WordPress Review Plugin: The Ultimate Solution for Building a Review Website: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲132 | 13.52 ▼1.06 | 10.74 ▲8.72 | 37.79 ▼5.91 |
Dashboard /wp-admin | 2,207 ▲32 | 5.61 ▼0.12 | 88.19 ▼18.91 | 39.45 ▼2.71 |
Posts /wp-admin/edit.php | 2,212 ▲112 | 2.38 ▲0.36 | 48.72 ▲13.98 | 53.42 ▲17.62 |
Add New Post /wp-admin/post-new.php | 7,523 ▲5,997 | 22.15 ▼1.00 | 816.13 ▲153.68 | 38.32 ▼17.09 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.26 ▲0.07 | 99.83 ▼0.70 | 43.29 ▼1.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_wp_review_tab_widget
- wp_review_compatibility
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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 no errors were found, 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
- 34× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-importer.php): failed to open stream: No such file or directory in wp-content/plugins/wp-review/admin/demo-importer/class-wp-import.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-review/includes/comments.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-review/admin/metaboxes.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-review/admin/admin.php:131
- > PHP Warning
Use of undefined constant WP_REVIEW_ADMIN - assumed 'WP_REVIEW_ADMIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-review/admin/demo-importer.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-review/admin/class-wpr-review-notice.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-review/includes/widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_editable_roles() in wp-content/plugins/wp-review/admin/options/role-manager.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-review/admin/options/yelp.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-review/admin/options/popup.php:11
- > PHP Warning
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: product review, schema, schemaorg, rating, user rating...
wp-review/wp-review.php Passed 13 tests
"WordPress Review Plugin: The Ultimate Solution for Building a Review Website" version 5.3.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
134 characters long description:
Create reviews! Choose from stars, percentages or points for review scores. Supports Retina Display, WPMU and Unlimited Color Schemes.
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 plugin25,988 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,690 | 2,540 | 12,513 |
XML | 1 | 8 | 16 | 7,100 |
SVG | 3 | 0 | 1 | 2,700 |
CSS | 7 | 308 | 68 | 2,109 |
JavaScript | 15 | 250 | 118 | 1,566 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 34.82 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 5.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 96.05% |
▷ Protected methods | 2 | 2.63% |
▷ Private methods | 1 | 1.32% |
Functions | 220 | |
▷ Named functions | 215 | 97.73% |
▷ Anonymous functions | 5 | 2.27% |
Constants | 19 | |
▷ Global constants | 19 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/largethumb.png | 1.00KB | 1.18KB | 0.00% |
public/images/smallthumb.png | 0.32KB | 0.40KB | 0.00% |