Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.43ms] Passed 4 tests
Server-side resources used by Contact Form 7 UI
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.13 ▼3.56 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.79 ▼1.38 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.00 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.76 ▲0.44 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.02 ▲0.97 |
Contact Form 7 UI /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php | 3.33 | 33.00 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 UI
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲192 | 13.57 ▼0.82 | 5.42 ▲3.65 | 43.78 ▲1.00 |
Dashboard /wp-admin | 2,232 ▲47 | 5.85 ▼0.00 | 101.74 ▼15.09 | 40.13 ▼6.75 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.99 ▼0.03 | 38.65 ▲1.60 | 34.91 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 23.11 ▲0.28 | 574.99 ▼87.27 | 59.99 ▲6.42 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.19 ▼0.01 | 96.48 ▼3.25 | 42.75 ▼5.25 |
Contact Form 7 UI /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php | 2,068 | 14.44 | 325.91 | 100.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/contact-form-7-ui/contact-form-7-ui.php
- > /wp-content/plugins/contact-form-7-ui/zzz_contact_form.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/ys/r/uroBBE-t04u.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/options-general.php?page=contact-form-7-ui/contact-form-7-ui.php
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/ys/r/uroBBE-t04u.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Plugin dashboard icon), #2 (Plugin UI for entering product details)
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
contact-form-7-ui/contact-form-7-ui.php 92% from 13 tests
"Contact Form 7 UI" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 277 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected876 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 192 | 167 | 687 |
HTML | 2 | 23 | 16 | 122 |
JavaScript | 2 | 6 | 20 | 36 |
XML | 2 | 0 | 0 | 19 |
CSS | 1 | 5 | 7 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 27 | |
▷ Static methods | 9 | 33.33% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 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
4 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 15.30KB | 6.65KB | ▼ 56.51% |
zzz_media/qr_code.png | 0.39KB | 0.41KB | 0.00% |
screenshot-2.png | 21.66KB | 10.67KB | ▼ 50.75% |
tinymce/icon.png | 0.40KB | 0.43KB | 0.00% |