Benchmarks
Plugin footprint 83% 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.63MB] [CPU: ▼1.74ms] Passed 4 tests
An overview of server-side resources used by Comments Extra Fields For Post,Pages and CPT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.67 | 36.86 ▼4.11 |
Dashboard /wp-admin | 3.97 ▲0.66 | 49.58 ▲2.31 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 56.36 ▲9.38 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 84.34 ▼9.70 |
Media Library /wp-admin/upload.php | 3.83 ▲0.59 | 41.90 ▲4.54 |
All Comments /wp-admin/edit-comments.php | 3.95 | 41.89 |
Comment Fields /wp-admin/edit-comments.php?page=wpcomment | 4.27 | 47.05 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 190 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Comments Extra Fields For Post,Pages and CPT: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.45 ▼0.21 | 1.71 ▼0.08 | 42.34 ▲0.53 |
Dashboard /wp-admin | 2,215 ▲35 | 5.65 ▲0.03 | 90.20 ▲2.45 | 37.10 ▼6.97 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.00 ▲0.00 | 39.82 ▲2.54 | 35.85 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.92 ▲0.60 | 688.91 ▲71.49 | 62.76 ▲8.63 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.30 ▲0.19 | 109.29 ▼5.47 | 48.73 ▼0.05 |
All Comments /wp-admin/edit-comments.php | 1,824 | 2.28 | 35.50 | 32.32 |
Comment Fields /wp-admin/edit-comments.php?page=wpcomment | 2,774 | 3.86 | 58.41 | 50.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% 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
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-comment-fields/inc/functions.php
- > /wp-content/plugins/wp-comment-fields/inc/files.php
- > /wp-content/plugins/wp-comment-fields/classes/fields.class.php
- > /wp-content/plugins/wp-comment-fields/classes/admin.class.php
- > /wp-content/plugins/wp-comment-fields/templates/admin/basic-settings.php
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.color.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.palettes.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.email.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-comment-fields/templates/admin/fields.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.section.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.date.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.number.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.hidden.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.radio.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPComment_Inputs' not found in wp-content/plugins/wp-comment-fields/classes/inputs/input.audio.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please a description for screenshot #0 in wp-comment-fields/assets to your readme.txt
- Screenshots: Screenshot #5 (Frontend - Extra fields with user comment) image not found
wp-comment-fields/wp-comment-fields.php 92% from 13 tests
Analyzing the main PHP file in "Comments Extra Fields For Post,Pages and CPT" version 4.7
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected34,402 lines of code in 129 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 2,200 | 1,049 | 14,648 |
CSS | 20 | 532 | 400 | 7,259 |
PHP | 55 | 1,782 | 1,240 | 6,298 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 27 | 21.43% |
▷ Public methods | 103 | 81.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 18.25% |
Functions | 78 | |
▷ Named functions | 74 | 94.87% |
▷ Anonymous functions | 4 | 5.13% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
49 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.88KB | 1.02KB | ▼ 45.84% |
css/jq-ui/smoothness/images/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
images/file.png | 2.32KB | 1.81KB | ▼ 21.75% |
css/jq-ui/smoothness/images/ui-icons_454545_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
css/share.png | 7.85KB | 5.03KB | ▼ 35.98% |