Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.89ms] Passed 4 tests
Analyzing server-side resources used by GSheetConnector for Forminator Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.81 ▼3.42 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.67 ▼17.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.98 ▼2.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.88 ▼1.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.10 ▼4.86 |
Server storage [IO: ▲8.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,256 new files
Database: no new tables, 17 new options
New WordPress options |
---|
theysaidso_admin_options |
gs_formntr_tab_roles_setting |
gs_formntr_token |
fs_active_plugins |
db_upgraded |
widget_recent-comments |
gs_formntr_access_code |
fs_accounts |
widget_theysaidso_widget |
gs_formntr_feeds |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for GSheetConnector for Forminator Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.34 ▲0.00 | 1.61 ▼0.04 | 39.70 ▼3.58 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.09 | 91.67 ▼9.45 | 41.60 ▼5.52 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.04 | 39.30 ▲0.23 | 36.50 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.35 ▲0.34 | 579.98 ▼119.68 | 62.07 ▲2.85 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▲0.01 | 95.14 ▼10.70 | 42.52 ▼0.37 |
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 does not fully uninstall, leaving 17 options in the database
- gs_formntr_feeds
- gs_formntr_verify
- gs_formntr_checkbox_settings
- gs_formntr_access_code
- gs_formntr_token
- gs_formntr_tab_roles_setting
- fs_accounts
- theysaidso_admin_options
- fs_active_plugins
- gs_formntr_settings
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 663× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/monolog/monolog/src/Monolog/Handler/InsightOpsHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php:22
- > PHP Warning
Class 'Google\\Service\\Resource' not found in wp-content/plugins/gsheetconnector-forminator/lib/src/aliases.php on line 33
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\OpenSSH' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/OpenSSH.php:31
- > PHP Fatal error
Trait 'phpseclib3\\Crypt\\EC\\Formats\\Keys\\Common' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/XML.php on line 40
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/google/apiclient-services/src/Drive/DriveRestrictions.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/google/apiclient-services/src/Sheets/DimensionGroup.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Service\\Resource' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/google/apiclient-services/src/Drive/Resource/Revisions.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/google/apiclient-services/src/Drive/ContentRestriction.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-forminator/lib/vendor/google/apiclient-services/src/Sheets/TextToColumnsRequest.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in gsheetconnector-forminator/assets to your readme.txt
gsheetconnector-forminator/gsheetconnector-forminator.php Passed 13 tests
The principal PHP file in "GSheetConnector for Forminator Forms" v. 1.0.2 is loaded by WordPress automatically on each request
66 characters long description:
Send your Forminator Forms data to your Google Sheets spreadsheet.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected118,002 lines of code in 1,171 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,097 | 21,407 | 73,773 | 108,170 |
Markdown | 30 | 1,723 | 0 | 5,129 |
JSON | 19 | 0 | 0 | 2,065 |
CSS | 15 | 227 | 211 | 1,819 |
JavaScript | 4 | 147 | 133 | 686 |
YAML | 3 | 3 | 2 | 102 |
XML | 1 | 0 | 0 | 19 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 82 | |
Interfaces | 50 | |
Traits | 14 | |
Classes | 957 | |
▷ Abstract classes | 216 | 22.57% |
▷ Concrete classes | 741 | 77.43% |
▷ Final classes | 53 | 7.15% |
Methods | 7,216 | |
▷ Static methods | 881 | 12.21% |
▷ Public methods | 5,952 | 82.48% |
▷ Protected methods | 408 | 5.65% |
▷ Private methods | 856 | 11.86% |
Functions | 277 | |
▷ Named functions | 135 | 48.74% |
▷ Anonymous functions | 142 | 51.26% |
Constants | 676 | |
▷ Global constants | 118 | 17.46% |
▷ Class constants | 558 | 82.54% |
▷ Public constants | 518 | 92.83% |
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
10 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/btn_google_signin_dark_pressed_web.png | 4.14KB | 2.15KB | ▼ 48.09% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/img/sync_folder_2.png | 12.00KB | 4.87KB | ▼ 59.40% |
assets/img/GSheet-Connector_logo.png | 23.37KB | 4.89KB | ▼ 79.07% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |