Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼138.86ms] Passed 4 tests
Server-side resources used by E-billing Moyen de Paiement - Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 48.23 ▲22.86 |
Dashboard /wp-admin | 3.06 ▲0.00 | 56.62 ▲6.11 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 54.08 ▲6.04 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 97.41 ▼565.83 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 36.91 ▼1.74 |
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, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for E-billing Moyen de Paiement - Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.99 ▲0.49 | 11.01 ▼0.09 | 51.95 ▲5.61 |
Dashboard /wp-admin | 2,964 ▲33 | 5.89 ▼0.14 | 162.16 ▲0.97 | 110.59 ▲2.15 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 75.36 ▼8.55 | 106.57 ▲15.13 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.55 ▲3.66 | 450.09 ▼18.61 | 123.86 ▲1.38 |
Media Library /wp-admin/upload.php | 1,748 ▼59 | 5.00 ▼0.03 | 177.10 ▲11.61 | 130.27 ▲10.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
e-billing-moyen-de-paiement-woocommerce/woocommerceEbillingPayment.php 92% from 13 tests
The main file in "E-billing Moyen de Paiement - Woocommerce" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("e-billing-moyen-de-paiement-woocommerce.php" instead of "woocommerceEbillingPayment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected388 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 32 | 370 |
JavaScript | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 15 | |
▷ Static methods | 4 | 26.67% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 1 | 6.67% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/airtel-moov-acheter.png | 3.24KB | 1.81KB | ▼ 44.04% |