Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/danixland-contact-form/include/dnxcf_helper.php+94
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.06MB] [CPU: ▼299.54ms] Passed 4 tests
This is a short check of server-side resources used by danixland contact form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 70.32 ▲8.97 |
Dashboard /wp-admin | 3.51 ▲0.11 | 45.61 ▲8.02 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 41.55 ▼3.29 |
Add New Post /wp-admin/post-new.php | 6.97 ▲0.01 | 116.57 ▼1,198.08 |
Media Library /wp-admin/upload.php | 3.39 ▲0.10 | 26.10 ▼4.81 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 1 new option
New WordPress options |
---|
dnxcf_options |
Browser metrics Passed 4 tests
An overview of browser requirements for danixland contact form
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.71 ▲0.45 | 8.10 ▲1.98 | 2.11 ▼0.71 |
Dashboard /wp-admin | 2,898 ▲40 | 6.13 ▼0.01 | 131.58 ▼18.31 | 158.77 ▼4.36 |
Posts /wp-admin/edit.php | 2,708 ▲23 | 3.23 ▼0.01 | 64.46 ▲0.48 | 138.04 ▼8.67 |
Add New Post /wp-admin/post-new.php | 1,674 ▼78 | 17.36 ▼3.56 | 412.18 ▼34.17 | 181.08 ▼9.89 |
Media Library /wp-admin/upload.php | 1,718 ▲24 | 5.50 ▲0.01 | 141.94 ▼5.19 | 185.93 ▼14.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/danixland-contact-form/include/index.php
- > /wp-content/plugins/danixland-contact-form/include/dnxcf_settings.php
- > /wp-content/plugins/danixland-contact-form/include/dnxcf_options-register.php
- > /wp-content/plugins/danixland-contact-form/include/dnxcf_options-display.php
- > /wp-content/plugins/danixland-contact-form/include/dnxcf_helper.php
- > /wp-content/plugins/danixland-contact-form/index.php
- > /wp-content/plugins/danixland-contact-form/include/dnxcf_mail_template_danixland.php
- > /wp-content/plugins/danixland-contact-form/danixland-contact-form.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: shortcode, contact form, custom template
danixland-contact-form/danixland-contact-form.php 92% from 13 tests
The main PHP script in "danixland contact form" version 1.3 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,604 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 74 | 149 | 1,306 |
PO File | 1 | 78 | 98 | 243 |
CSS | 2 | 10 | 25 | 38 |
SVG | 1 | 5 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 29 | |
▷ Named functions | 29 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin