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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.95ms] Passed 4 tests
An overview of server-side resources used by Pagamento Pix da Aarin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.40 ▼4.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.23 ▼0.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.09 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.79 ▼18.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.96 ▲1.68 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
_wc_aarin_pay_pix_page_id |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Pagamento Pix da Aarin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.21 ▼1.20 | 1.55 ▼0.27 | 41.34 ▲0.88 |
Dashboard /wp-admin | 2,203 ▲24 | 5.82 ▲0.95 | 103.72 ▲0.07 | 38.62 ▼4.40 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.04 | 40.10 ▲3.77 | 35.31 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.67 ▼5.65 | 671.63 ▲39.19 | 52.54 ▲6.96 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.26 ▲0.04 | 95.40 ▼7.84 | 41.47 ▲0.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- _wc_aarin_pay_pix_page_id
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wc-aarin-pix/templates/thank-you-page.php:130
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 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
7 plugin tags: pix, cart, payments, checkout, gateway...
wc-aarin-pix/wc-aarin-pix.php Passed 13 tests
The main file in "Pagamento Pix da Aarin" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Gateway de pagamento Pix da Aarin para WooCommerce.
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
Success! There were no dangerous files found in this plugin1,372 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 332 | 377 | 1,353 |
Markdown | 1 | 9 | 0 | 15 |
JSON | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 10 | 13.70% |
▷ Public methods | 63 | 86.30% |
▷ Protected methods | 8 | 10.96% |
▷ Private methods | 2 | 2.74% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin