Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.33ms] Passed 4 tests
This is a short check of server-side resources used by Qform creating complex forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 48.31 ▲4.51 |
Dashboard /wp-admin | 3.39 ▲0.05 | 49.33 ▼15.74 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.87 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.19 ▼15.58 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 43.11 ▲5.24 |
Shortcode /wp-admin/admin.php?page=qform-short-page | 3.33 | 35.10 |
Settings /wp-admin/admin.php?page=qform-main | 3.29 | 35.08 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 35 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_qform_short_code |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Qform creating complex forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 13.49 ▼0.50 | 4.72 ▲3.12 | 39.43 ▼3.95 |
Dashboard /wp-admin | 2,251 ▲71 | 6.07 ▲0.44 | 95.47 ▲3.07 | 82.01 ▲40.24 |
Posts /wp-admin/edit.php | 2,176 ▲73 | 2.46 ▲0.44 | 47.55 ▲6.13 | 34.22 ▼1.53 |
Add New Post /wp-admin/post-new.php | 6,517 ▲4,991 | 22.71 ▼0.30 | 986.72 ▲321.44 | 62.58 ▲11.53 |
Media Library /wp-admin/upload.php | 1,464 ▲67 | 4.50 ▲0.34 | 110.06 ▲7.74 | 84.06 ▲38.70 |
Shortcode /wp-admin/admin.php?page=qform-short-page | 861 | 2.22 | 36.57 | 27.24 |
Settings /wp-admin/admin.php?page=qform-main | 1,060 | 2.13 | 33.75 | 48.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected 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)
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: form builder, quiz, contact form, survey, recaptcha...
qform/qform.php Passed 13 tests
"Qform creating complex forms" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
22 characters long description:
Creating complex forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected13,786 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 10,705 |
JavaScript | 4 | 511 | 655 | 2,010 |
PHP | 11 | 119 | 14 | 760 |
CSS | 2 | 28 | 5 | 166 |
PO File | 1 | 39 | 68 | 92 |
SVG | 2 | 0 | 0 | 31 |
Markdown | 1 | 3 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 7 | 24.14% |
▷ Public methods | 25 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.79% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin