Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼13.91ms] Passed 4 tests
An overview of server-side resources used by Cryptopay Gateway for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.77 ▼11.85 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.42 ▼8.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.07 ▼11.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.82 ▼23.65 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.73 ▲0.81 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cryptopay Gateway for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.41 ▼0.17 | 1.78 ▼0.00 | 43.26 ▲6.66 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▲0.04 | 94.50 ▼11.89 | 41.74 ▼3.03 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.03 | 39.47 ▼2.57 | 40.00 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.29 ▼0.31 | 615.55 ▼77.17 | 55.44 ▼2.75 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.31 ▲0.15 | 102.04 ▼8.58 | 42.64 ▼6.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Coin selection screen)
wc-cryptopay-gateway/wc-cryptopay-gateway.php Passed 13 tests
The main PHP file in "Cryptopay Gateway for WooCommerce" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
95 characters long description:
Accept crypto – get fiat! Make the most of receiving, exchanging and sending crypto globally.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin316 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 42 | 81 | 316 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin