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.06MB] [CPU: ▼3.17ms] Passed 4 tests
Analyzing server-side resources used by eProcessing Network Payment Gateway for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.88 ▼3.83 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.83 ▼5.67 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.09 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.39 ▼4.89 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.64 ▲4.20 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for eProcessing Network Payment Gateway for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.39 | 1.64 ▼0.19 | 46.80 ▲7.60 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼1.03 | 100.32 ▼0.71 | 37.87 ▲0.84 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 37.39 ▲3.04 | 32.50 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,539 ▲18 | 23.28 ▲0.21 | 604.09 ▼15.93 | 52.17 ▼32.27 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.20 | 94.64 ▼6.74 | 42.84 ▼4.17 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 86% from 29 tests
readme.txt 75% 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
These attributes need your attention:
- Requires at least: Invalid version format
- Screenshots: Please add an image for screenshot #5 (Screenshot-5 - ePN Order Details)
- Screenshots: A description for screenshot #2 is required in epn-woocommerce-addon/assets to your readme.txt
- Tested up to: Invalid version format
epn-woocommerce-addon/epn-woocommerce-addon.php Passed 13 tests
The entry point to "eProcessing Network Payment Gateway for WooCommerce" version 1.0 is a PHP file that has certain tags in its header comment area
118 characters long description:
This plugin adds a payment option in WooCommerce for customers to pay with their Credit Cards Via eProcessing Network.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected299 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 19 | 299 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/discover.png | 5.78KB | 3.07KB | ▼ 46.82% |
images/dinersclub.png | 6.35KB | 3.25KB | ▼ 48.74% |
images/epn.png | 8.53KB | 3.53KB | ▼ 58.61% |
images/maestro.png | 9.75KB | 3.88KB | ▼ 60.26% |
images/visaelectron.png | 8.44KB | 3.69KB | ▼ 56.33% |