Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.45ms] Passed 4 tests
Analyzing server-side resources used by Click2pay para WooCommerce | PIX, Cartão de Crédito e Boleto Bancário
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 43.24 ▼1.00 |
Dashboard /wp-admin | 3.43 ▲0.12 | 51.10 ▲2.03 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.58 ▲7.83 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 99.76 ▼4.57 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.13 ▲1.75 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Click2pay para WooCommerce | PIX, Cartão de Crédito e Boleto Bancário
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.69 ▲0.33 | 1.68 ▼0.39 | 48.45 ▲3.50 |
Dashboard /wp-admin | 2,195 ▲14 | 5.59 ▼0.11 | 95.95 ▼3.58 | 43.95 ▲4.63 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.01 | 41.21 ▲5.12 | 35.94 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.08 ▲5.16 | 638.83 ▼112.52 | 54.21 ▼32.73 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.13 ▲0.01 | 107.73 ▼1.76 | 41.75 ▼8.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: carto de crdito, pix, gateway, subscriptions, assinaturas...
click2pay-pagamentos/click2pay-pagamentos.php Passed 13 tests
Analyzing the main PHP file in "Click2pay para WooCommerce | PIX, Cartão de Crédito e Boleto Bancário" version 1.1.5
55 characters long description:
Receba pagamentos via Pix, Cartão de crédito e boleto
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,078 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 820 | 873 | 2,940 |
JavaScript | 4 | 38 | 34 | 133 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 1 | 1 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 25 | 17.12% |
▷ Public methods | 141 | 96.58% |
▷ Protected methods | 1 | 0.68% |
▷ Private methods | 4 | 2.74% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
There are no PNG files in this plugin