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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.43ms] Passed 4 tests
An overview of server-side resources used by CCAvenue Payment Gateway for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.66 ▼1.45 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.98 ▲1.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.38 ▲8.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.63 ▼7.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.56 ▲1.80 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for CCAvenue 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.14 ▼1.21 | 1.62 ▼0.71 | 41.09 ▼3.11 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.90 | 95.81 ▼11.94 | 39.03 ▼4.74 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 1.99 ▼0.01 | 37.70 ▲1.26 | 32.10 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,519 ▼10 | 23.15 ▼0.22 | 657.89 ▼23.96 | 56.84 ▲3.85 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.04 | 95.04 ▼6.64 | 41.60 ▼1.06 |
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 were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== ccavanue-woocommerce-payment-getway ===
) - Screenshots: Please add images for these screenshots: #1 (WooCommerce payment gateway setting page), #2 (CCAvenue setting page), #3 (CCAvenue Payment gateway option at the checkout page)
- Donate link: Please fix this invalid URI: "'http://jeetudyog.com/donation.php'"
ccavanue-woocommerce-payment-getway/index.php 92% from 13 tests
This is the main PHP file of "CCAvenue Payment Gateway for WooCommerce" version 3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("ccavanue-woocommerce-payment-getway.php" instead of "index.php")
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 detected460 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 63 | 460 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 12.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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.22MB with 0.15MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 84.39KB | 27.59KB | ▼ 67.31% |
images/logo.png | 15.20KB | 3.58KB | ▼ 76.41% |
screenshot-2.png | 86.29KB | 29.09KB | ▼ 66.28% |
screenshot-3.png | 40.63KB | 15.74KB | ▼ 61.25% |