Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.50ms] Passed 4 tests
This is a short check of server-side resources used by Site Editor Google Map - with drag and drop
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.36 ▲2.23 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.09 ▼16.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.41 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.62 ▼16.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.34 ▼0.28 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Site Editor Google Map - with drag and drop
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.75 ▲0.38 | 2.06 ▼0.70 | 44.24 ▼1.26 |
Dashboard /wp-admin | 2,224 ▲18 | 4.84 ▼0.02 | 110.68 ▲10.55 | 43.12 ▼3.81 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.04 | 33.85 ▼2.54 | 35.19 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,546 ▲1 | 23.32 ▼0.03 | 674.52 ▲10.59 | 70.78 ▲13.50 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.03 | 96.29 ▼8.59 | 41.34 ▼5.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php
- > /wp-content/plugins/site-editor-google-map/modules/google-map/skins/default/sed_google_map.php
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: sed_attrs in wp-content/plugins/site-editor-google-map/modules/google-map/skins/default/sed_google_map.php on line 1
- > PHP Notice
Undefined variable: class in wp-content/plugins/site-editor-google-map/modules/google-map/skins/default/sed_google_map.php on line 1
- > PHP Notice
Undefined variable: panControl in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 128
- > PHP Notice
Undefined index: api_key in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 66
- > PHP Notice
Undefined variable: type in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 131
- > PHP Notice
Undefined variable: id in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 104
- > PHP Notice
Undefined variable: zoom in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 123
- > PHP Notice
Undefined variable: overlayColor in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 116
- > PHP Notice
Undefined variable: description in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 93
- > PHP Notice
Undefined variable: moduleUrl in wp-content/plugins/site-editor-google-map/modules/google-map/sed-gmap-custom.php on line 68
- > PHP Notice
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 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots need descriptions #3, #4 in site-editor-google-map/assets to your readme.txt
- Tags: You are using too many tags: 15 tag instead of maximum 10
site-editor-google-map/site-editor-google-map.php Passed 13 tests
The main PHP script in "Site Editor Google Map - with drag and drop" version 1.0.1 is automatically included on every request by WordPress
76 characters long description:
Site Editor Google Map added simple google map to your site with site editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,084 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 239 | 20 | 1,619 |
PHP | 5 | 121 | 68 | 408 |
Markdown | 1 | 30 | 0 | 57 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected