Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > 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.01MB] [CPU: ▼11.42ms] Passed 4 tests
A check of server-side resources used by Wocommerce - Mezco SMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.09 ▼4.64 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.90 ▼17.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.02 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.81 ▼22.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.59 ▲3.27 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Wocommerce - Mezco SMS: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.17 ▲0.19 | 1.74 ▼0.17 | 40.42 ▼1.52 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.04 | 88.40 ▼11.59 | 41.23 ▲0.37 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.01 | 39.19 ▲1.69 | 34.38 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.35 ▲0.28 | 688.39 ▲9.79 | 69.03 ▲10.81 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.07 | 102.80 ▼7.62 | 43.69 ▼1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-mezco.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woo-mezco-sms/includes/cuadro-informacion.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woo-mezco-sms/includes/formulario.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php:33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-mezco-sms/includes/admin/funciones-formulario.php on line 12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 39 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (Screenshot of Wocommerce - Mezco SMS.)
woo-mezco-sms/mezco-sms.php 85% from 13 tests
This is the main PHP file of "Wocommerce - Mezco SMS" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 279 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-mezco-sms.php" instead of "mezco-sms.php")
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
Success! There were no dangerous files found in this plugin3,104 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 112 | 97 | 1,693 |
CSS | 3 | 11 | 23 | 783 |
SVG | 2 | 0 | 0 | 270 |
PO File | 1 | 91 | 120 | 265 |
Markdown | 1 | 37 | 0 | 93 |
PHP code Passed 2 tests
This is a very shot 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.54 |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/twizo.png | 22.07KB | 11.98KB | ▼ 45.73% |