Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.31ms] Passed 4 tests
A check of server-side resources used by Ninja Forms Google Sheet Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.45 ▼6.05 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.14 ▼19.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.38 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.02 ▼16.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.01 ▲3.40 |
Server storage [IO: ▲9.47MB] [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: 1,636 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_accounts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
njforms_gs_access_code |
njforms_gs_verify |
widget_recent-posts |
fs_active_plugins |
fs_debug_mode |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Ninja Forms Google Sheet Connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.17 | 1.59 ▼0.04 | 41.04 ▼1.09 |
Dashboard /wp-admin | 2,195 ▲21 | 5.55 ▼0.12 | 82.87 ▼20.09 | 39.54 ▼2.45 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▼0.01 | 39.90 ▼1.02 | 36.37 ▲3.26 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 22.79 ▼0.49 | 661.53 ▲51.22 | 52.56 ▲4.55 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▲0.01 | 94.71 ▼0.86 | 41.96 ▲1.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- njforms_gs_verify
- widget_theysaidso_widget
- can_compress_scripts
- njforms_gs_access_code
- fs_active_plugins
- fs_accounts
- theysaidso_admin_options
- widget_recent-comments
- fs_debug_mode
- db_upgraded
- ...
Smoke tests 50% 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 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gsheetconnector-ninja-forms/includes/Config/PluginSettings.php
- 990× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Sheets/RefreshDataSourceResponse.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Google/Service/Drive/Channel.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Drive/DriveFileCapabilities.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google_Collection' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Google/Service/Sheets/DeleteDuplicatesRequest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Google/Service/Sheets/FindReplaceResponse.php:18
- > PHP Fatal error
Uncaught Exception: This library must be installed via composer or by downloading the full package. See the instructions at https://github.com/google/google-api-php-client#installation. in wp-content/plugins/gsheetconnector-ninja-forms/lib/src/autoload.php:14
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\Base' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/TwistedEdwards.php:42
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/google/apiclient-services/src/Drive/DriveFileContentHints.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/monolog/monolog/src/Monolog/Handler/AmqpHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/gsheetconnector-ninja-forms/lib/vendor/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Requires at least: The plugin version is formatted incorrectly
gsheetconnector-ninja-forms/gsheetconnector-ninjaforms.php 69% from 13 tests
The principal PHP file in "Ninja Forms Google Sheet Connector" v. 1.2.12 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gsheetconnector-ninja-forms.php" instead of "gsheetconnector-ninjaforms.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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 detected137,713 lines of code in 1,537 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,436 | 22,538 | 85,738 | 126,797 |
Markdown | 35 | 1,907 | 0 | 5,595 |
JSON | 24 | 0 | 0 | 2,126 |
PO File | 4 | 456 | 622 | 1,664 |
CSS | 15 | 86 | 47 | 768 |
JavaScript | 5 | 52 | 80 | 328 |
YAML | 9 | 33 | 2 | 235 |
Python | 1 | 22 | 25 | 77 |
XML | 5 | 3 | 0 | 72 |
HTML | 1 | 0 | 0 | 39 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,088)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 85 | |
Interfaces | 50 | |
Traits | 15 | |
Classes | 1,288 | |
▷ Abstract classes | 220 | 17.08% |
▷ Concrete classes | 1,068 | 82.92% |
▷ Final classes | 56 | 5.24% |
Methods | 9,898 | |
▷ Static methods | 889 | 8.98% |
▷ Public methods | 8,626 | 87.15% |
▷ Protected methods | 409 | 4.13% |
▷ Private methods | 863 | 8.72% |
Functions | 300 | |
▷ Named functions | 158 | 52.67% |
▷ Anonymous functions | 142 | 47.33% |
Constants | 730 | |
▷ Global constants | 117 | 16.03% |
▷ Class constants | 613 | 83.97% |
▷ Public constants | 573 | 93.47% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.20MB with 0.10MB 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/faq-screenshot1.png | 35.82KB | 14.86KB | ▼ 58.52% |
assets/img/faq-screenshot2.png | 47.31KB | 23.50KB | ▼ 50.33% |
assets/img/help.png | 1.51KB | 1.35KB | ▼ 10.25% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |