Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼138.57ms] Passed 4 tests
An overview of server-side resources used by Request Form for Zendesk
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 31.21 ▲7.52 |
Dashboard /wp-admin | 3.10 ▲0.05 | 54.69 ▲7.41 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 51.20 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 94.53 ▼565.08 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 38.06 ▲3.69 |
Custom Fields /wp-admin/edit.php?post_type=zrf_custom_field | 3.09 | 36.75 |
Add New /wp-admin/post-new.php?post_type=zrf_custom_field | 3.12 | 56.50 |
Field Groups /wp-admin/edit-tags.php?taxonomy=zrf_field_group&post_type=zrf_custom_field | 3.04 | 37.50 |
Zendesk Form /wp-admin/options-general.php?page=zendesk-request-form | 3.02 | 32.25 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Request Form for Zendesk
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲217 | 16.21 ▲0.73 | 16.92 ▲8.19 | 50.08 ▼5.11 |
Dashboard /wp-admin | 2,972 ▲38 | 6.02 ▲0.08 | 146.45 ▼4.77 | 116.10 ▼1.39 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.01 | 69.45 ▼10.25 | 89.64 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,686 ▲71 | 18.78 ▼2.61 | 376.31 ▲105.98 | 114.94 ▲5.65 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▲0.02 | 154.02 ▼10.12 | 125.81 ▲3.92 |
Custom Fields /wp-admin/edit.php?post_type=zrf_custom_field | 1,412 | 2.62 | 65.39 | 79.42 |
Add New /wp-admin/post-new.php?post_type=zrf_custom_field | 2,530 | 3.96 | 119.94 | 116.23 |
Field Groups /wp-admin/edit-tags.php?taxonomy=zrf_field_group&post_type=zrf_custom_field | 1,713 | 2.50 | 63.20 | 81.89 |
Zendesk Form /wp-admin/options-general.php?page=zendesk-request-form | 2,290 | 2.70 | 61.41 | 103.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, 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 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/zendesk-request-form/uninstall.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
8 plugin tags: support, zendesk support, zendesk api, zendesk ticket, zendesk...
zendesk-request-form/zendesk-request-form.php Passed 13 tests
The entry point to "Request Form for Zendesk" version 3.0.3 is a PHP file that has certain tags in its header comment area
129 characters long description:
Add a Zendesk request form on any post/page via a shortcode. Submitted messages will create a new ticket in your Zendesk account.
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
Success! There were no dangerous files found in this plugin2,065 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 351 | 151 | 2,065 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 31 | |
▷ Named functions | 31 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin