Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.21ms] Passed 4 tests
Analyzing server-side resources used by SecurePay For Fluent Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.43 ▲4.22 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.07 ▲0.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.80 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.87 ▼35.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.98 ▲6.26 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for SecurePay For Fluent Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.61 ▲0.08 | 2.00 ▲0.55 | 39.09 ▲0.45 |
Dashboard /wp-admin | 2,206 ▲38 | 5.59 ▲0.01 | 89.88 ▼2.56 | 43.16 ▼1.17 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.03 ▲0.01 | 40.93 ▲7.48 | 39.04 ▲2.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 23.38 ▲5.02 | 626.73 ▲18.00 | 68.69 ▲7.38 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.17 ▼0.10 | 100.69 ▲1.93 | 45.01 ▲2.65 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- 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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 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: payment gateway, online banking, payment platform, fpx, malaysia
securepay-for-fluentforms/securepay-for-fluentforms.php 92% from 13 tests
The main PHP script in "SecurePay For Fluent Forms" version 1.0.5 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,056 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 170 | 67 | 942 |
JavaScript | 2 | 8 | 1 | 67 |
CSS | 2 | 6 | 0 | 47 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 40 | |
▷ Static methods | 15 | 37.50% |
▷ Public methods | 27 | 67.50% |
▷ Protected methods | 1 | 2.50% |
▷ Private methods | 12 | 30.00% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
29 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/bnk/uob0226.png | 1.88KB | 1.44KB | ▼ 23.54% |
includes/admin/bnk/scb0216.png | 4.63KB | 2.54KB | ▼ 45.01% |
includes/admin/bnk/mb2u0227.png | 7.57KB | 3.35KB | ▼ 55.79% |
includes/admin/bnk/uob0229.png | 1.88KB | 1.44KB | ▼ 23.54% |
includes/admin/bnk/bkrm0602.png | 2.51KB | 1.57KB | ▼ 37.53% |