Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.43ms] Passed 4 tests
Server-side resources used by Image Tag Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.85 ▲6.56 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.45 ▼15.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.67 ▼0.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.11 ▼11.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.53 ▼1.28 |
Image Tag Manager /wp-admin/upload.php?page=image-tag-manager | 3.62 | 33.42 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 27 new options
New WordPress options |
---|
widget_recent-comments |
itm_use_post_title_as_default |
itm_remove_from_alt |
itm_add_class |
itm_strip_numbers |
itm_add_post_category_to_alt |
db_upgraded |
itm_add_post_title_to_title |
widget_theysaidso_widget |
itm_bar_separator |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Image Tag Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.35 ▲0.11 | 1.95 ▲0.41 | 48.64 ▲7.59 |
Dashboard /wp-admin | 2,196 ▲22 | 5.53 ▼0.11 | 85.19 ▼3.41 | 39.60 ▼0.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.02 | 33.33 ▼3.43 | 34.45 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.99 ▼0.19 | 658.83 ▼19.72 | 57.14 ▲1.38 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.03 | 110.76 ▲10.82 | 45.54 ▼1.97 |
Image Tag Manager /wp-admin/upload.php?page=image-tag-manager | 1,824 | 1.83 | 28.00 | 61.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 15× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/image-tag-manager/admin/img/index.php
- > /wp-content/plugins/image-tag-manager/admin/css/index.php
- > /wp-content/plugins/image-tag-manager/library/itm-filter-activation.php
- > /wp-content/plugins/image-tag-manager/admin/inc/index.php
- > /wp-content/plugins/image-tag-manager/library/itm-filter-attributes.php
- > /wp-content/plugins/image-tag-manager/admin/core.php
- > /wp-content/plugins/image-tag-manager/admin/inc/settings.php
- > /wp-content/plugins/image-tag-manager/admin/inc/support.php
- > /wp-content/plugins/image-tag-manager/image-tag-manager.php
- > /wp-content/plugins/image-tag-manager/admin/js/index.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/upload.php?page=image-tag-manager
- > Network (severe)
https://www.paypalobjects.com/en_PH/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5 in image-tag-manager/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
image-tag-manager/image-tag-manager.php Passed 13 tests
The entry point to "Image Tag Manager" version 1.5 is a PHP file that has certain tags in its header comment area
133 characters long description:
This plugin allows you to dynamically generates (alt, title, caption and description) in any images of your site for SEO enhancement.
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
Everything looks great! No dangerous files found in this plugin1,801 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 59 | 390 | 1,323 |
CSS | 1 | 14 | 1 | 240 |
JavaScript | 2 | 7 | 1 | 238 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 43.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 10.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 90.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin