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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼12.07ms] Passed 4 tests
This is a short check of server-side resources used by PaymentIQ Checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 35.32 ▼5.45 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.14 ▼16.05 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.50 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.34 ▼23.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.21 ▲0.34 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by PaymentIQ Checkout
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.15 | 1.61 ▼0.54 | 40.39 ▼10.79 |
Dashboard /wp-admin | 2,209 ▲24 | 4.83 ▼0.03 | 109.13 ▼4.77 | 43.83 ▼1.89 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.97 ▼0.02 | 40.29 ▲0.09 | 34.40 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,542 ▲18 | 23.34 ▲0.13 | 644.04 ▼23.67 | 53.50 ▼5.13 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.17 ▼0.03 | 95.00 ▼6.26 | 43.07 ▼3.24 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/paymentiq-checkout/paymentiq-checkout.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include(PIQ_WC_PLUGIN_PATH/inc/Base/piq-co-settings-links.php): failed to open stream: No such file or directory in wp-content/plugins/paymentiq-checkout/inc/piq-co-init.php on line 12
- > PHP Warning
include(): Failed opening 'PIQ_WC_PLUGIN_PATH/inc/Base/piq-co-enqueue.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paymentiq-checkout/inc/piq-co-init.php on line 13
- > PHP Warning
Use of undefined constant PIQ_WC_PLUGIN_PATH - assumed 'PIQ_WC_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/paymentiq-checkout/inc/Base/piq-co-settings-links.php on line 13
- > PHP Warning
include(): Failed opening 'PIQ_WC_PLUGIN_PATH/inc/Base/piq-co-base-controller.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paymentiq-checkout/inc/Base/piq-co-settings-links.php on line 13
- > PHP Warning
include_once(PIQ_WC_PLUGIN_PATH/inc/piq-co-admin-utils.php): failed to open stream: No such file or directory in wp-content/plugins/paymentiq-checkout/inc/Api/piq-co-admin-api.php on line 14
- > PHP Warning
include(): Failed opening 'PIQ_WC_PLUGIN_PATH/inc/Base/piq-co-settings-links.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paymentiq-checkout/inc/piq-co-init.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Piq_Co_BaseController' not found in wp-content/plugins/paymentiq-checkout/inc/Base/piq-co-settings-links.php:15
- > PHP Warning
include(PIQ_WC_PLUGIN_PATH/inc/Base/piq-co-base-controller.php): failed to open stream: No such file or directory in wp-content/plugins/paymentiq-checkout/inc/Base/piq-co-settings-links.php on line 13
- > PHP Warning
Use of undefined constant PIQ_WC_PLUGIN_PATH - assumed 'PIQ_WC_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/paymentiq-checkout/inc/piq-co-init.php on line 13
- > PHP Warning
include_once(): Failed opening 'PIQ_WC_PLUGIN_PATH/inc/piq-co-admin-utils.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/paymentiq-checkout/inc/Api/piq-co-admin-api.php on line 14
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
paymentiq-checkout/paymentiq-checkout.php Passed 13 tests
The main PHP file in "PaymentIQ Checkout" ver. 1.0.11 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
PaymentIQ Checkout for Woocommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin7,147 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 5,527 |
PHP | 17 | 337 | 424 | 1,410 |
SVG | 1 | 0 | 1 | 103 |
Bourne Shell | 1 | 16 | 6 | 56 |
Markdown | 1 | 17 | 0 | 28 |
JavaScript | 3 | 4 | 15 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 11.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 73 | |
▷ Static methods | 37 | 50.68% |
▷ Public methods | 70 | 95.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.11% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.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 files were detected