Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.28ms] Passed 4 tests
Server-side resources used by Review Me Now
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.93 ▼11.75 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.13 ▼4.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.43 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 115.15 ▲14.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.78 ▲1.66 |
Review Me Now /wp-admin/options-general.php?page=reviewmenow | 3.20 | 32.20 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
reviewme_logo_display |
google_review_clientId |
theysaidso_admin_options |
google_placeId |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Review Me Now: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.48 ▲0.09 | 1.76 ▲0.07 | 66.41 ▲20.41 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.03 | 108.90 ▲5.80 | 40.93 ▼2.91 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.01 | 39.75 ▲2.26 | 33.43 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,549 ▲15 | 18.09 ▼5.19 | 596.83 ▼31.29 | 72.94 ▲4.70 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.03 | 94.06 ▼7.75 | 42.87 ▼0.42 |
Review Me Now /wp-admin/options-general.php?page=reviewmenow | 802 | 2.03 | 24.00 | 26.42 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× 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/reviewmenow/reviewmenow.php:26
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/reviewmenow/reviewmenow.php on line 24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: google business reviews, reviews, review me now
reviewmenow/reviewmenow.php Passed 13 tests
The main PHP file in "Review Me Now" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
how Google Places Reviews on your WordPress website which are register with http://reviewmenow.com
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
There were no executable files found in this plugin265 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 13 | 3 | 133 |
PHP | 1 | 34 | 27 | 132 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/reviewmenow.png | 5.95KB | 4.42KB | ▼ 25.71% |