Benchmarks
Plugin footprint 82% 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.04MB] [CPU: ▼3.27ms] 75% from 4 tests
Analyzing server-side resources used by XQ Secure Form
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 739.94ms on /wp-admin/options-general.php?page=xq-secure-form)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.68 ▼3.06 |
Dashboard /wp-admin | 3.35 ▲0.04 | 52.17 ▲5.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.00 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 98.03 ▼5.88 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.55 ▼1.45 |
XQ Secure Form /wp-admin/options-general.php?page=xq-secure-form | 3.35 | 739.94 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 17 new options
New WordPress options |
---|
xq_redirect |
widget_recent-comments |
xq_message_recipients |
widget_recent-posts |
xq_action |
current_screen |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
xq_encoding |
... |
Browser metrics Passed 4 tests
A check of browser resources used by XQ Secure Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.06 ▼0.05 | 1.71 ▼0.10 | 43.04 ▼5.87 |
Dashboard /wp-admin | 2,202 ▲25 | 5.66 ▼0.13 | 88.98 ▼4.48 | 43.00 ▲2.02 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▲0.01 | 35.97 ▼4.24 | 35.34 ▼6.57 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.76 ▲0.53 | 596.18 ▼1.75 | 57.14 ▲3.12 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.13 ▲0.05 | 97.38 ▲2.79 | 44.00 ▲1.15 |
XQ Secure Form /wp-admin/options-general.php?page=xq-secure-form | 1,040 | 2.00 | 25.33 | 45.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 17 options in the database
- dashboard_access_token
- can_compress_scripts
- dashboard_user
- xq_temporary_access_token
- xq_access_token
- previous_blogname
- xq_message_recipients
- current_screen
- widget_recent-comments
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/xq-secure-form/xq-secure-form.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/xq-secure-form/src/templates/screens/login-screen.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/xq-secure-form/src/templates/messages/message-box.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/xq-secure-form/src/templates/screens/validation-screen.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/xq-secure-form/src/templates/screens/vendors-screen.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/xq-secure-form/src/templates/screens/confirmation-screen.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/xq-secure-form/src/types/XQSFController.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/xq-secure-form/src/templates/screens/screen-template.php:14
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
xq-secure-form/xq-secure-form.php Passed 13 tests
The primary PHP file in "XQ Secure Form" version 1.1.3 is used by WordPress to initiate all plugin functionality
49 characters long description:
A Plugin to automatically encrypt your form data.
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
No dangerous file extensions were detected1,803 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 211 | 159 | 1,182 |
SVG | 16 | 49 | 0 | 621 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 8 | 40.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 46 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 46 | 100.00% |
▷ Public constants | 46 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin