Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.87ms] Passed 4 tests
Analyzing server-side resources used by Automatic Update Google Business Profile Reviews
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.48 ▲2.37 |
Dashboard /wp-admin | 3.36 ▲0.01 | 43.84 ▼18.95 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.40 ▲2.30 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.39 ▼8.21 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 31.91 ▼6.60 |
Google My Business Rating /wp-admin/options-general.php?page=gmb_rating | 3.25 | 34.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 12 new options
New WordPress options |
---|
gmb_rating_api_key |
widget_recent-posts |
gmb_rating_place_id |
gmb_rating_url |
gmb_ratings_total |
gmb_rating_api_error |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Automatic Update Google Business Profile Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.40 ▲0.04 | 2.19 ▲0.35 | 43.32 ▲6.66 |
Dashboard /wp-admin | 2,209 ▲32 | 5.55 ▲0.00 | 83.89 ▼4.25 | 38.17 ▼3.57 |
Posts /wp-admin/edit.php | 2,123 ▲26 | 1.98 ▲0.01 | 41.56 ▲6.57 | 40.89 ▲7.63 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 18.26 ▼4.96 | 640.36 ▼60.84 | 69.16 ▲14.74 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.22 ▲0.00 | 97.28 ▼7.78 | 43.63 ▲0.96 |
Google My Business Rating /wp-admin/options-general.php?page=gmb_rating | 854 | 2.17 | 23.60 | 27.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/automatic-update-google-business-profile-reviews/google-my-business-rating.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
No tags were found
automatic-update-google-business-profile-reviews/google-my-business-rating.php 92% from 13 tests
Analyzing the main PHP file in "Automatic Update Google Business Profile Reviews" version 0.2.1
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("automatic-update-google-business-profile-reviews.php" instead of "google-my-business-rating.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin296 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 53 | 35 | 296 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 13 | |
▷ Named functions | 13 | 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
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/googlelogo_color_272x92dp.png | 5.83KB | 4.12KB | ▼ 29.30% |