Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.82ms] Passed 4 tests
Server-side resources used by OSM Map Widget for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.77 ▼3.88 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.81 ▼3.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.98 ▼5.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.35 ▲6.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.00 ▲1.61 |
OSM Map Widget /wp-admin/options-general.php?page=osm-map-elementor | 3.01 | 23.69 |
Server storage [IO: ▲30.76MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Total filesystem usage must be limited to 25MB (currently using 30.76MB)
Filesystem: 2,160 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for OSM Map Widget for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.39 | 1.63 ▼0.21 | 37.66 ▼6.83 |
Dashboard /wp-admin | 2,195 ▲14 | 5.57 ▼0.10 | 91.00 ▼11.24 | 44.07 ▲2.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 39.35 ▼2.30 | 34.94 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.43 ▲0.58 | 622.03 ▲15.62 | 50.39 ▲2.70 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▼0.00 | 96.75 ▼0.61 | 41.45 ▼1.33 |
OSM Map Widget /wp-admin/options-general.php?page=osm-map-elementor | 28 | 0.42 | 0.07 | 3.59 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=osm-map-elementor
- > Network (severe)
wp-admin/options-general.php?page=osm-map-elementor - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 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
5 plugin tags: map widget, elementor widget, open street map, addons, elementor
osm-map-elementor/osm-map-elementor.php 92% from 13 tests
The main file in "OSM Map Widget for Elementor" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 181 characters long)
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
Everything looks great! No dangerous files found in this plugin371,982 lines of code in 2,125 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 208,008 |
YAML | 5 | 0 | 0 | 97,593 |
JavaScript | 21 | 6,468 | 7,624 | 28,735 |
CSS | 23 | 5,844 | 127 | 13,706 |
SVG | 2,028 | 0 | 15 | 8,109 |
Sass | 19 | 556 | 72 | 6,975 |
LESS | 18 | 552 | 72 | 6,917 |
PHP | 3 | 245 | 214 | 1,777 |
HTML | 1 | 13 | 4 | 87 |
Markdown | 3 | 18 | 0 | 75 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 7.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 46.67% |
▷ Protected methods | 2 | 13.33% |
▷ Private methods | 6 | 40.00% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/leaflet-fa-markers/screenshots/markers.png | 42.23KB | 14.75KB | ▼ 65.08% |
assets/leaflet/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
assets/leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
assets/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
assets/leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |