Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.44ms] Passed 4 tests
Analyzing server-side resources used by Manual Orders for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 48.57 ▲3.78 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.49 ▼10.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.77 ▲2.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.18 ▼10.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.20 ▲0.95 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Manual Orders for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.29 ▼1.00 | 1.81 ▼0.23 | 41.66 ▼5.71 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▼0.06 | 105.40 ▼8.83 | 39.33 ▼6.72 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.03 ▲0.05 | 38.77 ▲2.76 | 35.40 ▲4.00 |
Add New Post /wp-admin/post-new.php | 1,514 ▼23 | 17.55 ▼0.68 | 654.06 ▲20.16 | 50.31 ▼3.99 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.03 | 94.90 ▼2.31 | 41.52 ▼3.41 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in woo-manual-orders/assets to your readme.txt
woo-manual-orders/functions.php 85% from 13 tests
Analyzing the main PHP file in "Manual Orders for Woocommerce" version 1.0.3
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-manual-orders.php" instead of "functions.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "3.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,373 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 559 | 770 | 1,747 |
JavaScript | 3 | 51 | 18 | 322 |
PO File | 1 | 276 | 512 | 263 |
CSS | 2 | 4 | 0 | 41 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 112 | |
▷ Static methods | 42 | 37.50% |
▷ Public methods | 93 | 83.04% |
▷ Protected methods | 6 | 5.36% |
▷ Private methods | 13 | 11.61% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin