Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.41ms] Passed 4 tests
Server-side resources used by Módulo PagSeguro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.62 ▲3.41 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.04 ▼4.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.87 ▼8.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.01 ▼16.01 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.69 ▲3.32 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Módulo PagSeguro
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.34 ▲0.19 | 1.76 ▲0.02 | 45.24 ▼0.28 |
Dashboard /wp-admin | 2,207 ▲27 | 5.59 ▼0.01 | 87.21 ▼13.70 | 43.84 ▼3.01 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▼0.14 | 39.81 ▲1.49 | 33.78 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.28 ▲0.06 | 668.18 ▲25.64 | 51.08 ▼1.33 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.22 ▲0.04 | 97.63 ▼6.63 | 46.87 ▼0.68 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Configurações do plugin.), #2 (Método de pagamento na página de finalizar o pedido.), #3 (Exemplo do Lightbox funcionando com o Sandbox do PagSeguro.), #4 (Pagamento com cartão de crédito usando o Checkout Transparente.), #5 (Pagamento com debito online usando o Checkout Transparente.), #6 (Pagamento com boleto bancário usando o Checkout Transparente.)
woo-pagseguro-rm/woo-pagseguro-rm.php 92% from 13 tests
The main file in "Módulo PagSeguro" v. 3.16.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,511 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 459 | 745 | 2,210 |
PO File | 1 | 219 | 379 | 595 |
JavaScript | 5 | 101 | 172 | 423 |
CSS | 2 | 29 | 5 | 173 |
JSON | 2 | 0 | 0 | 76 |
SVG | 2 | 0 | 0 | 23 |
XML | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 77.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 4.33 |
▷ 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 | 92 | |
▷ Static methods | 11 | 11.96% |
▷ Public methods | 67 | 72.83% |
▷ Protected methods | 24 | 26.09% |
▷ Private methods | 1 | 1.09% |
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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 1.04MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/brazilian-flag.png | 4.32KB | 0.97KB | ▼ 77.62% |
assets/screenshot-1.png | 356.19KB | 124.75KB | ▼ 64.98% |
assets/banner-1544x500.png | 373.09KB | 185.97KB | ▼ 50.16% |
assets/screenshot-4.png | 35.71KB | 17.61KB | ▼ 50.69% |
assets/icon-256x256.png | 23.55KB | 8.11KB | ▼ 65.54% |