Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.23ms] Passed 4 tests
A check of server-side resources used by Connector for Gravity Forms and Google Sheets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.74 ▼5.53 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.89 ▼4.26 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.04 ▼4.90 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.30 ▼10.21 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.08 ▲1.92 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_googlesheets_accounts |
wp_vxg_googlesheets_log |
wp_vxg_googlesheets |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
vxg_googlesheets_pro_version |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Connector for Gravity Forms and Google Sheets: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.15 ▼0.47 | 1.63 ▲0.06 | 39.17 ▼2.20 |
Dashboard /wp-admin | 2,223 ▲51 | 5.60 ▼0.14 | 84.21 ▼17.15 | 42.10 ▲5.41 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.99 ▼0.12 | 36.20 ▲1.27 | 35.30 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.36 ▲0.33 | 671.36 ▼1.11 | 53.49 ▼7.81 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.15 ▼0.02 | 95.94 ▼17.37 | 45.61 ▼2.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_vxg_googlesheets
- wp_vxg_googlesheets_log
- wp_vxg_googlesheets_accounts
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- vxg_googlesheets_pro_version
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: gravity forms google drive, gravity forms, gravity forms to google sheet, gravity forms google sheets, gravity forms to google docs
wp-gravity-forms-spreadsheets/wp-gravity-forms-spreadsheets.php 92% from 13 tests
"Connector for Gravity Forms and Google Sheets" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin6,249 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 649 | 865 | 6,243 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 126)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 119.43 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 378.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 126.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 3 | 1.92% |
▷ Public methods | 150 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.85% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
8 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/active0.png | 0.22KB | 0.18KB | ▼ 16.67% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |
images/filtered.png | 1.47KB | 0.48KB | ▼ 67.40% |
images/created.png | 1.52KB | 0.50KB | ▼ 67.24% |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |