Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.29ms] Passed 4 tests
A check of server-side resources used by PayFeez
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.52 ▼2.55 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.27 ▼4.84 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.93 ▲1.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.75 ▼7.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.19 ▲1.23 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
PayFeez: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.70 ▲0.35 | 1.73 ▼0.34 | 44.64 ▼0.64 |
Dashboard /wp-admin | 2,201 ▲24 | 5.53 ▼0.05 | 90.06 ▼4.34 | 40.58 ▼6.07 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.94 ▼0.03 | 39.48 ▲0.50 | 38.06 ▲5.35 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.01 ▲0.13 | 631.87 ▼27.82 | 57.58 ▲5.02 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.01 | 100.01 ▼6.21 | 42.97 ▼0.23 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: stancer fees, paypal fees, frais woocommerce, woocommerce fees, stripe fees
payfeez/payfeez.php Passed 13 tests
This is the main PHP file of "PayFeez" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
77 characters long description:
Apply fees based on the WooCommerce payment gateway selected by the customer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin884 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 179 | 273 | 764 |
PO File | 2 | 38 | 72 | 120 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 50 | |
▷ Named functions | 50 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin