Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▲4.21ms] Passed 4 tests
An overview of server-side resources used by Builder for Contact Form 7 by Webconstruct - Drag & Drop Contact Form Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 54.53 ▲10.98 |
Dashboard /wp-admin | 3.57 ▲0.18 | 61.64 ▼2.27 |
Posts /wp-admin/edit.php | 3.64 ▲0.24 | 62.36 ▲14.12 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.21 | 96.88 ▲1.45 |
Media Library /wp-admin/upload.php | 3.46 ▲0.19 | 46.71 ▲6.66 |
Overview /wp-admin/admin.php?page=overview_cf7b | 3.44 | 44.02 |
Submissions /wp-admin/admin.php?page=submissions_cf7b | 3.48 | 45.37 |
Themes /wp-admin/admin.php?page=themes_cf7b | 3.95 | 46.30 |
Server storage [IO: ▲0.63MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_cf7b_submissions |
wp_cf7b_themes |
wp_cf7b_builder |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
cf7b_preview_permalink |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Builder for Contact Form 7 by Webconstruct - Drag & Drop Contact Form Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲102 | 14.26 ▼0.29 | 1.81 ▼0.48 | 43.86 ▲1.42 |
Dashboard /wp-admin | 2,294 ▲123 | 5.61 ▲0.03 | 85.57 ▼3.29 | 43.36 ▲1.35 |
Posts /wp-admin/edit.php | 2,203 ▲103 | 2.03 ▲0.03 | 35.52 ▼1.13 | 38.01 ▲4.54 |
Add New Post /wp-admin/post-new.php | 1,620 ▲94 | 23.20 ▼0.01 | 673.19 ▼1.71 | 57.85 ▼3.72 |
Media Library /wp-admin/upload.php | 1,499 ▲108 | 4.23 ▼0.03 | 105.28 ▲0.80 | 46.72 ▲2.89 |
Overview /wp-admin/admin.php?page=overview_cf7b | 962 | 1.96 | 29.82 | 39.44 |
Submissions /wp-admin/admin.php?page=submissions_cf7b | 967 | 2.10 | 27.20 | 29.45 |
Themes /wp-admin/admin.php?page=themes_cf7b | 949 | 1.70 | 30.34 | 27.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_cf7b_submissions
- wp_cf7b_builder
- wp_cf7b_themes
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- cf7b_preview_permalink
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cf7-builder/cf7-builder.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cf7-builder/deactivate/deactivation_popup.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cf7-builder/cf7-builder.php Passed 13 tests
"Builder for Contact Form 7 by Webconstruct - Drag & Drop Contact Form Builder" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
140 characters long description:
Builder for Contact Form 7 is a user-friendly form builder plugin which makes Contact Form 7 form easy to build just using drag & drop tool.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin6,956 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 412 | 521 | 3,652 |
CSS | 8 | 239 | 78 | 2,297 |
JavaScript | 6 | 144 | 72 | 991 |
SVG | 1 | 0 | 0 | 16 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 1 | 4.76% |
Methods | 129 | |
▷ Static methods | 9 | 6.98% |
▷ Public methods | 125 | 96.90% |
▷ Protected methods | 2 | 1.55% |
▷ Private methods | 2 | 1.55% |
Functions | 42 | |
▷ Named functions | 2 | 4.76% |
▷ Anonymous functions | 40 | 95.24% |
Constants | 15 | |
▷ Global constants | 9 | 60.00% |
▷ Class constants | 6 | 40.00% |
▷ Public constants | 6 | 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
No PNG images were found in this plugin