Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.47ms] Passed 4 tests
An overview of server-side resources used by Multiple Map Marker For Elementor Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.13 ▼1.63 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.52 ▼6.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.54 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.72 ▼6.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.20 ▲2.27 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Multiple Map Marker For Elementor Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.31 ▼0.06 | 1.78 ▲0.18 | 44.10 ▼0.26 |
Dashboard /wp-admin | 2,216 ▲36 | 5.64 ▼0.02 | 91.39 ▼7.84 | 41.77 ▲1.79 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 2.01 ▼0.02 | 41.64 ▲1.73 | 38.16 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.02 ▼0.10 | 603.07 ▼69.00 | 58.87 ▲4.95 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.21 ▼0.05 | 97.19 ▼17.77 | 44.09 ▼3.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/map-multiple-marker/uninstall.php+15
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'EB_Map_Settings_API' not found in wp-content/plugins/map-multiple-marker/includes/class-google-map-for-elementor-page-settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementorGoogleMapExtended\\add_action() in wp-content/plugins/map-multiple-marker/includes/class-google-map-for-elementor.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
6 plugin tags: elementor addons, elementor google map, google map, elementor plugins, elementor maps widget...
map-multiple-marker/elementor-map-multiple-marker.php 77% from 13 tests
The main PHP file in "Multiple Map Marker For Elementor Page Builder" ver. 1.5.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 310 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("map-multiple-marker.php" instead of "elementor-map-multiple-marker.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,601 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 231 | 469 | 1,169 |
PO File | 1 | 82 | 103 | 240 |
JavaScript | 2 | 16 | 2 | 164 |
CSS | 2 | 2 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 65 | |
▷ Static methods | 1 | 1.54% |
▷ Public methods | 61 | 93.85% |
▷ Protected methods | 3 | 4.62% |
▷ Private methods | 1 | 1.54% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/marker_black.png | 1.14KB | 0.67KB | ▼ 40.67% |
assets/images/marker_grey.png | 1.15KB | 0.70KB | ▼ 39.34% |
assets/images/marker_red.png | 1.11KB | 0.82KB | ▼ 26.19% |
assets/images/marker_green.png | 1.25KB | 0.76KB | ▼ 39.52% |
assets/images/marker_purple.png | 1.25KB | 0.76KB | ▼ 39.00% |