Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼3.71MB] [CPU: ▼726,911.76ms] Passed 4 tests
An overview of server-side resources used by Gateway for Wise on WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 18.23 ▲14.72 | 2,915,129.30 ▲2,915,084.85 |
Dashboard /wp-admin | 3.36 ▼14.86 | 50.92 ▼2,907,631.08 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 53.05 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 87.49 ▼16.76 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 37.47 ▲1.96 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Gateway for Wise on WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.70 ▲0.35 | 1.90 ▲0.16 | 42.83 ▲2.26 |
Dashboard /wp-admin | 2,203 ▲32 | 5.60 ▲0.01 | 88.09 ▼3.07 | 42.76 ▼0.58 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.03 ▲0.04 | 36.72 ▼3.56 | 36.48 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.25 ▼0.29 | 653.33 ▼29.22 | 52.69 ▼10.60 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.24 ▲0.10 | 101.30 ▲2.11 | 43.62 ▼4.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: wire, checkout, bank transfer, wise, woocommerce...
wc-wise-gateway/wc-wise-gateway.php Passed 13 tests
"Gateway for Wise on WooCommerce" version 2.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
WooCommerce payment gateway for Wise
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
No dangerous file extensions were detected739 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 72 | 155 | 534 |
PO File | 1 | 62 | 71 | 204 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected