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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.41ms] Passed 4 tests
Analyzing server-side resources used by Hotspot addon for elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.79 ▲4.40 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.88 ▼6.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.54 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.65 ▼16.98 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.07 ▼0.06 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Hotspot addon for elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.24 ▼1.40 | 4.68 ▲2.79 | 42.53 ▼1.57 |
Dashboard /wp-admin | 2,224 ▲36 | 5.80 ▲0.90 | 114.16 ▲8.12 | 43.21 ▼2.43 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.01 ▼0.03 | 34.64 ▼2.04 | 34.59 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 23.07 ▼0.21 | 682.10 ▲28.64 | 54.00 ▼3.98 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.32 ▲0.12 | 105.02 ▲6.27 | 43.62 ▼2.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (The front-end view screenshot.png), #2 (The Elementor view screenshot_2.jpg)
- Screenshots: A description for screenshot #0 is missing in hotspot-addon-for-elementor/assets to your readme.txt
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
hotspot-addon-for-elementor/wtt-hotspot-elementor-extension.php 77% from 13 tests
The main PHP script in "Hotspot addon for elementor" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hotspot-addon-for-elementor.php" instead of "wtt-hotspot-elementor-extension.php")
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
Success! There were no dangerous files found in this plugin3,297 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 13 | 14 | 2,458 |
PHP | 2 | 151 | 167 | 824 |
JavaScript | 1 | 8 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 16 | 80.00% |
▷ Protected methods | 4 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 2.83KB | 0.94KB | ▼ 66.76% |