Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.94ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Single Page Checkout
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.24 ▼0.89 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.91 ▼6.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.45 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.12 ▼0.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.99 ▲1.50 |
Checkout Settings /wp-admin/options-general.php?page=one_settings | 3.17 | 30.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WooCommerce Single Page Checkout: 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 / | 2,835 ▲64 | 13.36 ▼0.87 | 1.98 ▼0.11 | 44.71 ▼3.33 |
Dashboard /wp-admin | 2,216 ▲28 | 5.03 ▼0.89 | 97.66 ▼15.45 | 38.67 ▼8.85 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.04 | 40.60 ▲4.62 | 35.10 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,520 ▲1 | 17.85 ▼5.27 | 652.52 ▲20.53 | 53.03 ▲7.94 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.28 ▲0.11 | 98.53 ▲0.06 | 44.97 ▲0.06 |
Checkout Settings /wp-admin/options-general.php?page=one_settings | 844 | 2.02 | 24.26 | 28.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- 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 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=one_settings
- > Notice in wp-content/plugins/woo-single-page-checkout/includes/setting.php+55
Undefined variable: rg_billing
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-single-page-checkout/includes/setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-single-page-checkout/includes/functions.php:2
- > 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 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (Admin interface & display .)
woo-single-page-checkout/rg108-woocommerce-single-page-checkout.php 92% from 13 tests
The main PHP file in "WooCommerce Single Page Checkout" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-single-page-checkout.php" instead of "rg108-woocommerce-single-page-checkout.php")
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
No dangerous file extensions were detected163 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 24 | 19 | 141 |
PO File | 1 | 5 | 4 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin