Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼136.54ms] Passed 4 tests
Server-side resources used by WC Continue Shopping Options
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 40.07 ▲19.47 |
Dashboard /wp-admin | 3.06 ▲0.00 | 44.71 ▲10.27 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.95 ▲3.33 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 83.62 ▼562.39 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.06 ▲2.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WC Continue Shopping Options
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.18 ▲0.64 | 6.94 ▼1.68 | 47.27 ▼1.05 |
Dashboard /wp-admin | 2,992 ▲61 | 5.93 ▼0.12 | 132.84 ▼3.66 | 107.04 ▼4.01 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.01 | 64.42 ▲3.26 | 94.51 ▲6.74 |
Add New Post /wp-admin/post-new.php | 1,591 ▲10 | 18.74 ▲4.32 | 369.79 ▼12.35 | 108.61 ▼4.07 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▼0.02 | 148.17 ▼4.00 | 121.29 ▼2.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wc-continue-shopping-options/wc-continue-shopping-options.php:24
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: These screenshots do not have images: #1 (WC Continue Shopping setting), #2 (Continue Shopping URL), #3 (Custom Link.)
- Screenshots: A description for screenshot #0 is required in wc-continue-shopping-options/assets to your readme.txt
wc-continue-shopping-options/wc-continue-shopping-options.php Passed 13 tests
The main file in "WC Continue Shopping Options" v. 3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
127 characters long description:
This plugin will show options for Shop owners to select different redirecting options for customers when they are on Cart Page.
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 plugin94 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 27 | 94 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin