Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼147.18ms] Passed 4 tests
A check of server-side resources used by Katorymnd Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 33.69 ▼2.25 |
Dashboard /wp-admin | 3.06 ▲0.01 | 44.15 ▲2.94 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 36.22 ▼5.23 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 85.52 ▼581.11 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.08 ▼0.11 |
Katorymnd Contact Form /wp-admin/options-general.php?page=katorymnd_contact_form_settings | 3.04 | 27.44 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Katorymnd Contact Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.01 ▲0.47 | 8.12 ▼2.01 | 47.65 ▼0.38 |
Dashboard /wp-admin | 2,977 ▲43 | 5.89 ▼0.06 | 132.83 ▼6.46 | 111.09 ▼10.26 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 64.62 ▼2.08 | 91.07 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,507 ▼163 | 18.48 ▼0.66 | 352.70 ▼31.47 | 105.02 ▼1.09 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.06 ▲0.01 | 150.35 ▲8.55 | 121.72 ▲1.66 |
Katorymnd Contact Form /wp-admin/options-general.php?page=katorymnd_contact_form_settings | 1,166 | 2.09 | 55.52 | 80.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=katorymnd_contact_form_settings
- > Notice in wp-content/plugins/katorymnd-contact-form/katorymnd_contact_form_settings_admin_page.php+9
Undefined index: katorymnd_cfm_hidden
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 fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/katorymnd-contact-form/katorymnd_contact_form.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/katorymnd-contact-form/katorymnd_contact_form_settings_admin_page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Requires at least: Version not formatted correctly
- Tested up to: Version not formatted correctly
- Requires php: Version not formatted correctly
katorymnd-contact-form/katorymnd_contact_form.php 85% from 13 tests
"Katorymnd Contact Form" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("katorymnd-contact-form.php" instead of "katorymnd_contact_form.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin290 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 284 | 21 | 290 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected