Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/woo-pagseguro-parceled/woo-pagseguro-parceled.php+47
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.96ms] Passed 4 tests
This is a short check of server-side resources used by PagSeguro Parceled for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.21 | 37.86 ▼2.16 |
Dashboard /wp-admin | 3.50 ▲0.20 | 48.78 ▼3.31 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.42 ▼0.58 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 90.74 ▼5.79 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 38.35 ▲6.41 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
Activated_Plugin |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
woo_pagseguro_parceled_settings |
Browser metrics Passed 4 tests
A check of browser resources used by PagSeguro Parceled for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲116 | 13.30 ▼1.07 | 1.69 ▼0.13 | 42.13 ▲3.35 |
Dashboard /wp-admin | 2,229 ▲41 | 4.84 ▼1.06 | 108.99 ▲8.38 | 42.55 ▼2.37 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.00 ▲0.01 | 40.14 ▼0.54 | 38.35 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,568 ▲51 | 18.28 ▲0.56 | 622.01 ▲28.33 | 50.03 ▼4.70 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.22 ▼0.07 | 96.05 ▲0.63 | 41.45 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- woo_pagseguro_parceled_settings
- widget_recent-comments
- Activated_Plugin
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
9 plugin tags: installments, payment, parcelamento, parcela, pgina detalhe de produto...
woo-pagseguro-parceled/woo-pagseguro-parceled.php 85% from 13 tests
The entry point to "PagSeguro Parceled for WooCommerce" version 1.8.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 193 characters long)
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
There were no executable files found in this plugin1,067 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 105 | 129 | 1,067 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin