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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.08ms] Passed 4 tests
Analyzing server-side resources used by Custom Payment Gateway Icons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.42 ▼2.10 |
Dashboard /wp-admin | 3.34 ▲0.00 | 44.68 ▼17.44 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 44.55 ▼3.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.26 ▼17.02 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.67 ▼0.59 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Payment Gateway Icons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.28 ▲0.00 | 1.51 ▼0.44 | 41.09 ▲1.56 |
Dashboard /wp-admin | 2,192 ▲11 | 5.58 ▼0.13 | 89.69 ▼6.08 | 42.24 ▲0.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 41.27 ▲7.04 | 36.11 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.87 ▲0.62 | 590.54 ▼66.20 | 49.98 ▲1.06 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.04 | 101.22 ▼7.57 | 43.20 ▼3.87 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
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 on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #2 (This is plugin's logo) image not found
payment-gateway-icons-for-woocommerce/payment_gateway_icon_for_wooCommerce.php 77% from 13 tests
The main PHP file in "Custom Payment Gateway Icons" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("payment-gateway-icons-for-woocommerce.php" instead of "payment_gateway_icon_for_wooCommerce.php")
- Requires at least: Required version does not match the one declared in readme.txt ("5.4" instead of "5.8")
- Description: The description should be shorter than 140 characters (currently 191 characters long)
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
There were no executable files found in this plugin159 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 78 | 362 | 159 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin