Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.42ms] Passed 4 tests
Analyzing server-side resources used by Open Closed Woo commerce Checkout By Ritesh Ghimire
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.24 ▼5.65 |
Dashboard /wp-admin | 3.33 ▲0.03 | 42.85 ▼1.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.36 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.71 ▼12.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.49 ▼2.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Open Closed Woo commerce Checkout By Ritesh Ghimire
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.13 | 1.64 ▼0.26 | 39.66 ▼4.84 |
Dashboard /wp-admin | 2,206 ▲17 | 4.82 ▼0.07 | 106.39 ▼4.95 | 40.59 ▼0.32 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.01 | 40.46 ▲5.89 | 33.86 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.50 ▼5.69 | 635.14 ▼56.70 | 65.73 ▲1.87 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.03 | 95.97 ▼11.97 | 40.41 ▼6.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/open-closed-woo-commerce-checkout-by-ritesh-ghimire/woocommerce-open-closed-by-ritesh-ghimire.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
open-closed-woo-commerce-checkout-by-ritesh-ghimire/woocommerce-open-closed-by-ritesh-ghimire.php 69% from 13 tests
Analyzing the main PHP file in "Open Closed Woo commerce Checkout By Ritesh Ghimire" version 1.0.0
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("open-closed-woo-commerce-checkout-by-ritesh-ghimire.php" instead of "woocommerce-open-closed-by-ritesh-ghimire.php")
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected148 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 26 | 148 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.85 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin