Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.79MB] [CPU: ▼50.56ms] Passed 4 tests
Analyzing server-side resources used by Very Simple WP MakerMap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.27 | 4.96 ▼33.49 |
Dashboard /wp-admin | 2.22 ▼1.09 | 6.32 ▼43.44 |
Posts /wp-admin/edit.php | 2.22 ▼1.14 | 7.40 ▼39.04 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.67 | 8.02 ▼86.26 |
Media Library /wp-admin/upload.php | 2.22 ▼1.01 | 7.31 ▼24.54 |
VSWP Maker Map /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings | 2.22 | 6.42 |
Server storage [IO: ▲4.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Very Simple WP MakerMap
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲174 | 15.57 ▲0.78 | 17.19 ▲15.38 | 37.71 ▼3.64 |
Dashboard /wp-admin | 2,230 ▲39 | 6.27 ▲0.39 | 118.48 ▲14.88 | 41.97 ▼2.16 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.92 ▲0.88 | 51.39 ▲16.03 | 35.33 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,687 ▲154 | 23.10 ▲0.08 | 629.60 ▼9.41 | 35.99 ▼16.06 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 5.41 ▲1.22 | 109.10 ▲9.62 | 40.91 ▼2.61 |
VSWP Maker Map /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings | 968 | 2.63 | 38.90 | 29.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the vswpmm_ajax_map handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the vswpmm_ajax_map handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the vswpmm_ajax_map handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=very-simple-wp-maker-map-settings
- > Notice in wp-content/plugins/very-simple-wp-maker-map/shared/vswpmm-class-deserializer.php+30
Undefined variable: ouput
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: openlayers, marker, map
very-simple-wp-maker-map/very-simple-wp-maker-map.php Passed 13 tests
The principal PHP file in "Very Simple WP MakerMap" v. 1.1 is loaded by WordPress automatically on each request
70 characters long description:
Create map in the selected direction with a marker with text and link.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin756 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 14 | 240 | 460 |
JavaScript | 2 | 0 | 13 | 161 |
CSS | 3 | 4 | 1 | 101 |
PO File | 1 | 9 | 9 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin