Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼33.11ms] Passed 4 tests
This is a short check of server-side resources used by UDVD-Contactpage-Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.58 ▲4.96 |
Dashboard /wp-admin | 3.01 ▼0.29 | 30.07 ▼16.42 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 24.17 ▼22.27 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.87 | 22.05 ▼78.77 |
Media Library /wp-admin/upload.php | 3.01 ▼0.21 | 22.40 ▼14.98 |
UDVD Contactpage /wp-admin/options-general.php?page=udvd-contact-form-options | 3.02 | 22.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
udvd_contact_form_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
UDVD-Contactpage-Generator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.14 ▼1.03 | 1.81 ▼0.32 | 45.92 ▲4.52 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▼0.07 | 98.09 ▼2.99 | 40.42 ▼0.95 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.97 ▼0.08 | 40.28 ▲2.29 | 35.63 ▲3.78 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.67 ▼5.50 | 669.12 ▲32.94 | 50.54 ▼7.62 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.05 | 96.24 ▼12.81 | 42.67 ▼0.82 |
UDVD Contactpage /wp-admin/options-general.php?page=udvd-contact-form-options | 796 | 2.05 | 25.05 | 25.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=udvd-contact-form-options
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/udvd-contactpage-generator/UDVD-Contactpage-Generator.php:33
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please describe screenshot #0 in udvd-contactpage-generator/assets to your readme.txt
- Screenshots: Screenshot #1 (This is how your contact page looks) image required
udvd-contactpage-generator/UDVD-Contactpage-Generator.php 85% from 13 tests
The main PHP script in "UDVD-Contactpage-Generator" version 1.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("udvd-contactpage-generator.php" instead of "UDVD-Contactpage-Generator.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 333 characters long)
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
Everything looks great! No dangerous files found in this plugin248 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 32 | 130 |
CSS | 1 | 17 | 8 | 118 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/valid.png | 0.38KB | 0.31KB | ▼ 17.74% |
img/red_asterisk.png | 0.22KB | 0.16KB | ▼ 26.01% |
img/invalid.png | 0.41KB | 0.45KB | 0.00% |
img/donate_hand.png | 31.35KB | 9.94KB | ▼ 68.30% |