Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼40.95ms] Passed 4 tests
A check of server-side resources used by Bootstrap one page woocommerce checkout
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.91 ▲2.87 |
Dashboard /wp-admin | 3.01 ▼0.34 | 22.58 ▼43.05 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 26.96 ▼23.86 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 22.95 ▼83.62 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 21.66 ▼13.25 |
Checkout Settings /wp-admin/options-general.php?page=one_settings | 3.01 | 22.37 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Bootstrap one page woocommerce checkout
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲39 | 13.21 ▼1.45 | 4.78 ▲2.46 | 41.75 ▼2.65 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▼0.07 | 101.95 ▼8.89 | 40.71 ▼3.28 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 39.73 ▲2.71 | 34.44 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 18.30 ▼4.93 | 646.51 ▼36.46 | 73.83 ▲23.01 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▼0.02 | 103.12 ▼10.36 | 47.43 ▼0.04 |
Checkout Settings /wp-admin/options-general.php?page=one_settings | 842 | 2.02 | 24.46 | 28.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=one_settings
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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_filter() in wp-content/plugins/bootstrap-one-page-woocommerce-checkout/includes/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bootstrap-one-page-woocommerce-checkout/includes/setting.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 28 tag instead of maximum 10
bootstrap-one-page-woocommerce-checkout/Bootstrap-one-page-woocommerce-checkout.php 85% from 13 tests
Analyzing the main PHP file in "Bootstrap one page woocommerce checkout" version 1.1.1
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bootstrap-one-page-woocommerce-checkout.php" instead of "Bootstrap-one-page-woocommerce-checkout.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin173 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 23 | 21 | 151 |
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
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin