Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Error in wp-content/plugins/gf-loqate-bank-verification/src/Plugin.php+20
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gf-loqate-bank-verification/src/Plugin.php:20
Stack trace:
#0 wp-content/plugins/gf-loqate-bank-verification/gf-loqate-bank-verification.php(30): Itineris\GFLoqateBankVerification\Plugin::run()
#1 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#2 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.84ms] Passed 4 tests
Analyzing server-side resources used by GF Loqate Bank Verification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.24 ▼5.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.43 ▼6.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.14 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.58 ▼8.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.63 ▼3.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by GF Loqate Bank Verification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.69 ▲0.36 | 1.74 ▼0.19 | 41.66 ▼3.85 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▲0.04 | 89.09 ▼8.32 | 43.11 ▼1.09 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.08 | 39.01 ▲2.13 | 39.26 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.33 ▼5.28 | 635.65 ▼20.34 | 65.51 ▲13.30 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.28 ▲0.10 | 102.62 ▲0.23 | 42.88 ▼0.75 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'GFAddOn' not found in wp-content/plugins/gf-loqate-bank-verification/src/AddOn.php:9
- > PHP Fatal error
Uncaught Error: Class 'Itineris\\GFLoqateBankVerification\\API\\BankAccountValidator' not found in wp-content/plugins/gf-loqate-bank-verification/src/API/TransientCachedBankAccountValidator.php:7
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4 in gf-loqate-bank-verification/assets to your readme.txt
gf-loqate-bank-verification/gf-loqate-bank-verification.php Passed 13 tests
The primary PHP file in "GF Loqate Bank Verification" version 0.5.0 is used by WordPress to initiate all plugin functionality
68 characters long description:
Verify Gravity Forms bank details with Loqate bank verification API.
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 plugin723 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 171 | 202 | 723 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 9 | 17.65% |
▷ Public methods | 35 | 68.63% |
▷ Protected methods | 14 | 27.45% |
▷ Private methods | 2 | 3.92% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 6 | 50.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin