Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.08ms] Passed 4 tests
An overview of server-side resources used by Gutena Forms - Contact Forms Block
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.23 ▼4.49 |
Dashboard /wp-admin | 3.50 ▲0.20 | 46.99 ▼3.67 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.18 ▼2.51 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 87.60 ▼5.66 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.72 ▲3.71 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 92 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_gutenaforms_field_value |
wp_gutenaforms_meta |
wp_gutenaforms_entries |
wp_gutenaforms |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
gutena_forms_store_version |
db_upgraded |
theysaidso_admin_options |
gutena_forms_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Gutena Forms - Contact Forms Block: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲145 | 14.24 ▼0.40 | 2.21 ▲0.43 | 36.42 ▼9.41 |
Dashboard /wp-admin | 2,279 ▲105 | 5.66 ▲0.08 | 96.48 ▼7.52 | 44.74 ▼0.21 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.00 ▼0.00 | 44.77 ▲2.31 | 37.87 ▼2.88 |
Add New Post /wp-admin/post-new.php | 6,289 ▲4,763 | 26.12 ▲2.89 | 954.23 ▲318.77 | 40.44 ▼10.89 |
Media Library /wp-admin/upload.php | 1,482 ▲88 | 4.25 ▲0.07 | 99.33 ▼3.79 | 62.30 ▲18.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_gutenaforms_field_value
- wp_gutenaforms_entries
- wp_gutenaforms
- wp_gutenaforms_meta
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- widget_recent-posts
- gutena_forms_version
- widget_theysaidso_widget
- gutena_forms_store_version
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: block, form block, contact form, forms, form
gutena-forms/gutena-forms.php 92% from 13 tests
The principal PHP file in "Gutena Forms - Contact Forms Block" v. 1.1.6 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 293 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected5,633 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 399 | 609 | 2,339 |
JavaScript | 34 | 153 | 83 | 1,542 |
Sass | 1 | 130 | 4 | 1,067 |
JSON | 7 | 0 | 0 | 566 |
SVG | 24 | 0 | 0 | 116 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
Average class complexity | 52.12 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 158.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 5 | 5.15% |
▷ Public methods | 79 | 81.44% |
▷ Protected methods | 5 | 5.15% |
▷ Private methods | 13 | 13.40% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/welcome.png | 23.94KB | 11.70KB | ▼ 51.13% |
assets/img/features/gutenberg.png | 3.79KB | 2.54KB | ▼ 32.96% |
assets/img/logo.png | 1.33KB | 0.73KB | ▼ 45.26% |
assets/img/view-actions.png | 5.63KB | 2.42KB | ▼ 56.99% |
assets/img/features/recaptcha.png | 1.68KB | 1.30KB | ▼ 22.26% |