Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.30ms] Passed 4 tests
An overview of server-side resources used by PayFlexi Instalment Payment Gateway for Easy Digital Downloads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.42 ▼1.83 |
Dashboard /wp-admin | 3.40 ▲0.05 | 48.80 ▼45.63 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.64 ▲2.93 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.85 ▲3.90 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.01 ▲3.32 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for PayFlexi Instalment Payment Gateway for Easy Digital Downloads
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.34 ▼1.27 | 1.62 ▼0.41 | 42.49 ▲0.01 |
Dashboard /wp-admin | 2,206 ▲21 | 4.87 ▼1.01 | 111.81 ▲9.13 | 44.61 ▲2.38 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.08 | 41.23 ▼0.77 | 35.46 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.27 ▲5.15 | 670.83 ▲53.36 | 58.98 ▲6.49 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.05 | 95.06 ▼11.93 | 45.93 ▲4.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: online payments, paystack, edd, installment, flutterwave...
payflexi-instalment-payment-gateway-for-easy-digital-downloads/edd-payflexi.php 85% from 13 tests
"PayFlexi Instalment Payment Gateway for Easy Digital Downloads" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 197 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("payflexi-instalment-payment-gateway-for-easy-digital-downloads.php" instead of "edd-payflexi.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin464 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 143 | 124 | 464 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-icon-primary.png | 44.32KB | 12.00KB | ▼ 72.94% |
assets/images/logo-icon-white.png | 35.93KB | 12.00KB | ▼ 66.61% |
assets/images/payflexi-logo-light.png | 6.76KB | 3.76KB | ▼ 44.32% |
assets/images/logo-dark@2x.png | 24.30KB | 7.07KB | ▼ 70.89% |
assets/images/payflexi-wc.png | 7.35KB | 3.01KB | ▼ 59.12% |