Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.23ms] Passed 4 tests
A check of server-side resources used by Proxypay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 39.64 ▼3.22 |
Dashboard /wp-admin | 3.43 ▲0.08 | 50.28 ▼2.54 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 51.90 ▼11.56 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.08 | 89.88 ▼3.59 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 38.54 ▲1.81 |
Server storage [IO: ▲0.17MB] [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: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Proxypay
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.16 | 1.56 ▼0.21 | 40.48 ▼3.42 |
Dashboard /wp-admin | 2,198 ▲27 | 5.62 ▲0.04 | 95.01 ▲7.11 | 40.14 ▼0.92 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.06 | 41.13 ▼0.25 | 35.73 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 18.18 ▼4.89 | 606.44 ▼35.95 | 60.76 ▲12.60 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.02 | 97.18 ▼6.96 | 42.50 ▼6.24 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Netoxygen\\ProxyPay\\PaymentQuery' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/src/Netoxygen/ProxyPay/PaymentResponse.php:9
- > PHP Warning
require_once(wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/bootstrap.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Netoxygen\\ProxyPay\\PaymentQuery' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/src/Netoxygen/ProxyPay/PaymentRequest.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/Netoxygen/ProxyPay/PaymentResponseTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/Netoxygen/ProxyPay/PaymentRequestTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/Netoxygen/ProxyPay/PaymentQueryTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/Netoxygen/ProxyPay/ParametersFilterTest.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/Netoxygen/ProxyPay/ShaComposerTest.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wcproxypay/wcproxypay.php:17
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wcproxypay/vendor/netoxygen/proxypay/tests/bootstrap.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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:
- Contributors: Plugin contributors not specified
wcproxypay/wcproxypay.php Passed 13 tests
"Proxypay" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
20 characters long description:
Proxypay integration
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
Success! There were no dangerous files found in this plugin1,933 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 202 | 437 | 1,034 |
HTML | 1 | 9 | 0 | 310 |
Markdown | 2 | 65 | 0 | 229 |
CSS | 1 | 85 | 155 | 184 |
JSON | 2 | 0 | 0 | 81 |
make | 3 | 12 | 2 | 39 |
XML | 1 | 0 | 0 | 38 |
YAML | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 4 | 5.97% |
▷ Public methods | 62 | 92.54% |
▷ Protected methods | 4 | 5.97% |
▷ Private methods | 1 | 1.49% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin