Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼3.23ms] Passed 4 tests
Server-side resources used by Alpha Google Map For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.06 ▼4.08 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.90 ▼3.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.29 ▲4.33 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.06 ▼8.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.77 ▲3.03 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Alpha Google Map For Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲62 | 14.35 ▲0.01 | 1.63 ▼0.07 | 36.65 ▼7.47 |
Dashboard /wp-admin | 2,211 ▲30 | 5.52 ▼0.25 | 85.81 ▼22.32 | 41.60 ▼3.13 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.14 ▼0.00 | 40.86 ▼0.07 | 36.46 ▲4.68 |
Add New Post /wp-admin/post-new.php | 1,540 ▲10 | 23.24 ▲0.08 | 596.83 ▼14.64 | 54.99 ▲6.08 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.26 ▼0.02 | 102.00 ▼0.63 | 42.39 ▼3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/alpha-google-map-for-elementor/index.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: alpha, premium, page builder, google, landing page...
alpha-google-map-for-elementor/alpha-google-map-for-elementor.php Passed 13 tests
The principal PHP file in "Alpha Google Map For Elementor" v. 1.0.9 is loaded by WordPress automatically on each request
42 characters long description:
Premium Google Map features for WordPress.
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
Good job! No executable or dangerous file extensions detected1,318 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 152 | 161 | 1,094 |
JavaScript | 2 | 26 | 6 | 129 |
Markdown | 1 | 60 | 0 | 92 |
SVG | 2 | 0 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/alpha-pin.png | 2.46KB | 2.03KB | ▼ 17.57% |
assets/img/alpha-pin-hover.png | 2.33KB | 2.02KB | ▼ 13.13% |