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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.92ms] Passed 4 tests
An overview of server-side resources used by BestRate Payment Gateway for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.61 ▼11.33 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.57 ▼0.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.94 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.68 ▲9.99 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.47 ▲1.55 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for BestRate Payment Gateway for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.48 ▼0.10 | 1.73 ▼0.38 | 42.17 ▲2.17 |
Dashboard /wp-admin | 2,206 ▲21 | 5.81 ▼0.04 | 100.98 ▼5.28 | 43.37 ▼1.45 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.05 | 34.21 ▼6.46 | 36.86 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.27 ▲5.21 | 700.24 ▲91.86 | 56.88 ▲2.55 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▲0.06 | 94.69 ▼4.02 | 43.05 ▼0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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 | 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 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (BestRate Payment Gateway setup - cryptocurrency and wallet selection window), #2 (Some of the 120 cryptocurrencies supported by BestRate), #3 (BestRate Bitcoin Payment Page - Invoice)
bestrate-checkout-for-woocommerce/bestrate-checkout-for-woocommerce.php Passed 13 tests
The entry point to "BestRate Payment Gateway for WooCommerce" version 0.5.29 is a PHP file that has certain tags in its header comment area
61 characters long description:
Accept crypto payments via BestRate in your WooCommerce store
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
There were no executable files found in this plugin496 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 101 | 56 | 419 |
SVG | 3 | 0 | 0 | 43 |
Markdown | 1 | 18 | 0 | 34 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin