Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.43ms] Passed 4 tests
An overview of server-side resources used by Hide-n-Disable-comment-url-field
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.09 ▼4.79 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.86 ▼2.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.99 ▲6.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.76 ▼5.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.57 ▼1.65 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Hide-n-Disable-comment-url-field
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.21 ▼1.17 | 4.53 ▲2.93 | 40.21 ▲1.03 |
Dashboard /wp-admin | 2,203 ▲12 | 5.80 ▼0.10 | 93.85 ▼13.04 | 39.00 ▼3.64 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 39.30 ▲3.16 | 36.84 ▲4.39 |
Add New Post /wp-admin/post-new.php | 1,535 ▲3 | 23.32 ▲0.06 | 595.72 ▼81.77 | 44.32 ▼8.29 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.03 | 93.54 ▼16.17 | 40.52 ▼5.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hide-n-disable-comment-url-field/Hide-n-Disable-comment-url-field.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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:
- Plugin Name: Please specify the plugin name on the first line (
=== hide-n-disable-comment-url-field ===
) - Screenshots: These screenshots have no corresponding images in /assets: #2 (Hide and Disable Website URL field.See in comment form.Screenshot taken from Twenty Fourteen Theme.), #3 (Hide and Disable Website URL field.See in comment form.Screenshot taken from Twenty Twenty Three Theme.)
hide-n-disable-comment-url-field/Hide-n-Disable-comment-url-field.php 85% from 13 tests
"Hide-n-Disable-comment-url-field" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hide-n-disable-comment-url-field.php" instead of "Hide-n-Disable-comment-url-field.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin15 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 10 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 48.75KB | 18.00KB | ▼ 63.08% |
screenshot-1.png | 27.96KB | 13.43KB | ▼ 51.97% |