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.01MB] [CPU: ▼1.24ms] Passed 4 tests
Analyzing server-side resources used by Grid GoogleMaps Box
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.78 ▼0.77 |
Dashboard /wp-admin | 3.31 ▲0.02 | 45.38 ▼1.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.00 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.61 ▼2.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.25 ▲1.42 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Grid GoogleMaps Box: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.55 | 1.97 ▲0.15 | 44.07 ▼2.24 |
Dashboard /wp-admin | 2,206 ▲28 | 5.79 ▲0.86 | 101.12 ▼18.14 | 40.19 ▼4.38 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.03 | 34.95 ▼1.10 | 35.76 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.04 ▲4.71 | 635.46 ▲12.38 | 51.97 ▼4.59 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.26 ▲0.10 | 108.15 ▲8.44 | 49.84 ▲6.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: content in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 4
- > PHP Notice
Trying to get property 'lat' of non-object in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 4
- > PHP Notice
Undefined variable: content in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 3
- > PHP Notice
Trying to get property 'coordinates' of non-object in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 4
- > PHP Notice
Trying to get property 'lng' of non-object in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 3
- > PHP Notice
Trying to get property 'coordinates' of non-object in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps-editmode.tpl.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/grid-googlemaps-box/grid-gmaps-box.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/grid-googlemaps-box/templates/grid-box-gmaps.tpl.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: landingpage, grid, coorindates, maps
grid-googlemaps-box/grid-gmaps-box.php 92% from 13 tests
The entry point to "Grid GoogleMaps Box" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("grid-googlemaps-box.php" instead of "grid-gmaps-box.php")
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
Everything looks great! No dangerous files found in this plugin109 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 15 | 6 | 56 |
PHP | 3 | 7 | 16 | 41 |
Pascal | 1 | 5 | 21 | 6 |
CSS | 1 | 0 | 0 | 4 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin