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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼144.67ms] Passed 4 tests
This is a short check of server-side resources used by Smartest Way To Design & Customize WordPress Comments & Comment Form - WP Comment Designer Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.03 ▲0.30 | 35.40 ▲13.13 |
Dashboard /wp-admin | 3.26 ▲0.20 | 44.82 ▼0.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.26 | 44.17 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.61 ▲0.18 | 88.22 ▼577.39 |
Media Library /wp-admin/upload.php | 3.20 ▲0.19 | 33.51 ▲0.47 |
How To Use /wp-admin/admin.php?page=wpcd-how-to-use | 3.20 | 30.15 |
Check Premium Version /wp-admin/admin.php?page=wpcd-premium | 2.99 | 20.94 |
WP Comment Designer Lite /wp-admin/admin.php?page=wp-comment-designer-lite | 3.22 | 30.00 |
More WordPress Stuff /wp-admin/admin.php?page=wpcd-about-us | 3.18 | 28.12 |
Documentation /wp-admin/admin.php?page=wpcd-documentation | 2.99 | 22.47 |
Comment Form Builder /wp-admin/admin.php?page=wpcd-comment-form-builder | 3.21 | 32.17 |
Server storage [IO: ▲3.53MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 81 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wpcd_settings |
wpcd_form_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Smartest Way To Design & Customize WordPress Comments & Comment Form - WP Comment Designer Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,890 ▲294 | 16.39 ▲0.34 | 17.95 ▲6.42 | 50.42 ▲1.13 |
Dashboard /wp-admin | 3,020 ▲86 | 5.87 ▼0.29 | 132.81 ▼12.45 | 117.29 ▼4.75 |
Posts /wp-admin/edit.php | 2,793 ▲54 | 2.72 ▼0.01 | 64.68 ▼3.59 | 87.75 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,532 ▼140 | 18.82 ▼0.04 | 373.53 ▼0.25 | 108.68 ▼1.64 |
Media Library /wp-admin/upload.php | 1,864 ▲54 | 5.04 ▲0.01 | 142.86 ▼4.21 | 122.50 ▲1.61 |
How To Use /wp-admin/admin.php?page=wpcd-how-to-use | 1,526 | 2.95 | 64.25 | 95.89 |
Check Premium Version /wp-admin/admin.php?page=wpcd-premium | 8 | 0.90 | 0.05 | 0.19 |
WP Comment Designer Lite /wp-admin/admin.php?page=wp-comment-designer-lite | 2,397 | 2.86 | 66.93 | 99.67 |
More WordPress Stuff /wp-admin/admin.php?page=wpcd-about-us | 1,396 | 6.81 | 127.31 | 97.43 |
Documentation /wp-admin/admin.php?page=wpcd-documentation | 2,064 | 10.44 | 226.20 | 139.69 |
Comment Form Builder /wp-admin/admin.php?page=wpcd-comment-form-builder | 2,091 | 2.52 | 69.93 | 73.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 2 options
- wpcd_form_settings
- wpcd_settings
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 29× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/templates/template-2.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/fields/wpcd-url.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/wpcd-custom-css.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/backend/main_settings/panel/wpcd_general.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/wpcd_comment_listing_inner.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/fields/wpcd-text.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/backend/form_builder/wpcd_form_settings.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/backend/form_builder/panel/wpcd_form_field.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/backend/main_settings/panel/wpcd_display.php
- > /wp-content/plugins/wp-comment-designer-lite/inc/frontend/templates/template-4.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpcd-premium
- > Network (severe)
https://accesspressthemes.com/wordpress-plugins/wp-comment-designer/ - Failed to load resource: the server responded with a status of 504 ()
- > GET request to /wp-admin/admin.php?page=wpcd-documentation
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/wp-comment-designer-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=wpcd-documentation
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
8 plugin tags: dislike, rearrange comment form fields, comment rating, comment design, comment...
wp-comment-designer-lite/wp-comment-designer-lite.php Passed 13 tests
The main PHP script in "Smartest Way To Design & Customize WordPress Comments & Comment Form - WP Comment Designer Lite" version 2.0.4 is automatically included on every request by WordPress
86 characters long description:
WP Comment Designer Lite helps you customize your WordPress comments and comment form.
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
Success! There were no dangerous files found in this plugin13,108 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 1,147 | 164 | 7,566 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 30 | 174 | 39 | 2,055 |
JavaScript | 5 | 57 | 71 | 816 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 146.00 |
▷ Minimum class complexity | 146.00 |
▷ Maximum class complexity | 146.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 35 | |
▷ Static methods | 7 | 20.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
24 PNG files occupy 1.74MB with 1.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/template-save-button/1.png | 2.00KB | 0.71KB | ▼ 64.57% |
img/flicker.png | 1.45KB | 0.57KB | ▼ 60.47% |
img/googleplus.png | 1.91KB | 0.99KB | ▼ 48.06% |
img/logo.png | 3.92KB | 2.03KB | ▼ 48.21% |
img/template-comment-form/template-4.png | 14.33KB | 4.91KB | ▼ 65.74% |