Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.09ms] Passed 4 tests
Server-side resources used by Multiple Place Google Review
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.80 ▲0.16 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.68 ▲0.64 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.13 ▼7.51 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.37 ▼9.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.49 ▲3.38 |
Multiple Place Google Review /wp-admin/admin.php?page=multipleGoogleReview | 3.25 | 31.08 |
Add google place review to post /wp-admin/admin.php?page=mpgr_addnewentry | 3.26 | 32.46 |
All post google review /wp-admin/admin.php?page=mpgr_allentries | 3.26 | 32.14 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_google_review |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple Place Google Review
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.19 ▼1.25 | 1.67 ▼0.05 | 40.41 ▲1.11 |
Dashboard /wp-admin | 2,240 ▲52 | 4.83 ▼0.24 | 99.65 ▼5.42 | 39.84 ▼3.51 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 1.99 ▼0.05 | 36.39 ▼4.87 | 33.79 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,575 ▲61 | 18.04 ▲0.54 | 583.23 ▼4.88 | 59.46 ▲12.39 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.22 ▲0.04 | 98.21 ▲1.11 | 42.31 ▲0.85 |
Multiple Place Google Review /wp-admin/admin.php?page=multipleGoogleReview | 863 | 2.06 | 23.54 | 29.54 |
Add google place review to post /wp-admin/admin.php?page=mpgr_addnewentry | 1,009 | 2.02 | 26.42 | 33.73 |
All post google review /wp-admin/admin.php?page=mpgr_allentries | 803 | 2.05 | 24.70 | 27.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 1 table in the database
- wp_google_review
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% 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)
Good news, no errors were detected
SRP 50% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/multiple-google-review/setting.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=mpgr_addnewentry
- > Network (severe)
wp-content/plugins/multiple-google-review/img/search.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=mpgr_addnewentry
- > Network (severe)
wp-content/plugins/multiple-google-review/img/inspect.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=mpgr_addnewentry
- > Network (severe)
wp-content/plugins/multiple-google-review/img/place_id.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=mpgr_addnewentry
- > Network (severe)
wp-content/plugins/multiple-google-review/img/post_id.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=mpgr_addnewentry
- > Network (severe)
wp-content/plugins/multiple-google-review/img/post_edit.jpg - 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Google Reviews under each post)
multiple-google-review/multipleGoogleReview.php 92% from 13 tests
The principal PHP file in "Multiple Place Google Review" v. 1.4.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("multiple-google-review.php" instead of "multipleGoogleReview.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin503 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 26 | 462 |
Markdown | 1 | 20 | 0 | 36 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected