Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.92ms] Passed 4 tests
An overview of server-side resources used by Nueve Solutions - Google Places Reviews
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.38 ▲1.39 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.13 ▼18.89 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.46 ▼1.83 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.76 ▼15.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.09 ▲0.39 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_Google_Reviews_On_Pages |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Nueve Solutions - Google Places Reviews
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.56 ▼0.74 | 2.31 ▲0.73 | 43.95 ▲2.67 |
Dashboard /wp-admin | 2,237 ▲30 | 4.85 ▼0.10 | 102.05 ▼18.44 | 40.98 ▼4.98 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▼0.00 | 36.88 ▲0.26 | 31.44 ▼8.04 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.17 ▲5.71 | 689.81 ▲4.84 | 60.28 ▼3.33 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.26 ▲0.02 | 98.75 ▼8.33 | 43.31 ▲0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (plugin_backend1.png), #2 (This is the second screen shot)
nueve-solutions-google-places-reviews/NueveSolutions-GooglePlacesReview.php 92% from 13 tests
This is the main PHP file of "Nueve Solutions - Google Places Reviews" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nueve-solutions-google-places-reviews.php" instead of "NueveSolutions-GooglePlacesReview.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected314 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 28 | 19 | 189 |
CSS | 1 | 5 | 2 | 125 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/5stars.png | 2.37KB | 1.15KB | ▼ 51.52% |
images/4.9stars.png | 5.83KB | 3.52KB | ▼ 39.65% |
images/3stars.png | 2.44KB | 0.96KB | ▼ 60.75% |
images/2stars.png | 2.28KB | 0.68KB | ▼ 70.28% |
images/4.6stars.png | 5.77KB | 3.62KB | ▼ 37.26% |