Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/woocommerce/woocommerce.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.07ms] Passed 4 tests
This is a short check of server-side resources used by SMSQ Notifications for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.62 ▼11.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 55.42 ▲2.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.49 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.41 ▼7.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.92 ▲0.92 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SMSQ Notifications for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 14.35 ▲0.00 | 2.03 ▼0.08 | 40.22 ▼4.23 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.00 | 87.35 ▼3.15 | 41.24 ▼1.81 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.08 | 42.93 ▼0.97 | 33.07 ▼6.89 |
Add New Post /wp-admin/post-new.php | 1,528 ▲1 | 23.58 ▲0.50 | 688.20 ▲0.07 | 54.60 ▲0.19 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.01 | 103.80 ▼6.01 | 42.71 ▼5.39 |
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 were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-smsq.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/smsq-st.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/smsq-notifications-for-woocommerce/includes/cuadro-informacion.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/smsq-notifications-for-woocommerce/includes/formulario.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/smsq-notifications-for-woocommerce/includes/admin/funciones-formulario.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 41 tag instead of maximum 10
smsq-notifications-for-woocommerce/sms-q.php 85% from 13 tests
The main file in "SMSQ Notifications for WooCommerce" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("smsq-notifications-for-woocommerce.php" instead of "sms-q.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 279 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,509 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 129 | 106 | 1,622 |
CSS | 1 | 9 | 21 | 555 |
SVG | 2 | 0 | 0 | 270 |
Markdown | 1 | 16 | 0 | 62 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/stars.png | 0.90KB | 1.07KB | 0.00% |
assets/images/logo.png | 2.23KB | 2.25KB | 0.00% |