Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.93ms] Passed 4 tests
Analyzing server-side resources used by Softech Form Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.16 ▲3.86 |
Dashboard /wp-admin | 3.33 ▼0.01 | 48.46 ▼8.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.96 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 77.35 ▼17.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.36 ▲1.09 |
Get Help /wp-admin/admin.php?page=softech-form-help | 3.22 | 28.27 |
Softech Forms /wp-admin/admin.php?page=softech-form-builder-list | 3.23 | 30.65 |
Create Form /wp-admin/admin.php?page=softech-new-form | 3.20 | 28.49 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 35 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_softech_forms |
New WordPress options |
---|
widget_theysaidso_widget |
softech_forms_db_version |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Softech Form Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲227 | 14.05 ▼0.31 | 14.77 ▲13.21 | 39.68 ▼0.54 |
Dashboard /wp-admin | 2,245 ▲64 | 5.18 ▼0.72 | 87.13 ▼9.60 | 35.36 ▼8.57 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.43 ▲0.44 | 38.24 ▼1.21 | 33.41 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,724 ▲198 | 23.10 ▼0.40 | 668.94 ▲15.81 | 29.42 ▼27.56 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.42 ▲0.25 | 106.87 ▲7.73 | 46.00 ▲0.08 |
Get Help /wp-admin/admin.php?page=softech-form-help | 989 | 2.16 | 29.58 | 26.35 |
Softech Forms /wp-admin/admin.php?page=softech-form-builder-list | 1,030 | 2.19 | 30.50 | 26.94 |
Create Form /wp-admin/admin.php?page=softech-new-form | 1,093 | 2.17 | 30.84 | 38.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=softech-new-form
- > Notice in wp-content/plugins/softech-form-builder/admin/add-new.php+8
Undefined index: form_id
- > GET request to /wp-admin/admin.php?page=softech-new-form
- > Notice in wp-content/plugins/softech-form-builder/admin/add-new.php+42
Undefined variable: form_name
- > GET request to /wp-admin/admin.php?page=softech-new-form
- > Notice in wp-content/plugins/softech-form-builder/admin/add-new.php+101
Undefined variable: form_subject
- > GET request to /wp-admin/admin.php?page=softech-new-form
- > Notice in wp-content/plugins/softech-form-builder/admin/add-new.php+104
Undefined variable: form_to
- > GET request to /wp-admin/admin.php?page=softech-new-form
- > Notice in wp-content/plugins/softech-form-builder/admin/add-new.php+107
Undefined variable: form_from_cc
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/softech-form-builder/admin/sfb-load.php
- > /wp-content/plugins/softech-form-builder/list-table.php
- > /wp-content/plugins/softech-form-builder/admin/add-shortcode.php
- > /wp-content/plugins/softech-form-builder/admin/add-new.php
- > /wp-content/plugins/softech-form-builder/softech-form-builder.php
- > /wp-content/plugins/softech-form-builder/admin/sfb-shortcode-load.php
- > /wp-content/plugins/softech-form-builder/admin/sfb-save.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
7 plugin tags: form, softechure, forms, contact form plugin, contact form...
softech-form-builder/softech-form-builder.php Passed 13 tests
The primary PHP file in "Softech Form Builder" version 1.0.1 is used by WordPress to initiate all plugin functionality
32 characters long description:
Make a easy form by simple steps
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,791 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 419 | 496 | 1,191 |
PHP | 8 | 120 | 60 | 725 |
CSS | 2 | 57 | 8 | 453 |
JavaScript | 5 | 69 | 57 | 422 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin