Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/exsile-sms-gateway/exsile-sms-gateway.php+82
include_once(wp-content/plugins/exsile-sms-gateway/includes/ignore-fields.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.88MB] [CPU: ▼52.08ms] Passed 4 tests
An overview of server-side resources used by Exsile SMS Gateway
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 13.45 ▼28.25 |
Dashboard /wp-admin | 2.12 ▼1.18 | 8.16 ▼40.94 |
Posts /wp-admin/edit.php | 2.12 ▼1.23 | 7.06 ▼47.61 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 8.18 ▼91.53 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 7.91 ▼24.92 |
SMS Leads /wp-admin/options-general.php?page=exsile-sms-gateway | 2.12 | 8.20 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Exsile SMS Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.19 ▼1.18 | 1.72 ▼0.15 | 42.94 ▲4.21 |
Dashboard /wp-admin | 2,218 ▲30 | 4.93 ▲0.07 | 101.75 ▼2.04 | 41.65 ▼0.03 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.04 ▼0.06 | 35.16 ▼1.79 | 34.01 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,525 ▼8 | 23.38 ▲0.13 | 677.94 ▲44.45 | 60.28 ▲3.47 |
Media Library /wp-admin/upload.php | 1,400 ▲21 | 4.26 ▲0.12 | 96.86 ▼4.62 | 43.93 ▼3.32 |
SMS Leads /wp-admin/options-general.php?page=exsile-sms-gateway | 1,038 | 2.16 | 39.45 | 27.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/exsile-sms-gateway/exsile-sms-gateway.php+82
include_once(wp-content/plugins/exsile-sms-gateway/includes/ignore-fields.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=exsile-sms-gateway
- > Warning in wp-content/plugins/exsile-sms-gateway/exsile-sms-gateway.php+82
include_once(wp-content/plugins/exsile-sms-gateway/includes/ignore-fields.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=exsile-sms-gateway
- > Warning in wp-content/plugins/exsile-sms-gateway/exsile-sms-gateway.php+82
include_once(): Failed opening 'wp-content/plugins/exsile-sms-gateway/includes/ignore-fields.php' for inclusion (include_path='.:/usr/share/php')
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: sending sms, send leads, sending leads by sms, send sms
exsile-sms-gateway/exsile-sms-gateway.php 92% from 13 tests
Analyzing the main PHP file in "Exsile SMS Gateway" version 1.1.0
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 442 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected7,900 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 252 | 198 | 6,734 |
PHP | 8 | 293 | 142 | 926 |
PO File | 1 | 47 | 54 | 136 |
CSS | 2 | 12 | 5 | 104 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 12.13KB | 12.26KB | 0.00% |