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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.17ms] Passed 4 tests
An overview of server-side resources used by Customize comment form input fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 41.87 ▼0.46 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.52 ▲0.50 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.86 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.95 ▼4.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.05 ▲0.40 |
Customize comment form input fields /wp-admin/options-general.php?page=customize-comment-form-input-fields | 3.27 | 38.94 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Customize comment form input fields
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.72 ▲0.12 | 1.80 ▼0.09 | 43.54 ▼3.59 |
Dashboard /wp-admin | 2,204 ▲24 | 5.58 ▼0.11 | 88.65 ▼1.88 | 41.29 ▼3.89 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▼0.02 | 34.51 ▼4.43 | 35.72 ▲2.36 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.07 ▲0.06 | 676.39 ▲12.76 | 54.28 ▼11.22 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.28 ▲0.08 | 103.71 ▼0.89 | 44.35 ▲1.01 |
Customize comment form input fields /wp-admin/options-general.php?page=customize-comment-form-input-fields | 1,103 | 2.01 | 26.56 | 36.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-comment-form-input-fields/ccfif-admin.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-comment-form-input-fields/customize-comment-form-input-fields.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-comment-form-input-fields/ccfif-customize.php:7
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires php: Invalid version format
customize-comment-form-input-fields/customize-comment-form-input-fields.php Passed 13 tests
Analyzing the main PHP file in "Customize comment form input fields" version 1.0.1
47 characters long description:
This plugin customizes the comment input field.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin373 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 10 | 225 |
CSS | 1 | 1 | 0 | 148 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 12 | |
▷ Named functions | 12 | 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
1 compressed PNG file occupies 0.10MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/image.png | 98.87KB | 101.04KB | 0.00% |