Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.60ms] Passed 4 tests
An overview of server-side resources used by Sendmsg Elementor Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.27 ▼4.75 |
Dashboard /wp-admin | 3.38 ▲0.07 | 46.36 ▼3.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.74 ▲2.18 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.99 ▼23.10 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.12 ▼10.67 |
Sendmsg API /wp-admin/options-general.php?page=sendmsg-api | 3.25 | 31.09 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Sendmsg Elementor Addon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.25 ▼1.13 | 2.14 ▲0.43 | 44.10 ▼4.88 |
Dashboard /wp-admin | 2,228 ▲46 | 5.84 ▲0.02 | 98.82 ▼5.67 | 41.49 ▲3.26 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.06 ▼0.07 | 40.64 ▲0.91 | 36.29 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.15 ▲5.31 | 604.61 ▼54.78 | 54.67 ▼16.14 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.24 ▲0.01 | 99.52 ▼3.48 | 43.92 ▲0.50 |
Sendmsg API /wp-admin/options-general.php?page=sendmsg-api | 854 | 2.20 | 26.13 | 27.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sendmsg-api
- > Notice in wp-content/plugins/sendmsg-elementor-addon/inc/settings.php+26
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/sendmsg-elementor-addon/inc/settings.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/main.php:87
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/sendmsg-elementor-addon/inc/custom-select.php:3
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\Forms\\Classes\\Action_Base' not found in wp-content/plugins/sendmsg-elementor-addon/inc/class-fields.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/ajax.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/main.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/scripts.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/custom-control.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sendmsg-elementor-addon/inc/misc.php:208
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: sendmsg, elementor addon, elementor
sendmsg-elementor-addon/sendmsgs.php 85% from 13 tests
The primary PHP file in "Sendmsg Elementor Addon" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sendmsg-elementor-addon.php" instead of "sendmsgs.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 plugin873 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 217 | 235 | 670 |
CSS | 1 | 18 | 3 | 123 |
JavaScript | 2 | 25 | 2 | 80 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.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
No PNG files were detected