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.00MB] [CPU: ▼8.44ms] Passed 4 tests
An overview of server-side resources used by Comment Date and Gravatar remover
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 24.27 ▼19.13 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.89 ▼3.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.05 ▼0.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.37 ▼10.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.44 ▲2.68 |
Remove comment date & gravatar /wp-admin/options-general.php?page=hide-c-d-g | 3.21 | 38.02 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
hcdg_remove_date |
db_upgraded |
hcdg_remove_gravatar |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Comment Date and Gravatar remover
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲13 | 14.34 ▼0.00 | 1.83 ▼0.73 | 41.60 ▼3.38 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.03 | 84.78 ▼8.81 | 36.67 ▼2.86 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.04 | 39.87 ▼0.09 | 34.37 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.07 ▼0.09 | 641.08 ▲20.18 | 60.61 ▲1.01 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.28 ▲0.04 | 103.30 ▼2.90 | 45.10 ▲2.80 |
Remove comment date & gravatar /wp-admin/options-general.php?page=hide-c-d-g | 860 | 1.99 | 25.68 | 36.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- hcdg_remove_gravatar
- db_upgraded
- hcdg_remove_date
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-date-and-gravatar-under-comment/remove-comment-date-gravatar.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/remove-date-and-gravatar-under-comment/admin-checkbox-settings.php:1
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Settings of Gravatar and date remover plugin) image missing
remove-date-and-gravatar-under-comment/remove-comment-date-gravatar.php 92% from 13 tests
This is the main PHP file of "Comment Date and Gravatar remover" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("remove-date-and-gravatar-under-comment.php" instead of "remove-comment-date-gravatar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin143 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 22 | 101 |
CSS | 1 | 3 | 0 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 43.54KB | 20.67KB | ▼ 52.52% |