Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.56ms] Passed 4 tests
A check of server-side resources used by Purchased Items Column for WooCommerce Orders
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.22 ▼9.32 |
Dashboard /wp-admin | 3.32 ▼0.03 | 53.89 ▼6.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.02 ▲3.85 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.95 ▼3.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.53 ▲1.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Purchased Items Column for WooCommerce Orders
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.41 ▲0.01 | 1.63 ▼0.05 | 38.63 ▼4.66 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.06 | 91.52 ▼8.28 | 38.90 ▼4.38 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.05 | 38.90 ▲0.89 | 37.20 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.32 | 697.98 ▲50.90 | 58.74 ▼2.35 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▼0.03 | 98.24 ▼1.55 | 42.14 ▼1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: orders, woocommerce, ajax
purchased-items-column-woocommerce/purchased-items-column-woocommerce.php Passed 13 tests
"Purchased Items Column for WooCommerce Orders" version 1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
66 characters long description:
Display a "Purchased Items" column on the WooCommerce orders page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected85 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 14 | 85 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.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
No PNG images were found in this plugin