Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.84ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Google Maps | by imbaa
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.01 ▲1.65 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.82 ▼1.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.31 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.88 ▼16.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.94 ▼0.45 |
Responsive Google Maps /wp-admin/options-general.php?page=responsive_gm_settings | 3.22 | 30.05 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Google Maps | by imbaa
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.48 ▼0.21 | 1.76 ▼0.03 | 43.26 ▲2.59 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼1.01 | 99.70 ▼6.01 | 37.35 ▼2.21 |
Posts /wp-admin/edit.php | 2,090 ▲22 | 2.01 ▼0.05 | 35.27 ▲1.45 | 33.39 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.34 ▲5.08 | 655.66 ▲57.86 | 50.04 ▼5.66 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.24 ▼0.17 | 99.95 ▲1.17 | 42.56 ▲0.12 |
Responsive Google Maps /wp-admin/options-general.php?page=responsive_gm_settings | 784 | 2.03 | 25.15 | 23.87 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/responsive-google-maps/responsive_google_maps.php
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== responsive-google-maps ===
)
responsive-google-maps/responsive_google_maps.php 92% from 13 tests
The entry point to "Responsive Google Maps | by imbaa" version 1.2.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("responsive-google-maps.php" instead of "responsive_google_maps.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin264 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 111 | 7 | 124 |
PHP | 1 | 83 | 24 | 112 |
CSS | 1 | 5 | 0 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected