Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.51ms] Passed 4 tests
An overview of server-side resources used by Chase E-Xact Payment Gateway For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 33.90 ▼5.19 |
Dashboard /wp-admin | 3.36 ▲0.02 | 46.15 ▼11.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 47.60 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 78.86 ▼20.08 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.44 ▼0.10 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Chase E-Xact Payment Gateway For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.16 | 1.67 ▼0.09 | 40.69 ▼2.43 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.78 | 112.03 ▲11.62 | 41.07 ▼0.73 |
Posts /wp-admin/edit.php | 2,089 ▼6 | 2.00 ▲0.01 | 36.33 ▼0.80 | 34.25 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.03 ▲5.48 | 669.31 ▼15.76 | 53.86 ▼4.69 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.19 ▲0.01 | 95.93 ▼6.58 | 40.51 ▼4.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chasee-xact-payment-gateway-for-woocommerce/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== Chase E-Xact Payment Gateway For WooCommerce===
) - Screenshots: Add images for these screenshots: #1 (Activate Plugin.), #2 (Go to WooCommerce Settings.), #3 (Select Payment Gateways tab.), #4 (Select Chase E-Xact option.), #5 (Enable Chase E-Xact option from this page.), #6 (Enter the details.), #7 (Set gateway mode.), #8 (Sample screenshot from checkout page)
chasee-xact-payment-gateway-for-woocommerce/index.php 85% from 13 tests
Analyzing the main PHP file in "Chase E-Xact Payment Gateway For WooCommerce" version 1.0
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("chasee-xact-payment-gateway-for-woocommerce.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected268 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 41 | 268 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin