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
Install script ran successfully
Server metrics [RAM: ▲1.73MB] [CPU: ▲13.15ms] Passed 4 tests
A check of server-side resources used by Easy Form Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.88 ▲1.42 | 52.58 ▲8.93 |
Dashboard /wp-admin | 5.19 ▲1.89 | 100.24 ▲49.15 |
Posts /wp-admin/edit.php | 5.22 ▲1.87 | 58.13 ▲8.86 |
Add New Post /wp-admin/post-new.php | 7.71 ▲1.82 | 107.14 ▲14.35 |
Media Library /wp-admin/upload.php | 5.03 ▲1.80 | 57.67 ▲20.47 |
Add-ons /wp-admin/admin.php?page=Emsfb_addon | 5.12 | 54.07 |
Panel /wp-admin/admin.php?page=Emsfb | 5.27 | 64.72 |
Create /wp-admin/admin.php?page=Emsfb_create | 5.13 | 46.05 |
Server storage [IO: ▲3.94MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 87 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_emsfb_form |
wp_emsfb_stts_ |
wp_emsfb_rsp_ |
wp_emsfb_msg_ |
wp_emsfb_setting |
New WordPress options |
---|
Emsfb_create |
Emsfb_db_version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Emsfb_addon |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Form Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲138 | 13.47 ▼0.44 | 8.09 ▲6.04 | 41.66 ▼4.12 |
Dashboard /wp-admin | 2,229 ▲52 | 5.55 ▼0.05 | 86.36 ▼2.89 | 80.96 ▲35.20 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.99 ▲0.05 | 37.17 ▼5.39 | 34.72 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 24.65 ▲1.66 | 744.51 ▲62.70 | 61.20 ▼0.17 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.19 ▲0.01 | 99.18 ▲3.23 | 61.02 ▲18.10 |
Add-ons /wp-admin/admin.php?page=Emsfb_addon | 1,176 | 2.94 | 46.99 | 97.18 |
Panel /wp-admin/admin.php?page=Emsfb | 1,226 | 3.23 | 49.62 | 81.39 |
Create /wp-admin/admin.php?page=Emsfb_create | 1,625 | 3.01 | 44.71 | 50.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 5 tables
- wp_emsfb_stts_
- wp_emsfb_form
- wp_emsfb_setting
- wp_emsfb_rsp_
- wp_emsfb_msg_
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- can_compress_scripts
- Emsfb_db_version
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- Emsfb_create
- Emsfb_addon
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-form-builder/emsfb.php
- > /wp-content/plugins/easy-form-builder/includes/class-Emsfb.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-form-builder/includes/admin/class-Emsfb-admin.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function Emsfb\\add_action() in wp-content/plugins/easy-form-builder/includes/class-Emsfb-webhook.php:28
- > PHP Warning
include(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/easy-form-builder/includes/admin/class-Emsfb-admin.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function Emsfb\\is_admin() in wp-content/plugins/easy-form-builder/includes/admin/class-Emsfb-admin.php:43
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-form-builder/includes/admin/class-Emsfb-admin.php on line 37
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Requires php: Version format is invalid
easy-form-builder/emsfb.php 85% from 13 tests
The principal PHP file in "Easy Form Builder" v. 3.6.16 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 445 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-form-builder.php" instead of "emsfb.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected32,406 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 30 | 2,374 | 1,963 | 14,912 |
CSS | 11 | 785 | 338 | 10,959 |
PHP | 23 | 940 | 1,513 | 6,444 |
JSON | 1 | 0 | 0 | 69 |
SVG | 6 | 0 | 2 | 22 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,008)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 871)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 169.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,008.00 |
Average method complexity | 11.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 871.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 20 | 12.50% |
▷ Public methods | 156 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.50% |
Functions | 27 | |
▷ Named functions | 1 | 3.70% |
▷ Anonymous functions | 26 | 96.30% |
Constants | 7 | |
▷ Global constants | 7 | 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
9 PNG files occupy 0.43MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/image/flags@2x.png | 170.28KB | 68.04KB | ▼ 60.04% |
includes/admin/assets/image/logo-gray.png | 0.43KB | 0.75KB | 0.00% |
public/assets/images/email_template1.png | 51.31KB | 13.46KB | ▼ 73.76% |
includes/admin/assets/image/logo-20px.png | 0.43KB | 0.76KB | 0.00% |
includes/admin/assets/image/header.png | 87.33KB | 38.19KB | ▼ 56.27% |