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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.90MB] [CPU: ▼2.82ms] Passed 4 tests
A check of server-side resources used by Xoxzo - SMS and voice notification plugin for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 40.32 ▼4.57 |
Dashboard /wp-admin | 4.30 ▲0.99 | 53.30 ▲3.65 |
Posts /wp-admin/edit.php | 4.35 ▲0.99 | 58.09 ▲7.13 |
Add New Post /wp-admin/post-new.php | 6.90 ▲1.01 | 89.71 ▼16.21 |
Media Library /wp-admin/upload.php | 4.22 ▲0.99 | 41.25 ▲5.85 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 42 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_woocommerce_xoxzo_status |
wp_woocommerce_xoxzo_error |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Xoxzo - SMS and voice notification plugin for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 13.60 ▼0.70 | 5.50 ▲3.87 | 38.98 ▼1.93 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼0.05 | 113.04 ▼2.72 | 43.25 ▲0.10 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▼0.00 | 35.33 ▼7.05 | 32.47 ▼5.39 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 18.33 ▼4.76 | 649.42 ▼16.34 | 65.69 ▲12.77 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▲0.01 | 101.24 ▼2.94 | 44.24 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_woocommerce_xoxzo_error
- wp_woocommerce_xoxzo_status
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/xoxzo-sms-voice-notification-for-woocommerce/public/partials/wc-xoxzo-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: Add an image for screenshot #1 (None)
xoxzo-sms-voice-notification-for-woocommerce/start.php 85% from 13 tests
The main PHP script in "Xoxzo - SMS and voice notification plugin for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("xoxzo-sms-voice-notification-for-woocommerce.php" instead of "start.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
Good job! No executable or dangerous file extensions detected6,191 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 609 | 1,297 | 6,085 |
Markdown | 1 | 29 | 0 | 78 |
JSON | 1 | 7 | 0 | 22 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 176 | |
▷ Static methods | 47 | 26.70% |
▷ Public methods | 136 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 40 | 22.73% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 313 | |
▷ Global constants | 2 | 0.64% |
▷ Class constants | 311 | 99.36% |
▷ Public constants | 311 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin