Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.47MB] [CPU: ▼3.41ms] Passed 4 tests
A check of server-side resources used by Contact Form Builder For WordPress : #1 Free Contact Us Form Builder By Core37
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 37.89 ▲0.90 |
Dashboard /wp-admin | 3.80 ▲0.50 | 45.03 ▼1.09 |
Posts /wp-admin/edit.php | 3.85 ▲0.50 | 49.49 ▼1.14 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 83.11 ▼12.32 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 37.21 ▲4.28 |
Make Form /wp-admin/admin.php?page=core37-form-builder-make | 3.66 | 39.68 |
Subscribers /wp-admin/admin.php?page=core37-form-builder-subscribers | 3.64 | 37.27 |
C37 Form Builder /wp-admin/admin.php?page=core37-form-builder | 3.65 | 34.66 |
Server storage [IO: ▲3.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 165 new files
Database: 2 new tables, 7 new options
New tables |
---|
core37_form_sessions |
core37_form_kv |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form Builder For WordPress : #1 Free Contact Us Form Builder By Core37
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,021 ▲260 | 15.05 ▲0.67 | 17.07 ▲15.30 | 44.24 ▲1.76 |
Dashboard /wp-admin | 2,220 ▲40 | 5.68 ▲0.09 | 89.04 ▼2.33 | 36.73 ▼2.73 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.82 ▲0.84 | 40.42 ▲2.53 | 31.38 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 24.01 ▲0.80 | 636.12 ▲18.71 | 38.28 ▼20.33 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 5.26 ▲1.05 | 98.72 ▼4.38 | 42.24 ▼3.43 |
Make Form /wp-admin/admin.php?page=core37-form-builder-make | 1,138 | 5.33 | 81.97 | 44.11 |
Subscribers /wp-admin/admin.php?page=core37-form-builder-subscribers | 827 | 2.80 | 41.48 | 70.65 |
C37 Form Builder /wp-admin/admin.php?page=core37-form-builder | 721 | 2.18 | 26.15 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- core37_form_kv
- core37_form_sessions
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=core37-form-builder
- > Error in wp-content/plugins/core37-form-builder/inc/encrypt.php+23
Uncaught Exception: The PHP mcrypt extension must be installed for encryption in wp-content/plugins/core37-form-builder/inc/encrypt.php:23
Stack trace:
#0 wp-content/plugins/core37-form-builder/inc/encrypt.php(17): C37_Crypt->checkEnvironment()
#1 wp-content/plugins/core37-form-builder/pages/main-page.php(1): C37_Crypt->__construct()
#2 wp-content/plugins/core37-form-builder/functions.php(237): include_once('/var/www/wordpr...')
#3 wp-includes/class-wp-hook.php(310): core37_form_ui_main()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 {main}
thrown
SRP 50% from 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
Almost there! Just fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/core37-form-builder/inc/process.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/core37-form-builder/inc/captcha.php:9
- > PHP Fatal error
Uncaught Error: Class 'C37FormManager' not found in wp-content/plugins/core37-form-builder/pages/mail-templates.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/core37-form-builder/inc/captcha.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/core37-form-builder/inc/shortcode.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/core37-form-builder/pages/main-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/core37-form-builder/inc/captcha.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/core37-form-builder/inc/ajax.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/core37-form-builder/pages/make-form.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/core37-form-builder/pages/subscribers.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in core37-form-builder/assets to your readme.txt
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
core37-form-builder/index.php 92% from 13 tests
"Contact Form Builder For WordPress : #1 Free Contact Us Form Builder By Core37" version 1.2.27's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("core37-form-builder.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin35,508 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 48 | 6,149 | 1,170 | 26,379 |
PHP | 46 | 800 | 1,079 | 3,559 |
JavaScript | 28 | 864 | 949 | 3,198 |
LESS | 14 | 34 | 44 | 1,646 |
SVG | 1 | 0 | 0 | 685 |
Markdown | 1 | 6 | 0 | 31 |
Sass | 1 | 1 | 2 | 10 |
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.35 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 244.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 120 | |
▷ Static methods | 35 | 29.17% |
▷ Public methods | 62 | 51.67% |
▷ Protected methods | 49 | 40.83% |
▷ Private methods | 9 | 7.50% |
Functions | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 27 | |
▷ Global constants | 3 | 11.11% |
▷ Class constants | 24 | 88.89% |
▷ Public constants | 24 | 100.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
6 PNG files occupy 0.09MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/radio_checkbox_05.png | 17.77KB | 2.30KB | ▼ 87.07% |
css/images/radio_checkbox_03.png | 17.79KB | 2.31KB | ▼ 87.00% |
css/images/radio_checkbox_06.png | 17.91KB | 2.29KB | ▼ 87.21% |
css/images/radio_checkbox_02.png | 18.63KB | 2.50KB | ▼ 86.57% |
css/images/radio_checkbox_04.png | 17.96KB | 2.30KB | ▼ 87.19% |