Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.14ms] Passed 4 tests
This is a short check of server-side resources used by e-payeye payments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 44.32 ▲4.29 |
Dashboard /wp-admin | 3.44 ▲0.14 | 50.89 ▼2.77 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 54.69 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.69 ▼8.54 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.97 ▲2.10 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 227 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
e-payeye payments: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.34 ▲0.12 | 1.91 ▲0.26 | 43.12 ▼1.19 |
Dashboard /wp-admin | 2,201 ▲24 | 5.57 ▼0.07 | 83.11 ▼7.51 | 43.07 ▲1.77 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.02 | 36.15 ▼2.11 | 38.99 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.06 ▼0.10 | 634.53 ▼73.69 | 56.31 ▲4.39 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▼0.03 | 99.14 ▼9.66 | 44.57 ▼1.44 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following
- 95× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'PayEye\\Lib\\Tool\\Builder' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/Order/OrderResponseModel.php on line 10
- > PHP Fatal error
Trait 'PayEye\\Lib\\Tool\\Builder' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/Model/Shop.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'PayEye\\Lib\\Exception\\PayEyePaymentException' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/Exception/OrderPriceNotMatchedException.php:7
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QRImage' not found in wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-qrcode/examples/QRImageWithLogo.php:24
- > PHP Fatal error
Trait 'PayEye\\Lib\\Tool\\Builder' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/Returns/ReturnUpdateStatusResponseModel.php on line 10
- > PHP Fatal error
Trait 'PayEye\\Lib\\Tool\\Builder' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/PromoCode/PromoCodeResponseModel.php on line 9
- > PHP Warning
require_once(wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-qrcode/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-qrcode/examples/custom_output.php on line 15
- > PHP Fatal error
Trait 'PayEye\\Lib\\Tool\\Builder' not found in wp-content/plugins/e-payeye-payments/vendor/payeye/lib/src/Model/Product.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-settings-container/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-settings-container/examples/advanced.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'chillerlan\\QRCode\\Output\\QROutputAbstract' not found in wp-content/plugins/e-payeye-payments/vendor/chillerlan/php-qrcode/src/Output/QRFpdf.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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
7 plugin tags: e-payeye payments, payeye, biometria, e-payeye, payment gateway...
e-payeye-payments/e-payeye-payments.php Passed 13 tests
The primary PHP file in "e-payeye payments" version 0.8.0 is used by WordPress to initiate all plugin functionality
33 characters long description:
e-payeye payments for WooCommerce
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
Everything looks great! No dangerous files found in this plugin10,026 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 202 | 2,739 | 2,550 | 9,381 |
JSON | 2 | 0 | 0 | 183 |
PO File | 1 | 50 | 58 | 139 |
HTML | 1 | 26 | 0 | 137 |
YAML | 5 | 27 | 3 | 95 |
XML | 3 | 0 | 0 | 84 |
JavaScript | 2 | 0 | 0 | 6 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 61 | |
Interfaces | 5 | |
Traits | 5 | |
Classes | 175 | |
▷ Abstract classes | 22 | 12.57% |
▷ Concrete classes | 153 | 87.43% |
▷ Final classes | 2 | 1.31% |
Methods | 654 | |
▷ Static methods | 86 | 13.15% |
▷ Public methods | 553 | 84.56% |
▷ Protected methods | 65 | 9.94% |
▷ Private methods | 36 | 5.50% |
Functions | 30 | |
▷ Named functions | 1 | 3.33% |
▷ Anonymous functions | 29 | 96.67% |
Constants | 165 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 165 | 100.00% |
▷ Public constants | 134 | 81.21% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/chillerlan/php-qrcode/examples/example_image.png | 2.23KB | 1.09KB | ▼ 50.94% |
vendor/chillerlan/php-qrcode/examples/octocat.png | 2.41KB | 2.46KB | 0.00% |
vendor/chillerlan/php-qrcode/examples/example_svg.png | 15.55KB | 6.70KB | ▼ 56.90% |