Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.65MB] [CPU: ▼17.77ms] Passed 4 tests
Server-side resources used by RFQWP Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.11 ▲0.49 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.72 ▼9.34 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.41 ▼0.12 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.67 | 38.62 ▼62.09 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.34 ▲2.39 |
Email /wp-admin/admin.php?page=rfqwp-email | 3.20 | 32.64 |
Forms /wp-admin/admin.php?page=rfqwp-form | 3.20 | 32.86 |
Server storage [IO: ▲3.60MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 53 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_rfqwp_form_question_item |
wp_rfqwp_form |
wp_rfqwp_form_card |
wp_rfqwp_form_system_email |
wp_rfqwp_form_column |
wp_rfqwp_user_email |
wp_rfqwp_form_question |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for RFQWP Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲53 | 13.20 ▼1.12 | 1.73 ▼0.81 | 43.15 ▼3.51 |
Dashboard /wp-admin | 2,228 ▲40 | 5.86 ▲0.07 | 104.59 ▼13.08 | 76.20 ▲34.36 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.00 ▼0.05 | 38.38 ▲2.75 | 36.08 ▲2.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 22.69 ▼0.56 | 618.57 ▼46.19 | 61.91 ▲4.35 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.12 ▼0.09 | 102.93 ▼1.90 | 68.09 ▲21.94 |
Email /wp-admin/admin.php?page=rfqwp-email | 1,316 | 13.08 | 191.33 | 85.02 |
Forms /wp-admin/admin.php?page=rfqwp-form | 1,032 | 12.19 | 123.96 | 40.80 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=rfqwp-form
- > User notice in wp-includes/functions.php+5905
Function wp_add_inline_script was called incorrectly. Do not pass <script> tags to wp_add_inline_script(). Please see Debugging in WordPress for more information. (This message was added in version 4.5.0.)
- > GET request to /wp-admin/admin.php?page=rfqwp-email
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/request-for-quotation/admin/class-rfqwp-mail.php+42
Undefined index: selectedFormConfiguration
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
request-for-quotation/request-for-quotation.php Passed 13 tests
The primary PHP file in "RFQWP Form" version 1.2.2 is used by WordPress to initiate all plugin functionality
28 characters long description:
This is a custom form plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,073 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 272 | 114 | 2,504 |
JSON | 3 | 0 | 0 | 555 |
CSS | 2 | 0 | 10 | 10 |
JavaScript | 4 | 0 | 0 | 4 |
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.34 |
Average class complexity | 13.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 2 | 1.83% |
▷ Public methods | 96 | 88.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 11.93% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/admin-icon.png | 7.08KB | 1.57KB | ▼ 77.86% |