Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.46ms] Passed 4 tests
This is a short check of server-side resources used by EpicPay Payment Gateway for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.61 ▲1.51 |
Dashboard /wp-admin | 3.43 ▲0.12 | 51.91 ▼0.86 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.95 ▼1.63 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.15 ▼4.21 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.18 ▼3.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by EpicPay Payment Gateway for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.44 ▼0.12 | 1.72 ▼0.23 | 43.77 ▼0.81 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▲0.02 | 87.45 ▼0.36 | 37.74 ▼2.62 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.04 ▲0.09 | 34.22 ▼8.32 | 36.08 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.57 ▲0.53 | 653.73 ▼39.57 | 52.36 ▼15.80 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.00 | 100.09 ▼7.86 | 45.63 ▲0.56 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8 in epicpay-woocommerce-payment-gateway/assets to your readme.txt
- Contributors: The plugin contributors field is missing
epicpay-woocommerce-payment-gateway/epicpay-woocommerce-gateway.php 77% from 13 tests
The main PHP file in "EpicPay Payment Gateway for WooCommerce" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("epicpay-woocommerce-payment-gateway.php" instead of "epicpay-woocommerce-gateway.php")
- Description: Keep the plugin description shorter than 140 characters (currently 200 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("5.0.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected613 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 106 | 87 | 613 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected