Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.24ms] Passed 4 tests
An overview of server-side resources used by Booster for WPForms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.43 ▲0.18 |
Dashboard /wp-admin | 3.47 ▲0.16 | 49.72 ▲4.21 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 46.01 ▼1.08 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.60 ▼7.24 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.91 ▲3.19 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
bfwpf_licenses |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Booster for WPForms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.64 ▼0.73 | 1.67 ▼0.40 | 48.19 ▲4.22 |
Dashboard /wp-admin | 2,222 ▲37 | 5.85 ▲0.94 | 105.56 ▲2.06 | 42.94 ▲0.50 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 1.99 ▼0.02 | 36.52 ▼5.59 | 33.06 ▼4.89 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.57 ▲0.45 | 670.72 ▲60.36 | 48.99 ▼3.35 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.22 ▲0.03 | 94.37 ▼10.80 | 43.44 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- bfwpf_licenses
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/booster-for-wpforms/booster-for-wpforms.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/booster-for-wpforms/includes/admin/bfwpf-minmax.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/booster-for-wpforms/includes/admin/bfwpf-maxchars.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/booster-for-wpforms/includes/admin/bfwpf-readonly-fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/booster-for-wpforms/admin-menu/licenses.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: wpforms booster, wpforms snippets, wpforms functionality
booster-for-wpforms/booster-for-wpforms.php Passed 13 tests
The primary PHP file in "Booster for WPForms" version 1.2 is used by WordPress to initiate all plugin functionality
31 characters long description:
Add missing features to WPForms
Code Analysis Passed 3 tests
File types Passed 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
No dangerous file extensions were detected918 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 290 | 247 | 915 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 40.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 4.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.45% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/active.png | 1.63KB | 1.34KB | ▼ 17.74% |
css/images/inactive.png | 1.58KB | 1.32KB | ▼ 16.60% |