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
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.96ms] Passed 4 tests
A check of server-side resources used by Claudio Sanches - PagSeguro for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.57 ▼4.74 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.08 ▼12.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.95 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.06 ▼7.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.27 ▲2.16 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Claudio Sanches - PagSeguro for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.25 ▼0.31 | 1.62 ▼0.10 | 39.31 ▼2.10 |
Dashboard /wp-admin | 2,207 ▲30 | 5.58 ▼0.09 | 84.37 ▼5.67 | 37.20 ▲0.77 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.02 ▲0.02 | 37.47 ▲1.39 | 38.69 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.45 ▲0.34 | 600.55 ▼14.05 | 67.34 ▲6.97 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.21 ▼0.07 | 111.70 ▲12.22 | 43.63 ▼3.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: payment, pagseguro, woocommerce
woocommerce-pagseguro/woocommerce-pagseguro.php 92% from 13 tests
The main file in "Claudio Sanches - PagSeguro for WooCommerce" v. 2.14.0 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:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,096 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 380 | 647 | 1,668 |
JavaScript | 4 | 65 | 79 | 255 |
CSS | 2 | 29 | 5 | 173 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 11 | 13.92% |
▷ Public methods | 57 | 72.15% |
▷ Protected methods | 21 | 26.58% |
▷ Private methods | 1 | 1.27% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
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 |
assets/images/pagseguro.png | 5.39KB | 2.31KB | ▼ 57.08% |
assets/images/brazilian-flag.png | 4.32KB | 0.97KB | ▼ 77.62% |
assets/images/transparent-checkout-icons.png | 14.57KB | 7.22KB | ▼ 50.42% |