Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.85MB] [CPU: ▼30.64ms] Passed 4 tests
This is a short check of server-side resources used by Zedna Contact form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.32 ▼2.06 |
Dashboard /wp-admin | 3.09 ▼0.21 | 35.04 ▼20.77 |
Posts /wp-admin/edit.php | 3.09 ▼0.26 | 27.25 ▼24.11 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.79 | 24.64 ▼66.64 |
Media Library /wp-admin/upload.php | 3.09 ▼0.13 | 25.95 ▼11.05 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Zedna Contact form: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.55 ▼1.04 | 4.96 ▲3.16 | 44.82 ▼0.50 |
Dashboard /wp-admin | 2,225 ▲37 | 5.91 ▲0.99 | 104.85 ▼2.68 | 42.48 ▲0.35 |
Posts /wp-admin/edit.php | 2,087 ▼2 | 2.02 ▲0.05 | 35.07 ▼5.83 | 34.34 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.21 ▲0.11 | 635.83 ▼10.07 | 46.90 ▼14.85 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.15 ▼0.02 | 100.31 ▼1.43 | 41.84 ▼5.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/zedna-contact-form/zedna-contact-from-attachment.php+50
mkdir(): No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/zedna-contact-form/zedna-contact-from-attachment.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 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Contact form)
zedna-contact-form/zedna-contact-from-attachment.php 92% from 13 tests
This is the main PHP file of "Zedna Contact form" version 1.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zedna-contact-form.php" instead of "zedna-contact-from-attachment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin443 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 34 | 309 |
PO File | 1 | 27 | 29 | 84 |
JavaScript | 1 | 1 | 0 | 36 |
CSS | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 7.66KB | 3.93KB | ▼ 48.73% |
assets/banner-772x250.png | 33.95KB | 14.71KB | ▼ 56.68% |
assets/screenshot-1.png | 18.03KB | 8.08KB | ▼ 55.20% |