Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.41ms] Passed 4 tests
This is a short check of server-side resources used by Split Order on checkout pro for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 42.44 ▲2.89 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.70 ▼11.66 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 42.95 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 89.94 ▼13.45 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.93 ▲2.17 |
Split Order /wp-admin/admin.php?page=split-order | 3.26 | 30.97 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
wos_splitorderpro |
Browser metrics Passed 4 tests
A check of browser resources used by Split Order on checkout pro for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 13.23 ▼1.49 | 4.23 ▲2.61 | 43.65 ▲1.49 |
Dashboard /wp-admin | 2,216 ▲36 | 5.79 ▲0.17 | 86.10 ▼1.13 | 37.50 ▼3.95 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.27 ▲0.33 | 41.30 ▲0.76 | 35.82 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 18.30 ▼4.77 | 632.61 ▼26.36 | 47.38 ▼9.81 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.56 ▲0.40 | 105.03 ▲4.54 | 46.99 ▲3.17 |
Split Order /wp-admin/admin.php?page=split-order | 867 | 1.85 | 26.83 | 26.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- wos_auto_forced
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- wos_splitorderpro
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/split-order-for-woocommerce/inc/emails_all.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/split-order-for-woocommerce/inc/configuration.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
There were no plugin tags found
split-order-for-woocommerce/index.php 85% from 13 tests
This is the main PHP file of "Split Order on checkout pro for Woocommerce" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("split-order-for-woocommerce.php" instead of "index.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin681 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 339 | 35 | 629 |
CSS | 1 | 3 | 0 | 34 |
JavaScript | 1 | 0 | 2 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin