Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.39ms] Passed 4 tests
An overview of server-side resources used by payware Mobile payments for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.96 ▼1.42 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.52 ▲0.29 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.94 ▲0.57 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.65 ▼4.98 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.93 ▲5.40 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for payware Mobile payments for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.69 ▼0.70 | 1.92 ▲0.31 | 40.02 ▲0.47 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.13 | 107.91 ▼12.04 | 38.21 ▼8.98 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.00 | 36.01 ▼3.88 | 32.10 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,528 ▼8 | 23.47 ▲0.43 | 670.77 ▲9.97 | 58.01 ▼0.98 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▲0.01 | 104.83 ▲5.78 | 44.67 ▲1.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 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/payware-mobile-payments-for-woocommerce/includes/class-paywr-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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: qr, woocommerce-extension, pay, payments, code...
payware-mobile-payments-for-woocommerce/payware-mobile-payments-for-woocommerce.php Passed 13 tests
The principal PHP file in "payware Mobile payments for WooCommerce" v. 1.1.0 is loaded by WordPress automatically on each request
53 characters long description:
Receive payments from any payware enabled mobile app.
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
Good job! No executable or dangerous file extensions detected1,628 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 162 | 296 | 902 |
SVG | 2 | 1 | 2 | 296 |
JavaScript | 5 | 24 | 5 | 174 |
CSS | 2 | 12 | 0 | 128 |
PO File | 1 | 45 | 53 | 125 |
Markdown | 1 | 0 | 0 | 2 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 14 | 56.00% |
▷ Public methods | 18 | 72.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 28.00% |
Functions | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin