Benchmarks
Plugin footprint 65% 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.19MB] [CPU: ▼0.82ms] Passed 4 tests
This is a short check of server-side resources used by Conexteo - SMS for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 38.44 ▼3.76 |
Dashboard /wp-admin | 3.49 ▲0.18 | 46.83 ▲0.18 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 50.38 ▲2.72 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 89.56 ▼2.41 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.71 ▲8.49 |
Nouveau modèle /wp-admin/admin.php?page=conexteo-new-model | 3.42 | 32.64 |
Configuration de Conexteo /wp-admin/admin.php?page=conexteo-settings | 3.39 | 28.26 |
Modèles de SMS /wp-admin/admin.php?page=conexteo-models | 3.39 | 32.67 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_conexteo_models |
wp_conexteo_contacts |
wp_conexteo_cart_sms |
New WordPress options |
---|
widget_recent-comments |
conexteo_cronkey_setting |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Conexteo - SMS for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲59 | 14.39 ▲0.04 | 1.96 ▲0.11 | 44.59 ▼0.40 |
Dashboard /wp-admin | 2,226 ▲49 | 5.67 ▲0.04 | 91.36 ▼4.04 | 41.01 ▼2.48 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.02 ▼0.01 | 41.01 ▲0.38 | 35.50 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.15 ▲0.11 | 657.27 ▲49.81 | 51.97 ▲1.38 |
Media Library /wp-admin/upload.php | 1,431 ▲37 | 4.27 ▲0.15 | 99.59 ▼4.52 | 41.97 ▼4.34 |
Nouveau modèle /wp-admin/admin.php?page=conexteo-new-model | 1,014 | 2.02 | 24.84 | 28.82 |
Configuration de Conexteo /wp-admin/admin.php?page=conexteo-settings | 963 | 1.82 | 23.60 | 31.14 |
Modèles de SMS /wp-admin/admin.php?page=conexteo-models | 852 | 2.02 | 25.14 | 24.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_conexteo_cart_sms
- wp_conexteo_contacts
- wp_conexteo_models
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- conexteo_cronkey_setting
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=conexteo-new-model
- > Notice in wp-content/plugins/conexteo/admin/partials/conexteo-admin-new-model-display.php+6
Undefined variable: model
- > GET request to /wp-admin/admin.php?page=conexteo-settings
- > Notice in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php+86
Undefined variable: lists
- > GET request to /wp-admin/admin.php?page=conexteo-settings
- > Warning in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php+86
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=conexteo-settings
- > Notice in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php+99
Undefined variable: credits
SRP 0% from 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/conexteo/admin/partials/conexteo-admin-models-display.php
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/conexteo/cron_sync.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/conexteo/admin/partials/conexteo-admin-new-model-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php:94
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php on line 86
- > PHP Notice
Undefined variable: models in wp-content/plugins/conexteo/admin/partials/conexteo-admin-models-display.php on line 57
- > PHP Notice
Undefined variable: lists in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php on line 86
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/conexteo/admin/partials/conexteo-admin-models-display.php on line 101
- > PHP Notice
Undefined variable: connection_ok in wp-content/plugins/conexteo/admin/partials/conexteo-admin-settings-display.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/conexteo/admin/class-conexteo-admin.php:24
- > PHP Notice
Undefined variable: models in wp-content/plugins/conexteo/admin/partials/conexteo-admin-models-display.php on line 101
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: marketing automation, woocommerce, sms, sync
conexteo/conexteo.php 92% from 13 tests
This is the main PHP file of "Conexteo - SMS for Woocommerce" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 207 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
Good job! No executable or dangerous file extensions detected1,738 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 360 | 575 | 1,502 |
JavaScript | 1 | 37 | 6 | 205 |
CSS | 1 | 8 | 4 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 16 | 25.81% |
▷ Public methods | 58 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.45% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin