Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.91ms] Passed 4 tests
Server-side resources used by CDS Google Maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.22 ▼1.73 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.51 ▼5.46 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.45 ▲4.12 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 106.49 ▲7.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.59 ▼0.55 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CDS Google Maps
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲93 | 17.24 ▲2.86 | 14.43 ▲12.01 | 39.66 ▼10.40 |
Dashboard /wp-admin | 2,251 ▲63 | 7.46 ▲1.65 | 148.82 ▲32.77 | 42.87 ▼3.38 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 4.45 ▲2.43 | 63.30 ▲28.94 | 38.69 ▲4.57 |
Add New Post /wp-admin/post-new.php | 6,440 ▲4,926 | 24.98 ▲7.48 | 901.19 ▲212.35 | 42.35 ▼8.76 |
Media Library /wp-admin/upload.php | 1,433 ▲48 | 6.42 ▲2.25 | 130.99 ▲30.18 | 40.96 ▼0.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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cds-maps-wp/assets/include/short.php
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 7
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cds-maps-wp/assets/include/meta_box_maps_wp.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 9
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 18
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 22
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 7
- > PHP Notice
Undefined variable: a in wp-content/plugins/cds-maps-wp/assets/include/short.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in cds-maps-wp/assets to your readme.txt
cds-maps-wp/cds-maps-wp.php Passed 13 tests
The main PHP script in "CDS Google Maps" version 1.0 is automatically included on every request by WordPress
33 characters long description:
Custom Google Maps for WordPress.
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
Good job! No executable or dangerous file extensions detected1,562 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 29 | 12 | 1,281 |
CSS | 1 | 33 | 0 | 187 |
JavaScript | 1 | 19 | 0 | 94 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 5 | |
▷ Global constants | 5 | 100.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
PNG images were not found in this plugin