Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.13MB] [CPU: ▼15.97ms] Passed 4 tests
Analyzing server-side resources used by DogeCash Gateway for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 23.97 ▼13.20 |
Dashboard /wp-admin | 3.24 ▼0.06 | 28.82 ▼20.45 |
Posts /wp-admin/edit.php | 3.31 ▼0.04 | 36.97 ▼7.73 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.40 | 75.59 ▼22.48 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 24.85 ▼7.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for DogeCash Gateway for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,103 ▼1,643 | 12.38 ▼2.00 | 0.49 ▼1.20 | 15.64 ▼22.68 |
Dashboard /wp-admin | 831 ▼1,358 | 1.38 ▼3.53 | 12.82 ▼96.44 | 21.66 ▼21.31 |
Posts /wp-admin/edit.php | 842 ▼1,250 | 1.14 ▼0.83 | 7.78 ▼30.19 | 21.96 ▼9.33 |
Add New Post /wp-admin/post-new.php | 568 ▼946 | 1.73 ▼15.80 | 23.61 ▼676.72 | 0.20 ▼62.81 |
Media Library /wp-admin/upload.php | 727 ▼664 | 1.73 ▼2.49 | 19.51 ▼86.61 | 19.94 ▼24.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/dogecash-payment-gateway-for-woocommerce/woocommerce-dogecash.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Contributors: Plugin contributors field is missing
dogecash-payment-gateway-for-woocommerce/woocommerce-dogecash.php 92% from 13 tests
Analyzing the main PHP file in "DogeCash Gateway for WooCommerce" version 1.0.7
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dogecash-payment-gateway-for-woocommerce.php" instead of "woocommerce-dogecash.php")
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
There were no executable files found in this plugin849 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 153 | 66 | 552 |
CSS | 1 | 3 | 1 | 180 |
JavaScript | 1 | 21 | 12 | 82 |
SVG | 2 | 6 | 2 | 22 |
Markdown | 1 | 12 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/plugin-logo.png | 3.89KB | 2.38KB | ▼ 38.81% |