Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.38ms] Passed 4 tests
An overview of server-side resources used by OweBest Contact Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.64 ▼7.63 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.41 ▼5.79 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 43.73 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 79.57 ▼15.29 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.85 ▼2.85 |
Settings /wp-admin/admin.php?page=settings | 3.23 | 30.94 |
OB Contact Form /wp-admin/admin.php?page=OB-contact-us-form | 3.23 | 36.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for OweBest Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.78 ▲0.37 | 1.73 ▼0.23 | 42.54 ▼0.85 |
Dashboard /wp-admin | 2,236 ▲47 | 4.85 ▼0.13 | 96.80 ▼26.26 | 41.97 ▼5.90 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.00 ▼0.06 | 37.08 ▼0.68 | 34.59 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,555 ▲36 | 23.15 ▼0.09 | 631.74 ▼42.75 | 57.25 ▲3.75 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.26 ▲0.06 | 97.21 ▼4.69 | 45.23 ▼1.14 |
Settings /wp-admin/admin.php?page=settings | 874 | 2.06 | 22.44 | 26.72 |
OB Contact Form /wp-admin/admin.php?page=OB-contact-us-form | 803 | 2.03 | 25.80 | 27.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ob-contact-form/contact-form-example.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (OweBest Contact Form Settings page), #2 (OweBest Contact Form on page)
- Tags: There are too many tags (12 tag instead of maximum 10)
ob-contact-form/contact-form-example.php 92% from 13 tests
Analyzing the main PHP file in "OweBest Contact Form" version 1.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ob-contact-form.php" instead of "contact-form-example.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin282 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 11 | 259 |
CSS | 1 | 2 | 0 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.79KB | 2.73KB | ▼ 64.98% |
screenshot-1.png | 11.19KB | 5.70KB | ▼ 49.08% |