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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.57ms] Passed 4 tests
Server-side resources used by PayPay - Pagamentos Multibanco, Cartão de Crédito/Débito e MB WAY
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.32 ▼4.64 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.39 ▼16.08 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 43.05 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.62 ▼8.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.67 ▲5.10 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 74 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
paypay_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for PayPay - Pagamentos Multibanco, Cartão de Crédito/Débito e MB WAY
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼0.99 | 4.87 ▲3.07 | 42.70 ▼0.53 |
Dashboard /wp-admin | 2,210 ▲25 | 5.83 ▲0.02 | 96.64 ▼11.76 | 40.32 ▼7.40 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.02 | 35.16 ▼1.69 | 32.32 ▼5.49 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 23.35 ▲0.30 | 639.11 ▲10.48 | 62.96 ▼2.08 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.25 ▲0.03 | 99.59 ▼2.16 | 42.00 ▼3.58 |
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
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/paypay-pagamentos-multibanco-e-cartao-de-creditodebito/vendor/paypayue/paypay-soap-php/src/PayPayWebservice.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
paypay-pagamentos-multibanco-e-cartao-de-creditodebito/woocommerce-paypay.php 85% from 13 tests
The main file in "PayPay - Pagamentos Multibanco, Cartão de Crédito/Débito e MB WAY" v. 1.5.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 152 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("paypay-pagamentos-multibanco-e-cartao-de-creditodebito.php" instead of "woocommerce-paypay.php")
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 plugin3,480 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 784 | 1,219 | 2,881 |
PO File | 2 | 112 | 74 | 269 |
Markdown | 1 | 51 | 0 | 254 |
JSON | 2 | 0 | 0 | 76 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 52 | 100.00% |
▷ Final classes | 10 | 19.23% |
Methods | 154 | |
▷ Static methods | 27 | 17.53% |
▷ Public methods | 117 | 75.97% |
▷ Protected methods | 6 | 3.90% |
▷ Private methods | 31 | 20.13% |
Functions | 23 | |
▷ Named functions | 3 | 13.04% |
▷ Anonymous functions | 20 | 86.96% |
Constants | 29 | |
▷ Global constants | 1 | 3.45% |
▷ Class constants | 28 | 96.55% |
▷ Public constants | 28 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected