Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.21ms] Passed 4 tests
An overview of server-side resources used by Reviewdrop for Wordpress - Invite users to review with Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.84 ▲1.82 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.88 ▼16.95 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.60 ▼6.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.51 ▼10.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.02 ▲1.06 |
Reviewdrop /wp-admin/options-general.php?page=reviewdrop | 3.19 | 37.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Reviewdrop for Wordpress - Invite users to review with Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.28 ▼0.39 | 1.85 ▲0.01 | 46.75 ▲7.54 |
Dashboard /wp-admin | 2,206 ▲28 | 5.62 ▼0.07 | 86.30 ▼23.61 | 38.26 ▼2.73 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.02 | 33.51 ▼7.49 | 36.86 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 22.98 ▼0.14 | 643.70 ▼53.80 | 55.98 ▼7.46 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▲0.03 | 98.12 ▼8.68 | 46.15 ▲2.33 |
Reviewdrop /wp-admin/options-general.php?page=reviewdrop | 1,078 | 2.12 | 22.98 | 28.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 24 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=reviewdrop
- > Notice in wp-content/plugins/reviewdrop/admin/class-reviewdrop-admin.php+344
Trying to access array offset on value of type bool
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/reviewdrop/admin/partials/reviewdrop-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reviewdrop/admin/class-reviewdrop-admin.php:107
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
reviewdrop/reviewdrop.php Passed 13 tests
The principal PHP file in "Reviewdrop for Wordpress - Invite users to review with Woocommerce" v. 1.8.0 is loaded by WordPress automatically on each request
53 characters long description:
Add business reviews to your website with Reviewdrop.
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
There were no executable files found in this plugin439 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 193 | 483 | 436 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 16 | 76.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 23.81% |
Functions | 20 | |
▷ Named functions | 20 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected