Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼310.83ms] Passed 4 tests
Server-side resources used by WooCommerce Advanced Extra Fees Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 75.31 ▲16.03 |
Dashboard /wp-admin | 3.41 ▲0.00 | 37.54 ▼1.91 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 41.33 ▼7.64 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 99.36 ▼1,217.76 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 25.90 ▼16.01 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Advanced Extra Fees Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲61 | 16.01 ▲0.03 | 5.88 ▼0.20 | 2.38 ▼0.12 |
Dashboard /wp-admin | 2,895 ▲37 | 6.13 ▼0.14 | 124.43 ▼7.69 | 203.11 ▼38.60 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.24 ▲0.01 | 65.95 ▲0.88 | 138.64 ▼40.48 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 17.96 ▲0.20 | 399.14 ▲3.25 | 183.97 ▲10.73 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.50 ▼0.03 | 138.85 ▲0.17 | 180.54 ▼10.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-advanced-extra-fees-lite/admin/partials/woocommerce-advanced-extra-fees-lite-admin-display.php
- > /wp-content/plugins/woo-advanced-extra-fees-lite/public/partials/woocommerce-advanced-extra-fees-lite-public-display.php
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
woo-advanced-extra-fees-lite/woocommerce-advanced-extra-fees.php 85% from 13 tests
"WooCommerce Advanced Extra Fees Lite" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("woo-advanced-extra-fees-lite.php" instead of "woocommerce-advanced-extra-fees.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,624 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 670 | 1,320 | 1,346 |
CSS | 2 | 14 | 26 | 176 |
JavaScript | 2 | 21 | 37 | 102 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 2 | 2.50% |
▷ Public methods | 75 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.25% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
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 |
admin/images/waeficon.png | 1.79KB | 1.21KB | ▼ 32.48% |