Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.39ms] Passed 4 tests
Server-side resources used by Formito — Chatbot and Chat-style Form Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.86 ▼2.38 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.52 ▼4.98 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.55 ▼9.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.96 ▼8.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.18 ▼3.17 |
Formito /wp-admin/options-general.php?page=formito | 3.25 | 30.59 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
formito-plugin-settings |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Formito — Chatbot and Chat-style Form Builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.25 ▲0.08 | 3.06 ▲1.25 | 40.98 ▼3.82 |
Dashboard /wp-admin | 2,193 ▲13 | 5.63 ▼0.01 | 98.23 ▼16.27 | 37.15 ▼13.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 40.66 ▼1.56 | 37.57 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.18 ▲5.10 | 677.55 ▲25.98 | 48.34 ▼14.91 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.00 | 96.63 ▼11.01 | 42.11 ▼4.42 |
Formito /wp-admin/options-general.php?page=formito | 944 | 2.13 | 22.55 | 32.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- formito-plugin-settings
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/formito/meta.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/formito/options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/formito/sidebar.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #6 (Start super quick with copying a template), #7 (Settings page in your WordPress dashboard)
formito/formito.php 92% from 13 tests
The main PHP script in "Formito — Chatbot and Chat-style Form Builder" version 1.1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin186 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 75 | 38 | 186 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin