Benchmarks
Plugin footprint 48% 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.04MB] [CPU: ▼5.55ms] Passed 4 tests
An overview of server-side resources used by Tidy Head Tag
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.94 ▲5.72 |
Dashboard /wp-admin | 3.36 ▲0.01 | 48.34 ▼12.85 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.76 ▲5.40 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.49 ▼13.68 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.45 ▼1.06 |
Tidy Head Tag /wp-admin/options-general.php?page=tidy-head-tag | 3.24 | 34.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Tidy Head Tag: 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,804 ▲58 | 13.28 ▼1.12 | 5.37 ▲3.67 | 39.96 ▼3.07 |
Dashboard /wp-admin | 2,210 ▲19 | 5.83 ▲0.93 | 93.00 ▼7.77 | 38.78 ▼6.35 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▼0.02 | 39.17 ▲3.11 | 40.08 ▲3.71 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.18 ▼0.00 | 615.79 ▼53.08 | 52.94 ▼9.06 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.04 | 94.72 ▼11.98 | 41.67 ▼4.90 |
Tidy Head Tag /wp-admin/options-general.php?page=tidy-head-tag | 928 | 2.03 | 24.30 | 34.39 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/tidy-head-tag/uninstall.php+15
require_once(wp-content/plugins/tidy-head-tag/includes/class-tidy-head-tag-data.php): failed to open stream: No such file or directory
- The plugin did not uninstall successfully, leaving 10 files (0.02MB) in the plugin directory
- (new file) languages/tidy-head-tag.pot
- (new file) languages/tidy-head-tag-ja.mo
- (new file) includes/class-tidy-head-tag-front.php
- (new file) includes/class-tidy-head-tag-admin.php
- (new file) readme.txt
- (new file) includes/class-tidy-head-tag-i18n.php
- (new file) languages/tidy-head-tag-ja.po
- (new file) tidy-head-tag.php
- (new file) includes/class-tidy-head-tag.php
- (new file) uninstall.php
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- recovery_mode_email_last_sent
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: head, header, meta, wp_head
tidy-head-tag/tidy-head-tag.php Passed 13 tests
Analyzing the main PHP file in "Tidy Head Tag" version 1.3.0
60 characters long description:
Organize the head tags that WordPress automatically outputs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin308 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 40 | 175 | 231 |
PO File | 1 | 26 | 31 | 77 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
There were not PNG files found in your plugin