Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.66MB] [CPU: ▲2.59ms] Passed 4 tests
A check of server-side resources used by Sobex Tech — create professional menu (categories) , sidebar & header widget filter for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲1.00 | 46.51 ▲4.20 |
Dashboard /wp-admin | 5.18 ▲1.88 | 57.12 ▲4.26 |
Posts /wp-admin/edit.php | 5.23 ▲1.88 | 60.41 ▲8.80 |
Add New Post /wp-admin/post-new.php | 7.79 ▲1.90 | 95.91 ▼6.90 |
Media Library /wp-admin/upload.php | 5.11 ▲1.88 | 48.28 ▲10.68 |
Style Settings /wp-admin/admin.php?page=sobex-tech-style | 5.08 | 52.23 |
Settings /wp-admin/admin.php?page=sobex-tech | 5.08 | 41.26 |
Widget Settings /wp-admin/admin.php?page=sobex-tech-widget | 5.08 | 45.38 |
Server storage [IO: ▲4.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 132 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_sobex_tech_widget_sidebar |
wp_sobex_tech_widget_menu |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
stsearch_style_opts |
widget_recent-posts |
widget_sobextech_widget |
stsearch_opts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Sobex Tech — create professional menu (categories) , sidebar & header widget filter for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲181 | 13.88 ▼0.41 | 10.20 ▲7.91 | 42.73 ▼0.53 |
Dashboard /wp-admin | 2,229 ▲52 | 5.60 ▼0.07 | 83.42 ▼8.24 | 87.56 ▲44.02 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▼0.04 | 35.84 ▼5.84 | 35.66 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 23.21 ▼0.16 | 695.27 ▲21.38 | 56.28 ▼6.08 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.23 ▼0.02 | 96.83 ▼5.17 | 80.38 ▲35.94 |
Style Settings /wp-admin/admin.php?page=sobex-tech-style | 6,159 | 4.89 | 207.81 | 127.09 |
Settings /wp-admin/admin.php?page=sobex-tech | 2,503 | 2.26 | 50.65 | 97.22 |
Widget Settings /wp-admin/admin.php?page=sobex-tech-widget | 1,103 | 2.29 | 40.01 | 61.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_sobextech_widget
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Contributors: Plugin contributors not specified
- Requires php: Version format is invalid
sobex-tech/sobex-tech.php Passed 13 tests
The main PHP script in "Sobex Tech — create professional menu (categories) , sidebar & header widget filter for WooCommerce" version 1.0.8 is automatically included on every request by WordPress
108 characters long description:
SOBEX TECH has multiple professional plugins to achieve your Woocommerce & WordPress with special abilities.
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
Everything looks great! No dangerous files found in this plugin27,766 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 998 | 694 | 12,506 |
PHP | 19 | 1,572 | 1,268 | 9,603 |
PO File | 3 | 1,419 | 1,876 | 2,994 |
JavaScript | 13 | 350 | 213 | 1,465 |
SVG | 20 | 0 | 4 | 1,198 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 9 | 18.00% |
▷ Public methods | 47 | 94.00% |
▷ Protected methods | 2 | 4.00% |
▷ Private methods | 1 | 2.00% |
Functions | 199 | |
▷ Named functions | 192 | 96.48% |
▷ Anonymous functions | 7 | 3.52% |
Constants | 34 | |
▷ Global constants | 25 | 73.53% |
▷ Class constants | 9 | 26.47% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
32 PNG files occupy 0.99MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/admin_menu/arrow-5.png | 3.28KB | 1.92KB | ▼ 41.51% |
admin/assets/images/admin_menu/arrow-2.png | 1.93KB | 1.24KB | ▼ 35.88% |
views/assets/images/clear_all.png | 3.28KB | 1.88KB | ▼ 42.77% |
admin/assets/images/admin_gif/s-icon-128.png | 2.48KB | 0.88KB | ▼ 64.62% |
admin/assets/images/admin_pages/web_ogo_sobex_tech_with3.png | 15.10KB | 7.03KB | ▼ 53.46% |