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.03MB] [CPU: ▼5.45ms] Passed 4 tests
This is a short check of server-side resources used by Footer Contact Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.21 ▲0.35 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.31 ▼7.11 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.12 ▼3.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.18 ▼11.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.02 ▲1.38 |
Footer Enquiry /wp-admin/options-general.php?page=fcfh-enquiry-setting | 3.22 | 33.57 |
Footer Enquiry /wp-admin/tools.php?page=fcfh-enquiry-report | 3.22 | 33.76 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_fcfh_enquiry |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Footer Contact Form
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.29 ▼1.01 | 1.79 ▲0.12 | 45.51 ▲5.85 |
Dashboard /wp-admin | 2,214 ▲26 | 5.88 ▲1.02 | 108.95 ▲0.73 | 43.88 ▲2.25 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.04 ▲0.04 | 38.96 ▼1.36 | 35.32 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.36 ▲0.41 | 656.67 ▼20.36 | 50.10 ▼7.18 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.19 ▲0.08 | 105.78 ▼13.64 | 44.24 ▼3.90 |
Footer Enquiry /wp-admin/options-general.php?page=fcfh-enquiry-setting | 800 | 2.06 | 25.03 | 25.57 |
Footer Enquiry /wp-admin/tools.php?page=fcfh-enquiry-report | 759 | 2.05 | 24.66 | 25.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_fcfh_enquiry
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/footer-contact-form/index.php
- > /wp-content/plugins/footer-contact-form/admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2 in footer-contact-form/assets to your readme.txt
footer-contact-form/index.php 92% from 13 tests
The primary PHP file in "Footer Contact Form" version 1.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("footer-contact-form.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected197 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 9 | 197 |
PHP code Passed 2 tests
This is a short overview 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.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin