Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.72ms] Passed 4 tests
An overview of server-side resources used by Accept Payments in USDT, BTC, ETH and Other Cryptocurrencies with Cryptomus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.44 ▼2.73 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.67 ▼3.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.15 ▼1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.69 ▼11.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.38 ▲1.68 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Accept Payments in USDT, BTC, ETH and Other Cryptocurrencies with Cryptomus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.25 ▼1.04 | 1.62 ▼0.20 | 38.80 ▼4.10 |
Dashboard /wp-admin | 2,209 ▲24 | 4.88 ▼0.98 | 108.75 ▼1.13 | 41.91 ▼4.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.07 | 40.26 ▼0.90 | 36.66 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.14 ▼0.09 | 604.98 ▲4.58 | 54.41 ▼6.73 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.05 | 97.93 ▼7.37 | 42.42 ▼0.84 |
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
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/cryptomus/src/Gateway.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #13, #14, #15, #2, #3, #3, #4, #4, #5, #6, #7, #8, #9 in cryptomus/assets to your readme.txt
cryptomus/cryptomus.php 92% from 13 tests
This is the main PHP file of "Accept Payments in USDT, BTC, ETH and Other Cryptocurrencies with Cryptomus" version 1.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,756 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 223 | 573 | 980 |
Markdown | 2 | 117 | 0 | 518 |
XML | 4 | 0 | 0 | 100 |
SVG | 2 | 0 | 0 | 80 |
JSON | 3 | 0 | 0 | 78 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 7 | 63.64% |
Methods | 64 | |
▷ Static methods | 23 | 35.94% |
▷ Public methods | 61 | 95.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.69% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 22 | 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
There were not PNG files found in your plugin