Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.34ms] Passed 4 tests
Analyzing server-side resources used by Simple Contact Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.16 ▲1.38 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.21 ▼4.80 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.40 ▼3.65 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.54 ▼14.27 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.81 ▲3.34 |
Simple Contact Forms /wp-admin/options-general.php?page=simple-contact-forms | 3.35 | 74.20 |
Server storage [IO: ▲0.14MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 40 new files
Database: 1 new table, 31 new options
New tables |
---|
wp_scf_completions |
New WordPress options |
---|
scf_recaptcha_public |
scf_form_styling |
scf_valid_fail_text |
scf_recaptcha_private |
scf_form_title |
db_upgraded |
scf_db_version |
scf_button_class |
scf_success_msg |
scf_validation |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Contact Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.72 ▼0.46 | 8.73 ▲6.79 | 44.17 ▲0.76 |
Dashboard /wp-admin | 2,194 ▲14 | 5.70 ▲0.16 | 94.56 ▼7.33 | 44.02 ▼1.57 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.31 ▲0.34 | 38.39 ▲0.52 | 34.72 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.13 ▲5.46 | 653.33 ▼6.59 | 37.20 ▼21.34 |
Media Library /wp-admin/upload.php | 1,399 ▲5 | 4.23 ▲0.01 | 102.93 ▲0.81 | 45.46 ▲3.46 |
Simple Contact Forms /wp-admin/options-general.php?page=simple-contact-forms | 2,062 | 7.00 | 148.54 | 71.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_scf_widget
- db_upgraded
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php
- 54× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 160
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 130
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 120
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 136
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 125
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 138
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 92
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 136
- > PHP Notice
Undefined variable: vals in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 50
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simple-contact-forms/admin/views/admin-page-settings.php on line 114
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: contact, enquiry forms, contact forms, forms
simple-contact-forms/simple-contact-forms.php 92% from 13 tests
The main PHP file in "Simple Contact Forms" ver. 1.6.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Git Repository: Please remove the Git repository from this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,044 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 850 | 1,129 | 1,527 |
JavaScript | 3 | 52 | 77 | 267 |
Markdown | 1 | 54 | 0 | 137 |
CSS | 2 | 21 | 9 | 97 |
JSON | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 6 | 6.59% |
▷ Public methods | 78 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 14.29% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected