Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.50ms] Passed 4 tests
A check of server-side resources used by Remove or Skip cart page for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.43 ▲0.05 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.18 ▼13.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.90 ▲0.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 73.45 ▼21.14 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.31 ▲2.09 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Remove or Skip cart page for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.72 ▲0.16 | 1.79 ▼0.02 | 35.75 ▼5.22 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▼0.03 | 95.26 ▲6.62 | 41.89 ▲1.30 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▼0.13 | 35.91 ▲0.05 | 34.29 ▼9.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 22.81 ▼0.32 | 675.94 ▲31.08 | 48.38 ▼10.00 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.02 | 96.19 ▲4.65 | 41.11 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: redirect to checkout, single product buy, remove cart, disable cart, skip cart...
skip-or-remove-cart-page-for-woocommerce/fsm-dcp-woocommerce.php 77% from 13 tests
Analyzing the main PHP file in "Remove or Skip cart page for WooCommerce" version 0.1
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "3.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("skip-or-remove-cart-page-for-woocommerce.php" instead of "fsm-dcp-woocommerce.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected173 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 34 | 131 |
PO File | 1 | 11 | 30 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 19 | |
▷ Named functions | 1 | 5.26% |
▷ Anonymous functions | 18 | 94.74% |
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