Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.73ms] Passed 4 tests
An overview of server-side resources used by Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.89 ▼3.13 |
Dashboard /wp-admin | 3.52 ▲0.22 | 50.24 ▲0.13 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.80 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 93.59 ▼4.53 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 36.75 ▲1.33 |
Server storage [IO: ▲1.29MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_googlesheets_accounts |
wp_vxcf_googlesheets |
wp_vxcf_googlesheets_log |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
vxcf_googlesheets_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.67 ▲0.39 | 1.75 ▲0.01 | 40.78 ▼6.84 |
Dashboard /wp-admin | 2,214 ▲36 | 5.56 ▼0.11 | 84.19 ▼20.14 | 39.76 ▼5.00 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.97 ▼0.03 | 40.70 ▲2.15 | 35.11 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 18.29 ▼4.93 | 637.87 ▼28.05 | 63.57 ▲17.61 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.18 ▼0.03 | 98.36 ▼2.41 | 43.31 ▼1.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_vxcf_googlesheets_log
- wp_vxcf_googlesheets_accounts
- wp_vxcf_googlesheets
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- vxcf_googlesheets_version
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: ninja forms google sheets, wpforms google sheet integration, contact form 7 google sheets, google sheets, wordpress google sheets
integration-for-contact-form-7-and-google-sheets/integration-for-contact-form-7-and-google-sheets.php 85% from 13 tests
Analyzing the main PHP file in "Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms" version 1.0.5
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 233 characters long)
- 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
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
Success! There were no dangerous files found in this plugin7,869 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 731 | 839 | 6,952 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 144.86 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 461.00 |
Average method complexity | 6.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.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 | 188 | |
▷ Static methods | 6 | 3.19% |
▷ Public methods | 182 | 96.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.19% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
35 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |
css/images/ui-bg_flat_75_ba9217_40x100.png | 0.20KB | 0.08KB | ▼ 57.77% |
images/created.png | 1.52KB | 0.50KB | ▼ 67.24% |
css/images/ui-icons_88a206_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |