Benchmarks
Plugin footprint 65% 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.04MB] [CPU: ▼6.63ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Checkout Field Editor (Qodax Checkout Manager)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.91 ▼2.63 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.57 ▼4.91 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.78 ▼0.92 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.31 ▼18.07 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.18 ▼0.19 |
Qodax Checkout Manager /wp-admin/admin.php?page=qodax_checkout_manager | 3.27 | 30.41 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_qodax_checkout_manager_fields |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
qodax_checkout_manager_migrations |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Checkout Field Editor (Qodax Checkout Manager)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲128 | 14.89 ▲0.22 | 1.86 ▲0.05 | 39.70 ▼9.70 |
Dashboard /wp-admin | 2,266 ▲78 | 5.85 ▲0.93 | 125.47 ▲20.31 | 40.97 ▼0.23 |
Posts /wp-admin/edit.php | 2,155 ▲63 | 2.59 ▲0.54 | 53.08 ▲12.70 | 35.65 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,572 ▲39 | 23.79 ▲0.46 | 672.32 ▲10.18 | 44.95 ▼28.98 |
Media Library /wp-admin/upload.php | 1,454 ▲63 | 5.11 ▲0.81 | 110.79 ▲9.09 | 42.13 ▼8.34 |
Qodax Checkout Manager /wp-admin/admin.php?page=qodax_checkout_manager | 840 | 2.52 | 48.37 | 39.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_qodax_checkout_manager_fields
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- qodax_checkout_manager_migrations
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=qodax_checkout_manager
- > POST request to /wp-admin/admin-ajax.php
- > Error in wp-content/plugins/qodax-checkout-manager/src/Services/FieldService.php+35
Uncaught Error: Call to undefined function Qodax\CheckoutManager\Services\wc() in wp-content/plugins/qodax-checkout-manager/src/Services/FieldService.php:35
Stack trace:
#0 wp-content/plugins/qodax-checkout-manager/src/Http/Controllers/FieldsController.php(30): Qodax\CheckoutManager\Services\FieldService->getCheckoutFields()
#1 [internal function]: Qodax\CheckoutManager\Http\Controllers\FieldsController->getFields()
#2 wp-content/plugins/qodax-checkout-manager/src/Foundation/Routing/Route.php(74): call_user_func()
#3 wp-content/plugins/qodax-checkout-manager/src/Foundation/Routing/Router.php(35): Qodax\CheckoutManager\Foundation\Routing\Route->dispatch()
#4 wp-includes/class-wp-hook.php(310): Qodax\CheckoutManager\Foundation\Routing\Router->dispatchAction()
#5 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /va
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 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=qodax_checkout_manager
- > Network (severe)
wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=qodax_checkout_manager
- > Console-api (severe) in unknown
/wp-content/plugins/qodax-checkout-manager/assets/js/checkout-editor.min.js?ver=1666719426 1:11795 Object
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in qodax-checkout-manager/assets to your readme.txt
qodax-checkout-manager/qodax-checkout-manager.php Passed 13 tests
The primary PHP file in "WooCommerce Checkout Field Editor (Qodax Checkout Manager)" version 1.1.1 is used by WordPress to initiate all plugin functionality
105 characters long description:
Customize and manage checkout fields in your WooCommerce store with a simple and user-friendly interface.
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 detected1,605 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 410 | 598 | 1,598 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 3 | 10.00% |
▷ Concrete classes | 27 | 90.00% |
▷ Final classes | 2 | 7.41% |
Methods | 150 | |
▷ Static methods | 26 | 17.33% |
▷ Public methods | 140 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 6.67% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin