Benchmarks
Plugin footprint 83% from 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.00MB] [CPU: ▼9.67ms] Passed 4 tests
Analyzing server-side resources used by Zervise Contact Us Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.05 | 30.12 ▼15.09 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.24 ▼20.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.19 ▲2.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.07 ▼6.00 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.35 ▲2.61 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_zervise_contact_us_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Zervise Contact Us Form: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.76 ▲0.23 | 2.74 ▲0.95 | 41.98 ▼1.14 |
Dashboard /wp-admin | 2,189 ▲9 | 5.56 ▼0.02 | 92.88 ▼7.74 | 41.98 ▼2.14 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.08 ▲0.05 | 38.84 ▲3.20 | 33.60 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.75 ▲0.16 | 680.75 ▼60.41 | 65.46 ▲0.74 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.10 ▼0.11 | 103.07 ▲0.03 | 46.63 ▲2.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_zervise_contact_us_widget
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/zervise-contact-us-form/includes/zervise-contact-us-class.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zervise-contact-us-form/includes/zervise-contact-us-scripts.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: customer support, help desk, helpdesk, support, service desk...
zervise-contact-us-form/zervise-contact-us.php 92% from 13 tests
Analyzing the main PHP file in "Zervise Contact Us Form" version 1.0.0
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("zervise-contact-us-form.php" instead of "zervise-contact-us.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin531 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 32 | 32 | 272 |
JavaScript | 1 | 26 | 9 | 137 |
PHP | 3 | 28 | 48 | 122 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
There were not PNG files found in your plugin