Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/head-meta-date/head-meta-date.php+143
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.78ms] Passed 4 tests
Analyzing server-side resources used by Head Meta Date
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 26.85 ▼13.39 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.00 ▼6.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.55 ▲1.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.60 ▼7.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.08 ▼3.08 |
Head Meta Date /wp-admin/options-general.php?page=head-meta-date/head-meta-date.php | 3.18 | 29.20 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
hmdate_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Head Meta Date: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.30 ▼1.08 | 1.61 ▼0.13 | 37.64 ▼6.63 |
Dashboard /wp-admin | 2,210 ▲19 | 4.83 ▼0.03 | 110.56 ▲10.46 | 37.17 ▼12.67 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.06 | 39.30 ▼3.28 | 34.46 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,524 ▼4 | 23.46 ▲5.09 | 623.50 ▲12.78 | 54.61 ▼7.95 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.03 | 92.13 ▼0.57 | 43.28 ▼0.82 |
Head Meta Date /wp-admin/options-general.php?page=head-meta-date/head-meta-date.php | 1,118 | 1.76 | 23.79 | 37.45 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- hmdate_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=head-meta-date/head-meta-date.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=head-meta-date/head-meta-date.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=head-meta-date/head-meta-date.php
- > Notice in wp-content/plugins/head-meta-date/head-meta-date.php+85
Undefined variable: post_date
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/head-meta-date/head-meta-date.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 need to be fixed:
- Donate link: Invalid url: "Free"
head-meta-date/head-meta-date.php 92% from 13 tests
The main PHP script in "Head Meta Date" version 20130412... is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "20130412...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin355 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 49 | 355 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 16 | |
▷ Named functions | 16 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
hmd-logo.png | 6.59KB | 4.31KB | ▼ 34.54% |