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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.22MB] [CPU: ▼23.59ms] Passed 4 tests
A check of server-side resources used by World first Lifetime free Form Builder for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.07 | 24.72 ▼19.76 |
Dashboard /wp-admin | 3.07 ▼0.23 | 28.36 ▼20.23 |
Posts /wp-admin/edit.php | 3.21 ▼0.14 | 27.10 ▼24.45 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 61.06 ▼29.93 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 26.96 ▼5.46 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_vfsubscr |
wp_vform |
wp_vform_userinput |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for World first Lifetime free Form Builder for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 14.22 ▼0.17 | 10.20 ▲8.62 | 42.98 ▲1.61 |
Dashboard /wp-admin | 2,250 ▲70 | 5.76 ▲0.12 | 104.08 ▲17.47 | 83.34 ▲40.49 |
Posts /wp-admin/edit.php | 2,164 ▲67 | 2.77 ▲0.78 | 42.16 ▲5.13 | 27.39 ▼13.66 |
Add New Post /wp-admin/post-new.php | 1,745 ▲219 | 23.82 ▲0.00 | 617.80 ▼61.02 | 30.34 ▼28.14 |
Media Library /wp-admin/upload.php | 1,461 ▲64 | 5.19 ▲1.07 | 118.09 ▲13.98 | 43.60 ▼1.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_vfsubscr
- wp_vform
- wp_vform_userinput
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/v-form/inc/db.php
- > /wp-content/plugins/v-form/vform.php
- > /wp-content/plugins/v-form/inc/vformstructure.php
- > /wp-content/plugins/v-form/inc/vformadmin.php
- > /wp-content/plugins/v-form/uninstall.php
- > /wp-content/plugins/v-form/inc/vformentriesstructure.php
- > /wp-content/plugins/v-form/inc/vformsettingstructure.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% 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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #10, #11 in v-form/assets to your readme.txt
- Tags: Please delete some tags, you are using 49 tag instead of maximum 10
- Contributors: The plugin contributors field is missing
v-form/vform.php 85% from 13 tests
Analyzing the main PHP file in "World first Lifetime free Form Builder for WordPress" version 2.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("v-form.php" instead of "vform.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin9,080 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1,585 | 38 | 4,712 |
PHP | 8 | 635 | 71 | 3,108 |
JavaScript | 2 | 282 | 52 | 1,214 |
SVG | 3 | 0 | 2 | 46 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 21 | |
▷ Named functions | 19 | 90.48% |
▷ Anonymous functions | 2 | 9.52% |
Constants | 3 | |
▷ Global constants | 3 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/broom.png | 20.40KB | 9.83KB | ▼ 51.83% |
assets/images/form.png | 3.68KB | 2.14KB | ▼ 41.86% |