Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/gsheetconnector-for-elementor-forms/gsheetconnector-for-elementor-forms.php+38
Undefined variable: pro_element
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.77ms] Passed 4 tests
Analyzing server-side resources used by Elementor Forms Google Sheet Connector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.30 ▼4.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.91 ▲1.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.55 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.81 ▼19.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.96 ▼1.90 |
Server storage [IO: ▲9.36MB] [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,681 new files
Database: no new tables, 9 new options
New WordPress options |
---|
elefgs_access_code |
elefgs_token |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
elefgs_verify |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elementor Forms Google Sheet Connector
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.30 | 1.84 ▲0.20 | 42.99 ▼1.37 |
Dashboard /wp-admin | 2,198 ▲18 | 5.65 ▲0.03 | 88.17 ▼1.51 | 41.43 ▲5.41 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.06 | 35.23 ▼0.69 | 32.20 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.11 ▲0.39 | 666.54 ▲14.28 | 51.64 ▲0.43 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.25 ▲0.01 | 98.25 ▼6.28 | 44.85 ▼1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- elefgs_token
- elefgs_access_code
- widget_recent-comments
- elefgs_verify
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 1028× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Log\\LoggerInterface' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/psr/log/Psr/Log/AbstractLogger.php:12
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/google/apiclient-services/src/Drive/DriveCapabilities.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/google/apiclient-services/src/Sheets/DataSourceObjectReference.php:20
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\OpenSSH' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/OpenSSH.php:34
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\SymmetricKey' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/BlockCipher.php:25
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/google/apiclient-services/src/Drive/Permission.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gsheetconnector-for-elementor-forms/lib/vendor/google/apiclient-services/src/Google/Service/Sheets/DimensionGroup.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #9 in gsheetconnector-for-elementor-forms/assets to your readme.txt
gsheetconnector-for-elementor-forms/gsheetconnector-for-elementor-forms.php Passed 13 tests
Analyzing the main PHP file in "Elementor Forms Google Sheet Connector" version 1.0.11
57 characters long description:
Send your Elementor Form data to your Google Spreadsheet.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin147,115 lines of code in 1,590 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,486 | 25,134 | 87,078 | 137,253 |
Markdown | 39 | 1,949 | 0 | 5,758 |
JSON | 26 | 0 | 0 | 2,139 |
CSS | 14 | 69 | 22 | 875 |
JavaScript | 5 | 117 | 162 | 644 |
YAML | 11 | 42 | 2 | 273 |
XML | 6 | 3 | 0 | 84 |
Python | 1 | 22 | 25 | 77 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 89 | |
Interfaces | 51 | |
Traits | 14 | |
Classes | 1,383 | |
▷ Abstract classes | 218 | 15.76% |
▷ Concrete classes | 1,165 | 84.24% |
▷ Final classes | 53 | 4.55% |
Methods | 10,271 | |
▷ Static methods | 892 | 8.68% |
▷ Public methods | 8,862 | 86.28% |
▷ Protected methods | 482 | 4.69% |
▷ Private methods | 927 | 9.03% |
Functions | 388 | |
▷ Named functions | 169 | 43.56% |
▷ Anonymous functions | 219 | 56.44% |
Constants | 762 | |
▷ Global constants | 121 | 15.88% |
▷ Class constants | 641 | 84.12% |
▷ Public constants | 601 | 93.76% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/permission_screen.png | 29.71KB | 9.43KB | ▼ 68.24% |
assets/img/help.png | 1.51KB | 1.35KB | ▼ 10.25% |
freemius/assets/img/gsheetconnector-for-elementor-forms.png | 30.67KB | 4.57KB | ▼ 85.10% |
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% |