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.15MB] [CPU: ▼8.58ms] Passed 4 tests
Server-side resources used by e-shot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 43.38 ▼0.09 |
Dashboard /wp-admin | 3.46 ▲0.11 | 51.41 ▼20.10 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 49.65 ▼3.93 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.07 ▼10.19 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.73 ▲3.47 |
Server storage [IO: ▲0.09MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_eshotformbuilder_forms |
wp_eshotformbuilder_fields |
wp_eshotformbuilder_control |
wp_eshotformbuilder_preference_centre |
wp_eshotformbuilder_subaccounts |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
eshotformbuilder_db_version |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for e-shot
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲143 | 13.43 ▼0.94 | 7.56 ▲5.84 | 39.69 ▼6.43 |
Dashboard /wp-admin | 2,219 ▲39 | 5.66 ▲0.06 | 90.83 ▼5.56 | 38.80 ▼3.26 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 2.06 ▲0.04 | 39.79 ▼0.04 | 34.22 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 18.03 ▼5.13 | 603.78 ▼91.78 | 82.58 ▲29.13 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.15 ▼0.17 | 107.85 ▲3.81 | 41.43 ▼8.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/e-shot-form-builder/public/partials/eshotformbuilder-public-display.php
- > /wp-content/plugins/e-shot-form-builder/admin/partials/eshotformbuilder-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
5 plugin tags: form builder, contact form, email marketing, newsletter, e-shot
e-shot-form-builder/eshotformbuilder.php 85% from 13 tests
The main PHP file in "e-shot" ver. 1.0.2 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: Please rename the main PHP file in this plugin to the plugin slug ("e-shot-form-builder.php" instead of "eshotformbuilder.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin1,233 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 328 | 591 | 896 |
JavaScript | 2 | 49 | 38 | 248 |
CSS | 2 | 21 | 13 | 89 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 28 | 75.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 24.32% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin