Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼277.73ms] Passed 4 tests
Server-side resources used by WooCommerce Save Manual Order User
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 31.68 ▲10.40 |
Dashboard /wp-admin | 3.07 ▲0.02 | 43.37 ▼0.11 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 43.31 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.10 ▼1,097.75 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 26.27 ▼12.61 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Save Manual Order User
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲68 | 15.75 ▲0.31 | 7.93 ▲0.57 | 42.50 ▼8.61 |
Dashboard /wp-admin | 2,934 ▲81 | 6.15 ▲0.28 | 134.91 ▼1.42 | 102.60 ▲4.70 |
Posts /wp-admin/edit.php | 2,706 ▲3 | 2.81 ▲0.11 | 65.92 ▲1.84 | 91.78 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,851 ▼187 | 18.78 ▼0.51 | 350.25 ▼36.15 | 105.04 ▼10.85 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.01 ▼0.02 | 149.42 ▼2.36 | 111.58 ▼9.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: manual order, save manual order user, billing details, woocommerce, order actions...
woo-save-manual-order-user/woocommerce-save-manual-order-user.php 69% from 13 tests
The entry point to "WooCommerce Save Manual Order User" version 1.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.0.0" instead of "3.0.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-save-manual-order-user.php" instead of "woocommerce-save-manual-order-user.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin145 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 14 | 14 | 86 |
PHP | 1 | 14 | 24 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin