Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.33ms] Passed 4 tests
A check of server-side resources used by Eino Tuominen's google maps
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.02 ▼7.32 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.21 ▲2.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.02 ▼3.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 102.95 ▲10.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.43 ▲2.37 |
ET's Google Maps /wp-admin/options-general.php?page=etgm-options | 3.18 | 29.28 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eino Tuominen's google maps
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 14.03 ▼0.37 | 20.98 ▲19.08 | 39.51 ▼6.76 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼0.07 | 102.24 ▼2.58 | 37.85 ▼6.50 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▲0.02 | 33.05 ▼4.07 | 32.74 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.04 ▼0.23 | 570.55 ▼97.19 | 49.04 ▼11.14 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.09 | 97.66 ▼4.15 | 41.61 ▼3.19 |
ET's Google Maps /wp-admin/options-general.php?page=etgm-options | 833 | 2.44 | 48.74 | 27.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=etgm-options
- > Notice in wp-content/plugins/eino-tuominens-google-maps/eino-tuominen-google-maps.php+134
Trying to access array offset on value of type bool
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eino-tuominens-google-maps/eino-tuominen-google-maps.php:22
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=etgm-options
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?libraries=drawing&sensor=false&ver=6.3.1 213:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
- > GET request to /wp-admin/options-general.php?page=etgm-options
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?libraries=drawing&sensor=false&ver=6.3.1 142:311 "google.maps.event.addDomListener() is deprecated, use the standard\naddEventListener() method instead:\nhttps://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener\nThe feature will continue to work and there is no plan to decommission\nit."
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% 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
Please fix the following attributes:
- Donate link: Invalid url: ""
- Contributors: Please add at least on tag
- Contributors: Plugin contributors field is missing
eino-tuominens-google-maps/eino-tuominen-google-maps.php 85% from 13 tests
Analyzing the main PHP file in "Eino Tuominen's google maps" version 0.0 Alpha...
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eino-tuominens-google-maps.php" instead of "eino-tuominen-google-maps.php")
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "0.0 Alpha...")
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
Good job! No executable or dangerous file extensions detected467 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 183 | 21 | 335 |
PHP | 1 | 62 | 33 | 93 |
CSS | 1 | 7 | 1 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.95MB with 0.62MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 976.34KB | 338.83KB | ▼ 65.30% |