Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.23MB] [CPU: ▼299.18ms] Passed 4 tests
Analyzing server-side resources used by Google Map for Gutenberg Block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.07 | 56.78 ▲7.01 |
Dashboard /wp-admin | 3.44 ▲0.02 | 33.18 ▼0.06 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 37.22 ▼0.20 |
Add New Post /wp-admin/post-new.php | 5.98 ▼0.99 | 59.20 ▼1,198.46 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 25.34 ▲2.02 |
Google Map /wp-admin/tools.php?page=google_map | 3.29 | 22.39 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Google Map for Gutenberg Block: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,065 ▲321 | 22.44 ▲6.44 | 172.46 ▲166.43 | 2.76 ▲0.52 |
Dashboard /wp-admin | 2,894 ▲36 | 5.95 ▼0.22 | 112.69 ▼26.57 | 156.82 ▼4.76 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.22 ▼0.01 | 63.83 ▼3.94 | 143.67 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,777 ▲116 | 23.14 ▲7.08 | 416.00 ▼26.32 | 189.95 ▲27.93 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.52 ▼0.00 | 142.53 ▼2.46 | 188.35 ▲2.12 |
Google Map /wp-admin/tools.php?page=google_map | 1,013 | 2.37 | 53.51 | 146.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
idb-google-map-gutenberg/idb-google-map-gutenberg.php Passed 13 tests
The principal PHP file in "Google Map for Gutenberg Block" v. 1.0.0 is loaded by WordPress automatically on each request
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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin159 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
This plugin's cyclomatic complexity and code structure detailed below
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin