Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/agile-cash/src/AGC_Util.php+38
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.31ms] Passed 4 tests
Analyzing server-side resources used by Agile Cash Crypto Payments for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.86 ▼2.02 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.59 ▼5.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.52 ▼10.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.03 ▼23.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.80 ▼0.55 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 72 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_agc_carousel |
wp_agc_electrum_addresses |
wp_agc_payments |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Agile Cash Crypto Payments for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.09 | 1.64 ▼0.09 | 45.74 ▲2.89 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.09 | 84.08 ▼4.86 | 41.04 ▼4.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.04 | 34.73 ▼7.14 | 35.16 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.19 ▲0.15 | 660.35 ▼7.62 | 54.61 ▼0.41 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.05 | 102.43 ▼12.60 | 42.41 ▼8.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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 50% from 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/agile-cash/agile-cash.php:15
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/agile-cash/src/AGC_Gateway.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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: Please reduce the number of tags, currently 66 tag instead of maximum 10
agile-cash/agile-cash.php Passed 13 tests
The main PHP script in "Agile Cash Crypto Payments for WooCommerce" version 1.8.3 is automatically included on every request by WordPress
86 characters long description:
WooCommerce Plug-in that allows your customers to pay with supported cryptocurrencies.
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
Good job! No executable or dangerous file extensions detected5,344 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 1,396 | 544 | 5,044 |
JavaScript | 1 | 45 | 10 | 294 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 41.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 4.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 141 | 60.52% |
▷ Public methods | 198 | 84.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 35 | 15.02% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 17 | |
▷ Global constants | 6 | 35.29% |
▷ Class constants | 11 | 64.71% |
▷ Public constants | 11 | 100.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
43 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bytecoin_logo_small.png | 0.73KB | 0.62KB | ▼ 14.88% |
assets/img/bitcoingold_logo_small.png | 1.19KB | 1.29KB | 0.00% |
assets/img/Dogecoin_Logo_Small.png | 1.58KB | 1.44KB | ▼ 8.85% |
assets/img/geminidollar_logo_small.png | 1.10KB | 1.17KB | 0.00% |
assets/img/holochain_logo_small.png | 1.32KB | 1.34KB | 0.00% |