Benchmarks
Plugin footprint 65% 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.78MB] [CPU: ▼1.18ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form Multi by BestWebSoft - Multiple Forms Plugin for Single WordPress Website
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 47.19 ▲8.93 |
Dashboard /wp-admin | 4.13 ▲0.78 | 56.72 ▼3.21 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 50.36 ▲5.11 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.78 | 85.44 ▼14.04 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 43.44 ▲7.44 |
Plugins /wp-admin/admin.php?page=bws_panel | 4.30 | 42.59 |
Themes /wp-admin/admin.php?page=bws_themes | 4.30 | 40.40 |
System Status /wp-admin/admin.php?page=bws_system_status | 3.97 | 47.71 |
Server storage [IO: ▲4.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 116 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
bstwbsftwppdtplgns_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Contact Form Multi by BestWebSoft - Multiple Forms Plugin for Single WordPress Website: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.81 ▲0.22 | 1.63 ▼0.20 | 41.72 ▲0.46 |
Dashboard /wp-admin | 2,236 ▲45 | 5.92 ▲1.04 | 98.96 ▼8.62 | 41.34 ▼2.46 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.17 ▲0.14 | 36.87 ▲1.05 | 35.20 ▲5.31 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.60 ▲6.08 | 678.28 ▼3.63 | 63.17 ▲9.93 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.18 ▼0.01 | 100.32 ▼9.40 | 44.32 ▼3.78 |
Plugins /wp-admin/admin.php?page=bws_panel | 2,861 | 2.01 | 33.48 | 76.23 |
Themes /wp-admin/admin.php?page=bws_themes | 999 | 2.21 | 24.33 | 42.07 |
System Status /wp-admin/admin.php?page=bws_system_status | 1,231 | 2.26 | 26.26 | 35.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/contact-form-multi/contact-form-multi.php+335
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-multi/bws_menu/class-bws-settings.php:1453
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/contact-form-multi/contact-form-multi.php:362
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/contact-form-multi/bws_menu/product_list.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=bws_panel
- > Network (severe)
http://ps.w.org/custom-admin-page/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Contact Form plugin settings page with a newly created contact form.), #2 (The Contact Form plugin additional settings tab with a newly created contact form.), #3 (The Contact Form plugin appearance tab with a newly created contact form.)
contact-form-multi/contact-form-multi.php Passed 13 tests
The main file in "Contact Form Multi by BestWebSoft - Multiple Forms Plugin for Single WordPress Website" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
Add unlimited number of contact forms to WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin18,289 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,312 | 4,738 | 7,638 |
CSS | 8 | 157 | 254 | 5,384 |
PHP | 8 | 438 | 567 | 4,541 |
JavaScript | 6 | 32 | 115 | 559 |
SVG | 4 | 0 | 0 | 167 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 115.50 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 12.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 30.00% |
Functions | 62 | |
▷ Named functions | 62 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
64 PNG files occupy 3.22MB with 1.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/icons/plugins/gpt-ai-content-creator.png | 15.49KB | 7.03KB | ▼ 54.61% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_glass_75_dadada_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
bws_menu/icons/plugins/bike-rental.png | 6.86KB | 2.68KB | ▼ 60.89% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |