Benchmarks
Plugin footprint 83% 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.26MB] [CPU: ▼16.58ms] Passed 4 tests
This is a short check of server-side resources used by Google Map for Gutenberg Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.70 ▲5.55 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.95 ▼17.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.76 ▼6.83 |
Add New Post /wp-admin/post-new.php | 4.82 ▼1.06 | 56.37 ▼41.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.82 ▼0.94 |
Google Map /wp-admin/tools.php?page=google_map | 3.22 | 31.43 |
Server storage [IO: ▲0.10MB] [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: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Google Map for Gutenberg Block: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,065 ▲304 | 23.19 ▲8.90 | 189.07 ▲187.31 | 38.19 ▼3.34 |
Dashboard /wp-admin | 2,225 ▲25 | 5.99 ▼0.03 | 86.59 ▼25.54 | 38.33 ▼6.58 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.05 | 39.69 ▼1.93 | 35.66 ▼2.85 |
Add New Post /wp-admin/post-new.php | 6,205 ▲4,674 | 19.68 ▼3.62 | 951.32 ▲267.42 | 40.73 ▼28.16 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.24 ▲0.03 | 97.29 ▼8.97 | 48.04 ▼0.95 |
Google Map /wp-admin/tools.php?page=google_map | 795 | 2.08 | 26.35 | 36.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
idb-google-map-gutenberg/idb-google-map-gutenberg.php Passed 13 tests
"Google Map for Gutenberg Block" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
72 characters long description:
Simple, draggable map block powered by Google Maps for Gutenberg editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected159 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 3 | 3 | 84 |
PHP | 1 | 11 | 73 | 64 |
CSS | 2 | 3 | 0 | 11 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin