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.03MB] [CPU: ▼5.76ms] Passed 4 tests
This is a short check of server-side resources used by Order Timeline for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.57 ▼2.10 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.15 ▼11.80 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.86 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.83 ▼8.50 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.28 ▼0.62 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Timeline for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.11 ▼0.24 | 1.83 ▲0.23 | 40.65 ▼2.45 |
Dashboard /wp-admin | 2,208 ▲28 | 5.48 ▼0.14 | 83.86 ▼5.37 | 40.69 ▲0.89 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▲0.01 | 36.06 ▲0.36 | 37.48 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.42 ▼0.06 | 657.85 ▲55.77 | 57.72 ▲4.93 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.17 ▼0.05 | 99.90 ▲0.62 | 44.90 ▼1.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Everything seems fine, however this is by no means an exhaustive test
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: timeline, woocommerce, order timeline
order-timeline-for-woocommerce/order-timeline-for-woocommerce.php Passed 13 tests
The main PHP script in "Order Timeline for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
83 characters long description:
An e-commerce order tracking and timline plugin for WooCommerce. Powered by Jompha.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,029 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 116 | 164 | 624 |
CSS | 4 | 51 | 21 | 343 |
SVG | 1 | 0 | 0 | 38 |
JavaScript | 2 | 4 | 0 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 47 | |
▷ Static methods | 7 | 14.89% |
▷ Public methods | 36 | 76.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 23.40% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/ucfw-banner.png | 68.80KB | 28.39KB | ▼ 58.73% |