Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.76ms] Passed 4 tests
Server-side resources used by Gosign - Google Maps Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.10 ▲1.58 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.27 ▲0.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.37 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.85 ▼0.04 | 95.24 ▼0.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.46 ▲8.10 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Gosign - Google Maps Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.98 ▼0.39 | 10.12 ▲8.48 | 43.62 ▼2.48 |
Dashboard /wp-admin | 2,209 ▲21 | 5.89 ▲1.01 | 94.27 ▼8.16 | 39.37 ▼0.84 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▲0.04 | 35.92 ▲1.01 | 31.89 ▼3.45 |
Add New Post /wp-admin/post-new.php | 6,429 ▲4,896 | 28.86 ▲5.54 | 842.69 ▲156.77 | 38.84 ▼13.88 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.29 ▲0.03 | 97.01 ▼3.43 | 39.28 ▼6.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
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 shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in gosign-google-maps-block/assets to your readme.txt
- Requires php: Invalid plugin version format
gosign-google-maps-block/gosign-googlemaps.php 92% from 13 tests
"Gosign - Google Maps Block" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("gosign-google-maps-block.php" instead of "gosign-googlemaps.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
There were no executable files found in this plugin291 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 146 | 161 |
Markdown | 1 | 25 | 0 | 91 |
SVG | 7 | 0 | 0 | 29 |
JavaScript | 4 | 0 | 31 | 7 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
blocks/googlemaps/styles/style-light.png | 3.91KB | 4.29KB | 0.00% |
blocks/googlemaps/styles/style-custom.png | 0.11KB | 0.11KB | 0.00% |
blocks/googlemaps/styles/style-dark.png | 3.66KB | 3.87KB | 0.00% |
blocks/googlemaps/styles/style-default.png | 7.58KB | 7.86KB | 0.00% |
blocks/googlemaps/styles/style-pale-dawn.png | 6.61KB | 6.89KB | 0.00% |