89% msd-google-reviews

Code Review | MSD Google Review

WordPress plugin MSD Google Review scored89%from 54 tests.

About plugin

  • Plugin page: msd-google-reviews
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-5.0.3
  • WordPress version: 6.3.1
  • First release: Jan 27, 2019
  • Latest release: Jan 27, 2019
  • Number of updates: 25
  • Update frequency: N/A
  • Top authors: akhilnatural (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /3,085 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.51ms] Passed 4 tests

Analyzing server-side resources used by MSD Google Review
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0144.39 ▼4.39
Dashboard /wp-admin3.33 ▲0.0250.36 ▼5.50
Posts /wp-admin/edit.php3.38 ▲0.0254.08 ▲0.95
Add New Post /wp-admin/post-new.php5.91 ▲0.02105.66 ▼5.10
Media Library /wp-admin/upload.php3.25 ▲0.0241.58 ▲3.84
Google Review Settings /wp-admin/options-general.php?page=msd-gr-plugin3.2234.79

Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for MSD Google Review
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,851 ▲9013.81 ▼0.6026.08 ▲24.1841.20 ▼4.92
Dashboard /wp-admin2,199 ▲225.65 ▼0.0487.78 ▼10.5238.78 ▼10.74
Posts /wp-admin/edit.php2,101 ▲11.99 ▼0.0038.69 ▼0.3935.11 ▼2.52
Add New Post /wp-admin/post-new.php1,541 ▲1522.97 ▼0.14688.15 ▲67.3256.53 ▲3.55
Media Library /wp-admin/upload.php1,407 ▲44.15 ▼0.03111.68 ▲8.9748.40 ▲4.15
Google Review Settings /wp-admin/options-general.php?page=msd-gr-plugin8172.0325.3829.02

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
5 plugin tags: review, ratings, google, google ratings, google review

msd-google-reviews/msd-google-reviews.php 85% from 13 tests

"MSD Google Review" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Domain Path: The domain path folder does not exist ("/languages")

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 plugin118 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP33620118

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.06
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png17.16KB7.45KB▼ 56.58%
screenshot-2.png41.89KB15.90KB▼ 62.05%
screenshot-1.png11.80KB4.87KB▼ 58.78%