Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.02ms] Passed 4 tests
Analyzing server-side resources used by Plutu Formidable
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.87 ▼4.55 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.77 ▼16.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.01 ▲2.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.54 ▼9.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.09 ▲2.41 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Plutu Formidable
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.00 | 1.57 ▼0.17 | 42.10 ▼1.54 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.05 | 91.07 ▼3.33 | 41.31 ▼4.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.01 | 40.81 ▼2.84 | 34.74 ▼5.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.81 ▲5.53 | 703.05 ▲90.09 | 52.28 ▼25.91 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▲0.05 | 93.73 ▼3.12 | 44.99 ▲1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
plutu-formidable/plutu-formidable.php Passed 13 tests
The main PHP file in "Plutu Formidable" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
Plutu Payment Gateways for Formidable Forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,131 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 444 | 653 | 1,598 |
PO File | 1 | 142 | 246 | 268 |
JavaScript | 3 | 61 | 9 | 242 |
SVG | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 1 | 1.79% |
▷ Public methods | 50 | 89.29% |
▷ Protected methods | 5 | 8.93% |
▷ Private methods | 1 | 1.79% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/sadad.png | 13.45KB | 4.98KB | ▼ 63.00% |
assets/img/adfali.png | 16.14KB | 5.84KB | ▼ 63.79% |