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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.30ms] Passed 4 tests
A check of server-side resources used by Art WooCommerce Order One Click
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.26 ▼15.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.58 ▼7.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.08 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.17 ▼8.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.61 ▼0.71 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Art WooCommerce Order One Click
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.46 ▲0.09 | 2.25 ▲0.44 | 44.11 ▼3.85 |
Dashboard /wp-admin | 2,221 ▲18 | 4.89 ▼0.94 | 104.07 ▼12.09 | 39.34 ▼5.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 38.63 ▼0.91 | 35.76 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 17.58 ▼5.73 | 703.17 ▲19.94 | 58.85 ▲5.52 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.23 ▲0.02 | 101.69 ▼12.26 | 43.21 ▼6.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/art-woocommerce-order-one-click/includes/admin/class-awooc-admin-meta-box.php:36
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_Page' not found in wp-content/plugins/art-woocommerce-order-one-click/includes/admin/class-awooc-admin-settings.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: woocommerce, mode catalog
art-woocommerce-order-one-click/art-woo-order-one-click.php 77% from 13 tests
The main file in "Art WooCommerce Order One Click" v. 2.4.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.8" instead of "3.3.0")
- Main file name: Name the main plugin file the same as the plugin slug ("art-woocommerce-order-one-click.php" instead of "art-woo-order-one-click.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,680 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 667 | 1,041 | 1,791 |
PO File | 1 | 111 | 140 | 316 |
JavaScript | 4 | 89 | 39 | 311 |
CSS | 4 | 48 | 0 | 256 |
XML | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 19.12 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 27 | 30.34% |
▷ Public methods | 85 | 95.51% |
▷ Protected methods | 1 | 1.12% |
▷ Private methods | 3 | 3.37% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin