Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼138.84ms] Passed 4 tests
This is a short check of server-side resources used by wp manage order
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 36.50 ▲0.35 |
Dashboard /wp-admin | 3.07 ▲0.01 | 53.42 ▲6.25 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.42 ▲2.37 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.98 ▼560.21 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.00 ▲2.15 |
Order options /wp-admin/options-general.php?page=order_options_setting | 3.01 | 28.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
wp manage order: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,691 ▲95 | 16.04 ▲0.42 | 13.59 ▲3.98 | 46.78 ▲0.85 |
Dashboard /wp-admin | 2,972 ▲38 | 6.10 ▲0.20 | 141.37 ▼6.00 | 115.80 ▼5.86 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.77 ▲0.05 | 67.97 ▼2.52 | 87.15 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,681 ▲87 | 18.88 ▲0.14 | 384.53 ▼28.90 | 103.71 ▼1.33 |
Media Library /wp-admin/upload.php | 1,818 ▲11 | 5.06 ▲0.02 | 150.53 ▼1.79 | 116.36 ▼6.73 |
Order options /wp-admin/options-general.php?page=order_options_setting | 1,141 | 2.56 | 55.64 | 82.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (settings), #2 (Post/Custom Type)
wp-manage-order/manage-order.php 92% from 13 tests
The entry point to "wp manage order" version 1.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-manage-order.php" instead of "manage-order.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
No dangerous file extensions were detected281 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 115 | 25 | 198 |
JavaScript | 1 | 11 | 1 | 34 |
CSS | 1 | 5 | 0 | 25 |
PO File | 1 | 4 | 5 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 14.30KB | 7.92KB | ▼ 44.59% |
screenshot-2.png | 21.96KB | 10.84KB | ▼ 50.64% |