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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.70ms] Passed 4 tests
Analyzing server-side resources used by PayFlexi Installment Payment Plans for LifterLMS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 43.16 ▼1.29 |
Dashboard /wp-admin | 3.37 ▼0.02 | 51.10 ▼15.11 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 49.04 ▼4.67 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 86.76 ▼9.74 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 40.27 ▲2.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 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 Installment Payment Plans for LifterLMS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▼0.02 | 1.95 ▲0.18 | 39.94 ▼0.43 |
Dashboard /wp-admin | 2,198 ▲23 | 5.63 ▲0.03 | 110.77 ▲0.14 | 47.75 ▲4.53 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.02 | 36.55 ▼0.86 | 35.29 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.17 ▲0.05 | 696.43 ▲9.63 | 57.82 ▲3.41 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.02 | 99.36 ▼7.28 | 49.60 ▲5.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
payflexi-lifterlms-installment-payment-gateway/lifterlms-gateway-payflexi.php 62% from 13 tests
"PayFlexi Installment Payment Plans for LifterLMS" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- 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: Please rename the main PHP file in this plugin to the plugin slug ("payflexi-lifterlms-installment-payment-gateway.php" instead of "lifterlms-gateway-payflexi.php")
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
- Domain Path: The domain path points to an invalid folder, "/i18n" does not exist
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.2" instead of "5.1")
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
There were no executable files found in this plugin612 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 214 | 286 | 540 |
Markdown | 1 | 29 | 0 | 72 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 2 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 6.68KB | 4.22KB | ▼ 36.80% |