Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/coinwaypay-gateway-for-woocommerce/class-wc-gateway-coinway.php+239
The (real) cast is deprecated, use (float) instead
Server metrics [RAM: ▼1.91MB] [CPU: ▼58.70ms] Passed 4 tests
A check of server-side resources used by CoinwayPAY Gateway for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.19 ▼39.54 |
Dashboard /wp-admin | 2.10 ▼1.20 | 6.87 ▼46.13 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.52 ▼48.34 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 6.30 ▼100.79 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 7.10 ▼25.16 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for CoinwayPAY Gateway for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▼0.03 | 1.72 ▼0.35 | 45.01 ▲1.59 |
Dashboard /wp-admin | 2,192 ▲15 | 5.55 ▼0.03 | 88.96 ▲1.20 | 42.33 ▲0.80 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 38.69 ▼1.67 | 38.36 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.54 ▲0.68 | 681.11 ▼14.75 | 58.20 ▲4.86 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▼0.03 | 95.14 ▼9.81 | 44.29 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/coinwaypay-gateway-for-woocommerce/class-wc-gateway-coinway.php+239
The (real) cast is deprecated, use (float) instead
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Contributors: The plugin contributors field is missing
coinwaypay-gateway-for-woocommerce/index.php 85% from 13 tests
The entry point to "CoinwayPAY Gateway for Woocommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coinwaypay-gateway-for-woocommerce.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin319 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 72 | 14 | 319 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 4.43 |
▷ 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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin