Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼168.98ms] Passed 4 tests
Analyzing server-side resources used by Easy Simple Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.08 | 45.48 ▲8.07 |
Dashboard /wp-admin | 3.13 ▲0.08 | 48.43 ▲8.40 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 45.05 ▲1.39 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 91.85 ▼689.93 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 35.57 ▲4.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cform-widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Simple Contact Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,704 ▲108 | 15.71 ▼0.14 | 9.31 ▲1.77 | 53.99 ▲4.73 |
Dashboard /wp-admin | 2,973 ▲39 | 5.91 ▼0.02 | 135.16 ▼13.36 | 109.45 ▼2.62 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.02 | 63.52 ▼1.11 | 90.75 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.76 ▼0.01 | 369.93 ▼15.78 | 119.44 ▲9.77 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.01 ▼0.01 | 164.07 ▲0.33 | 116.83 ▼9.44 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- widget_cform-widget
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (Contact form)
easy-simple-contact-form/index.php 85% from 13 tests
The entry point to "Easy Simple Contact Form" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-simple-contact-form.php" instead of "index.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
Good job! No executable or dangerous file extensions detected371 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 80 | 60 | 356 |
CSS | 1 | 10 | 10 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 72.36KB | 18.24KB | ▼ 74.80% |