Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼292.77ms] Passed 4 tests
Analyzing server-side resources used by Extended Google Map for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 56.73 ▲4.49 |
Dashboard /wp-admin | 3.48 ▲0.07 | 34.04 ▼11.65 |
Posts /wp-admin/edit.php | 3.71 ▲0.07 | 38.36 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 102.70 ▼1,166.18 |
Media Library /wp-admin/upload.php | 3.36 ▲0.07 | 28.48 ▲6.18 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Extended Google Map for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲50 | 15.84 ▲0.71 | 6.06 ▼0.59 | 2.12 ▼0.11 |
Dashboard /wp-admin | 2,917 ▲52 | 6.21 ▲0.05 | 127.46 ▼25.38 | 196.19 ▲16.00 |
Posts /wp-admin/edit.php | 2,721 ▲36 | 3.24 ▲0.01 | 63.35 ▼1.20 | 137.45 ▼82.59 |
Add New Post /wp-admin/post-new.php | 1,682 ▲21 | 16.52 ▲0.98 | 413.51 ▼29.21 | 163.67 ▲6.28 |
Media Library /wp-admin/upload.php | 1,721 ▲29 | 5.51 ▼0.03 | 147.82 ▼4.87 | 230.21 ▼8.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/extended-google-map-for-elementor/uninstall.php+15
Trying to access array offset on value of type bool
Smoke tests 75% 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 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 fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementorGoogleMapExtended\\add_action() in wp-content/plugins/extended-google-map-for-elementor/includes/class-extended-google-map-for-elementor.php:82
- > PHP Fatal error
Uncaught Error: Class 'EB_Map_Settings_API' not found in wp-content/plugins/extended-google-map-for-elementor/includes/class-extended-google-map-for-elementor-page-settings.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in extended-google-map-for-elementor/assets to your readme.txt
extended-google-map-for-elementor/elementor-google-map-extended.php 85% from 13 tests
"Extended Google Map for Elementor" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 310 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("extended-google-map-for-elementor.php" instead of "elementor-google-map-extended.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,618 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 231 | 476 | 1,186 |
PO File | 1 | 82 | 103 | 240 |
JavaScript | 2 | 16 | 2 | 164 |
CSS | 2 | 2 | 0 | 28 |
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.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_green.png | 1.25KB | 0.76KB | ▼ 39.52% |
assets/images/marker_yellow.png | 1.26KB | 0.76KB | ▼ 39.24% |
assets/images/marker_grey.png | 1.15KB | 0.70KB | ▼ 39.34% |
assets/images/marker_purple.png | 1.25KB | 0.76KB | ▼ 39.00% |
assets/images/marker_black.png | 1.14KB | 0.67KB | ▼ 40.67% |