Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.07ms] Passed 4 tests
Server-side resources used by Pasarela de pago para seQura
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.29 ▼7.85 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.02 ▼14.74 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.67 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.29 ▼14.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.18 ▲0.41 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 189 new files
Database: no new tables, 8 new options
New WordPress options |
---|
woocommerce-sequra-deliveryreport-time |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
woocommerce_gateway_order |
Browser metrics Passed 4 tests
An overview of browser requirements for Pasarela de pago para seQura
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲30 | 14.39 ▲0.05 | 1.69 ▲0.03 | 40.56 ▼7.49 |
Dashboard /wp-admin | 2,197 ▲16 | 5.67 ▼0.02 | 91.46 ▼10.58 | 41.31 ▲4.91 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.00 ▼0.01 | 40.33 ▼2.64 | 36.56 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,528 ▼7 | 23.26 ▲4.84 | 645.81 ▼16.99 | 52.09 ▼17.53 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.21 ▲0.00 | 103.18 ▲0.01 | 42.50 ▼2.55 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- woocommerce-sequra-deliveryreport-time
- widget_theysaidso_widget
- woocommerce_gateway_order
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sequra/templates/checkout-script.php
- > /wp-content/plugins/sequra/templates/banner-pp6.php
- > /wp-content/plugins/sequra/templates/banner-pp3.php
- > /wp-content/plugins/sequra/templates/banner-pp9.php
- > /wp-content/plugins/sequra/templates/banner-i1.php
- 113× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\Handler' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\BufferHandler' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Handler/DeduplicationHandler.php:41
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php:25
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/sequra/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sequra/gateway-sequra.php:33
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Handler/SymfonyMailerHandler.php:29
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/sequra/vendor/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: bnpl, gateway, payment, woocommerce, installments...
sequra/sequra.php 92% from 13 tests
The entry point to "Pasarela de pago para seQura" version 2.0.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin13,439 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 161 | 2,507 | 7,380 | 11,798 |
Markdown | 10 | 285 | 0 | 801 |
JSON | 4 | 0 | 0 | 349 |
PO File | 1 | 131 | 260 | 257 |
CSS | 3 | 37 | 6 | 212 |
JavaScript | 1 | 1 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 10 | |
Traits | 5 | |
Classes | 128 | |
▷ Abstract classes | 9 | 7.03% |
▷ Concrete classes | 119 | 92.97% |
▷ Final classes | 3 | 2.52% |
Methods | 908 | |
▷ Static methods | 100 | 11.01% |
▷ Public methods | 650 | 71.59% |
▷ Protected methods | 176 | 19.38% |
▷ Private methods | 82 | 9.03% |
Functions | 44 | |
▷ Named functions | 17 | 38.64% |
▷ Anonymous functions | 27 | 61.36% |
Constants | 70 | |
▷ Global constants | 3 | 4.29% |
▷ Class constants | 67 | 95.71% |
▷ Public constants | 40 | 59.70% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin