Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.09ms] Passed 4 tests
A check of server-side resources used by Dintero Checkout for WooCommerce Payment Methods
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.23 ▼10.10 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.13 ▼9.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.20 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.56 ▼7.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.99 ▼1.23 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Dintero Checkout for WooCommerce Payment Methods
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.67 ▲0.39 | 1.76 ▲0.18 | 37.90 ▼6.35 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.07 | 93.44 ▼7.04 | 43.76 ▲0.65 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▼0.08 | 39.62 ▼12.70 | 37.02 ▼5.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.05 ▼0.34 | 648.50 ▲15.35 | 61.07 ▲10.73 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▲0.02 | 96.24 ▼7.73 | 42.59 ▲0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_template() in wp-content/plugins/dintero-checkout-for-woocommerce/templates/dintero-checkout-embedded.php:11
- > PHP Notice
Undefined variable: checkout in wp-content/plugins/dintero-checkout-for-woocommerce/templates/dintero-checkout-express.php on line 9
- > PHP Fatal error
Uncaught Error: Call to a member function is_registration_enabled() on null in wp-content/plugins/dintero-checkout-for-woocommerce/templates/dintero-checkout-express.php:9
- > 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)
Everything seems fine, but this is not an exhaustive test
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 need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5 in dintero-checkout-for-woocommerce/assets to your readme.txt
dintero-checkout-for-woocommerce/dintero-checkout-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "Dintero Checkout for WooCommerce Payment Methods" version 1.9.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.8.3" instead of "6.1.0")
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
Good job! No executable or dangerous file extensions detected3,705 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 647 | 1,737 | 3,100 |
JavaScript | 5 | 65 | 88 | 547 |
CSS | 4 | 14 | 4 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 5 | 16.13% |
▷ Concrete classes | 26 | 83.87% |
▷ Final classes | 0 | 0.00% |
Methods | 194 | |
▷ Static methods | 25 | 12.89% |
▷ Public methods | 170 | 87.63% |
▷ Protected methods | 19 | 9.79% |
▷ Private methods | 5 | 2.58% |
Functions | 20 | |
▷ Named functions | 13 | 65.00% |
▷ Anonymous functions | 7 | 35.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin