Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.75ms] Passed 4 tests
This is a short check of server-side resources used by Web Form Builder by Makesbridge
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.16 ▼3.92 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.60 ▼6.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 47.02 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.21 ▼5.09 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.69 ▼2.52 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Web Form Builder by Makesbridge
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 14.07 ▼0.28 | 1.76 ▼0.04 | 43.76 ▼0.32 |
Dashboard /wp-admin | 2,306 ▲117 | 5.91 ▼0.01 | 108.50 ▼28.01 | 95.92 ▲49.74 |
Posts /wp-admin/edit.php | 2,196 ▲125 | 2.70 ▲0.64 | 40.02 ▲2.89 | 75.34 ▲41.71 |
Add New Post /wp-admin/post-new.php | 1,611 ▲97 | 23.51 ▲6.00 | 620.00 ▼75.07 | 35.91 ▼28.92 |
Media Library /wp-admin/upload.php | 1,480 ▲95 | 5.25 ▲1.00 | 103.40 ▼5.93 | 37.78 ▼9.19 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php
- > /wp-content/plugins/official-makesbridge-web-form-builder/inc/csv_generator.php
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: class in wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/official-makesbridge-web-form-builder/inc/options-page-wrapper.php:62
- > PHP Notice
Undefined variable: isUser_registered in wp-content/plugins/official-makesbridge-web-form-builder/inc/options-page-wrapper.php on line 2
- > PHP Notice
Undefined variable: width in wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php on line 2
- > PHP Notice
Undefined variable: height in wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php on line 2
- > PHP Notice
Undefined variable: id in wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/official-makesbridge-web-form-builder/wpmks-webforms.php:18
- > PHP Notice
Undefined variable: formid in wp-content/plugins/official-makesbridge-web-form-builder/inc/front-end.php on line 2
- > PHP Notice
Undefined index: userId in wp-content/plugins/official-makesbridge-web-form-builder/inc/csv_generator.php on line 11
- > PHP Notice
Undefined variable: counterValue in wp-content/plugins/official-makesbridge-web-form-builder/inc/options-page-wrapper.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: builder, shortcode, makesbridge, forms, api...
official-makesbridge-web-form-builder/wpmks-webforms.php 92% from 13 tests
The main PHP file in "Web Form Builder by Makesbridge" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("official-makesbridge-web-form-builder.php" instead of "wpmks-webforms.php")
Code Analysis 5% from 3 tests
File types 0% from 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
Almost there! Just fix the following issues
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .app - FoxPro Application in Visual FoxPro
- ☣ wp-content/plugins/official-makesbridge-web-form-builder/img/System Preferences.app
- .app - FoxPro Application in Visual FoxPro
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 223 | 390 | 3,562 |
CSS | 4 | 292 | 126 | 3,425 |
PHP | 5 | 35 | 63 | 530 |
HTML | 1 | 95 | 8 | 334 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
34 PNG files occupy 0.16MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/delete.png | 2.91KB | 0.36KB | ▼ 87.78% |
img/closeicon.png | 2.86KB | 0.19KB | ▼ 93.51% |
img/logo.png | 1.54KB | 0.92KB | ▼ 40.63% |
img/next.png | 1.03KB | 0.18KB | ▼ 82.70% |
img/check.png | 2.86KB | 0.24KB | ▼ 91.49% |