Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.43ms] Passed 4 tests
Analyzing server-side resources used by Yeem Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.54 ▼2.29 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.03 ▼8.18 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 44.57 ▼1.48 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 81.31 ▼16.93 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 33.14 ▼2.30 |
Settings /wp-admin/admin.php?page=yeem_contact_form_settings | 3.31 | 32.40 |
Design Form /wp-admin/admin.php?page=yeem_contact_form_builder | 3.31 | 29.51 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Yeem Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲220 | 13.96 ▼0.42 | 15.14 ▲13.34 | 38.89 ▼2.84 |
Dashboard /wp-admin | 2,242 ▲54 | 4.92 ▲0.05 | 122.84 ▲5.49 | 43.60 ▼6.57 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.27 ▲0.21 | 42.40 ▲6.37 | 34.84 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,700 ▲186 | 22.42 ▲4.82 | 664.39 ▼7.40 | 42.21 ▼16.10 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.29 ▲0.11 | 100.69 ▼1.23 | 44.07 ▼0.09 |
Settings /wp-admin/admin.php?page=yeem_contact_form_settings | 898 | 1.97 | 31.10 | 28.79 |
Design Form /wp-admin/admin.php?page=yeem_contact_form_builder | 878 | 1.94 | 34.16 | 49.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/yeem-contact-form/admin/partials/yeem-contact-form-admin-display.php
- > /wp-content/plugins/yeem-contact-form/public/partials/yeem-contact-form-public-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=yeem_contact_form_settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=yeem_contact_form_settings 0:0 Uncaught SyntaxError: Unexpected end of JSON input
- > GET request to /wp-admin/admin.php?page=yeem_contact_form_builder
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=yeem_contact_form_builder 0:0 Uncaught SyntaxError: Unexpected end of JSON input
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (The Settings page where you can input your email and some messages for your customer.), #2 (The Form Builder page where you can create your form easily.)
- Donate link: Invalid url: "paypal.me/MichelleAnneYee"
yeem-contact-form/yeem-contact-form.php Passed 13 tests
The entry point to "Yeem Contact Form" version 1.0.0 is a PHP file that has certain tags in its header comment area
41 characters long description:
An easy to use customizable contact form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,096 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 184 | 593 | 407 |
JavaScript | 2 | 112 | 113 | 383 |
CSS | 2 | 48 | 10 | 306 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 2.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 35 | 85.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 14.63% |
Functions | 3 | |
▷ Named functions | 3 | 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
4 PNG files occupy 0.13MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 53.41KB | 14.91KB | ▼ 72.09% |
img/calendar.png | 7.61KB | 0.64KB | ▼ 91.55% |
img/down-arrow.png | 7.27KB | 0.41KB | ▼ 94.33% |
assets/screenshot-2.png | 69.31KB | 19.97KB | ▼ 71.18% |