Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼6.29ms] Passed 4 tests
Server-side resources used by Simple Shortcode for Google Maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 41.12 ▼0.11 |
Dashboard /wp-admin | 3.54 ▲0.24 | 48.65 ▲0.78 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 48.94 ▼1.88 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 86.53 ▼23.93 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 40.90 ▲6.92 |
Simple Google Maps /wp-admin/options-general.php?page=simple-google-maps-settings | 3.43 | 32.80 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
simple-google-maps-short-code_review |
widget_theysaidso_widget |
widget_recent-comments |
simple-google-maps-short-code_donate |
Browser metrics Passed 4 tests
Simple Shortcode for Google Maps: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.24 ▼1.14 | 1.70 ▲0.03 | 39.42 ▼8.42 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.95 | 102.19 ▼2.87 | 39.03 ▼6.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.03 | 35.68 ▼4.89 | 32.43 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.25 ▼0.06 | 664.82 ▲23.88 | 70.65 ▲17.06 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.21 ▼0.01 | 97.00 ▼3.09 | 43.15 ▲0.19 |
Simple Google Maps /wp-admin/options-general.php?page=simple-google-maps-settings | 1,009 | 2.03 | 29.92 | 30.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
simple-google-maps-short-code/simple-google-map-short-code.php 85% from 13 tests
"Simple Shortcode for Google Maps" version 1.5.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-google-maps-short-code.php" instead of "simple-google-map-short-code.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,849 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 240 | 633 | 1,376 |
JSON | 2 | 0 | 0 | 176 |
PO File | 2 | 44 | 48 | 176 |
JavaScript | 4 | 15 | 70 | 66 |
SVG | 1 | 1 | 1 | 36 |
Sass | 2 | 2 | 0 | 19 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 19 | 30.16% |
▷ Public methods | 57 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.52% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.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
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.18MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/alanef/plugindonation_lib/images/logos/PPcards.png | 5.42KB | 5.35KB | ▼ 1.15% |
vendor/alanef/plugindonation_lib/images/QRcodes/ETH.png | 7.39KB | 1.74KB | ▼ 76.47% |
vendor/alanef/plugindonation_lib/images/logos/reviews.png | 1.46KB | 1.28KB | ▼ 12.42% |
vendor/alanef/plugindonation_lib/images/logos/translate.png | 32.90KB | 12.18KB | ▼ 62.98% |
vendor/alanef/plugindonation_lib/images/logos/PP.png | 3.65KB | 2.93KB | ▼ 19.63% |