Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲2.47MB] [CPU: ▲12.51ms] Passed 4 tests
An overview of server-side resources used by Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.26 ▲4.80 | 64.13 ▲26.96 |
Dashboard /wp-admin | 5.79 ▲2.44 | 63.11 ▲1.36 |
Posts /wp-admin/edit.php | 5.85 ▲2.49 | 63.39 ▲17.35 |
Add New Post /wp-admin/post-new.php | 8.32 ▲2.43 | 108.63 ▲12.47 |
Media Library /wp-admin/upload.php | 5.75 ▲2.51 | 55.69 ▲18.85 |
Forms /wp-admin/admin.php?page=manage_fm | 8.66 | 79.76 |
Themes /wp-admin/admin.php?page=themes_fm | 7.00 | 56.49 |
Blocked IPs /wp-admin/admin.php?page=blocked_ips_fm | 5.72 | 50.93 |
Options /wp-admin/admin.php?page=options_fm | 5.73 | 50.31 |
Submissions /wp-admin/admin.php?page=submissions_fm | 6.54 | 54.30 |
Speed Optimization /wp-admin/admin.php?page=twb_form-maker | 5.81 | 50.25 |
Uninstall /wp-admin/admin.php?page=uninstall_fm | 5.46 | 52.71 |
Server storage [IO: ▲16.20MB] [DB: ▲0.15MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 1,015 new files
Database: 11 new tables, 10 new options
New tables |
---|
wp_formmaker_submits |
wp_formmaker_backup |
wp_formmaker_views |
wp_formmaker_groups |
wp_formmaker_blocked |
wp_formmaker_cookies |
wp_formmaker |
wp_formmaker_query |
wp_formmaker_display_options |
wp_formmaker_sessions |
... |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
fm_settings |
widget_form_maker_widget |
widget_recent-comments |
fm_admin_notice |
twb_images_total_size |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,507 ▲746 | 14.04 ▼0.50 | 33.71 ▲32.18 | 36.31 ▼4.22 |
Dashboard /wp-admin | 2,241 ▲64 | 5.58 ▲0.01 | 83.87 ▼3.33 | 73.75 ▲33.56 |
Posts /wp-admin/edit.php | 2,843 ▲743 | 2.41 ▲0.44 | 72.90 ▲35.63 | 44.82 ▲6.92 |
Add New Post /wp-admin/post-new.php | 1,770 ▲244 | 25.39 ▲2.06 | 632.55 ▼54.28 | 40.33 ▼18.01 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.25 ▲0.01 | 102.45 ▼4.67 | 47.79 ▲1.32 |
Forms /wp-admin/admin.php?page=manage_fm | 1,611 | 1.95 | 33.20 | 80.67 |
Themes /wp-admin/admin.php?page=themes_fm | 1,762 | 2.22 | 27.80 | 50.54 |
Blocked IPs /wp-admin/admin.php?page=blocked_ips_fm | 1,042 | 2.21 | 26.49 | 42.77 |
Options /wp-admin/admin.php?page=options_fm | 1,240 | 2.20 | 26.07 | 55.51 |
Submissions /wp-admin/admin.php?page=submissions_fm | 1,080 | 2.46 | 37.67 | 48.54 |
Speed Optimization /wp-admin/admin.php?page=twb_form-maker | 1,107 | 2.21 | 30.95 | 53.35 |
Uninstall /wp-admin/admin.php?page=uninstall_fm | 1,132 | 2.26 | 27.44 | 32.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.16MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 11 tables
- wp_formmaker_display_options
- wp_formmaker_groups
- wp_formmaker_views
- wp_formmaker_sessions
- wp_formmaker_query
- wp_formmaker_blocked
- wp_formmaker_submits
- wp_formmaker_themes
- wp_formmaker
- wp_formmaker_backup
- ...
- Zombie WordPress options were found after uninstall: 11 options
- twb_speed_score
- db_upgraded
- fm_admin_notice
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_form_maker_widget
- fm_settings
- ...
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)
Good news, no errors were detected
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 items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/form-maker/admin/views/view.php
- > /wp-content/plugins/form-maker/form-maker.php
- 69× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FMAdminController' not found in wp-content/plugins/form-maker/admin/controllers/Paypal_info.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/form-maker/wd/templates/display_deactivation_popup.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'FMAdminView' not found in wp-content/plugins/form-maker/admin/views/Uninstall_fm.php:3
- > PHP Fatal error
Uncaught Error: Class 'FMAdminModel' not found in wp-content/plugins/form-maker/admin/models/Options_fm.php:6
- > PHP Fatal error
Uncaught Error: Class 'FMAdminModel' not found in wp-content/plugins/form-maker/admin/models/Themes_fm.php:3
- > PHP Fatal error
Uncaught Error: Class 'FMAdminView' not found in wp-content/plugins/form-maker/admin/views/Manage_fm.php:3
- > PHP Fatal error
Uncaught Error: Class 'FMAdminController' not found in wp-content/plugins/form-maker/admin/controllers/Formmakerwdcaptcha.php:5
- > PHP Fatal error
Uncaught Error: Class 'FMAdminView' not found in wp-content/plugins/form-maker/admin/views/FMCaptcha.php:3
- > PHP Fatal error
Uncaught Error: Class 'FMAdminView' not found in wp-content/plugins/form-maker/admin/views/FormMakerSubmits.php:6
- > PHP Fatal error
Uncaught Error: Class 'FMAdminController' not found in wp-content/plugins/form-maker/admin/controllers/FormMakerSubmits.php:6
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
form-maker/form-maker.php 92% from 13 tests
The entry point to "Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder" version 1.15.21 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 223 characters long)
Code Analysis 95% 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
Success! There were no dangerous files found in this plugin197,576 lines of code in 304 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 48 | 38,265 | 49,620 | 91,465 |
PHP | 95 | 2,059 | 3,848 | 42,742 |
JavaScript | 53 | 4,964 | 4,401 | 40,382 |
CSS | 32 | 2,277 | 198 | 21,876 |
SVG | 73 | 16 | 15 | 1,016 |
Markdown | 1 | 19 | 0 | 93 |
HTML | 2 | 0 | 0 | 2 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,506)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 682)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 75.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,506.00 |
Average method complexity | 10.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 682.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 87 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 87 | 100.00% |
▷ Final classes | 1 | 1.15% |
Methods | 661 | |
▷ Static methods | 104 | 15.73% |
▷ Public methods | 594 | 89.86% |
▷ Protected methods | 13 | 1.97% |
▷ Private methods | 54 | 8.17% |
Functions | 13 | |
▷ Named functions | 8 | 61.54% |
▷ Anonymous functions | 5 | 38.46% |
Constants | 31 | |
▷ Global constants | 4 | 12.90% |
▷ Class constants | 27 | 87.10% |
▷ Public constants | 27 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
542 PNG files occupy 2.90MB with 0.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/left.png | 3.36KB | 0.47KB | ▼ 86.04% |
images/02/03/date.png | 2.02KB | 1.30KB | ▼ 35.71% |
images/flags/cx.png | 0.59KB | 0.75KB | 0.00% |
images/flags/ax.png | 0.65KB | 0.76KB | 0.00% |
images/flags/nf.png | 0.59KB | 0.68KB | 0.00% |