Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'seo_title_tag_install' not found or invalid function name
Server metrics [RAM: ▲0.28MB] [CPU: ▼0.46ms] Passed 4 tests
A check of server-side resources used by SEO Title Tag
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 42.12 ▼2.01 |
Dashboard /wp-admin | 3.58 ▲0.28 | 48.03 ▼1.02 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 50.61 ▲0.71 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 97.54 ▲0.47 |
Media Library /wp-admin/upload.php | 3.50 ▲0.28 | 39.93 ▲1.80 |
SEO Title Tag /wp-admin/tools.php?page=seo-title-tag | 3.44 | 37.73 |
SEO Title Tag /wp-admin/options-general.php?page=seo-title-tag | 3.47 | 32.32 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: 3 new tables, 13 new options
New tables |
---|
wp_seo_title_tag_tag |
wp_seo_title_tag_url |
wp_seo_title_tag_category |
New WordPress options |
---|
custom_title_key |
widget_recent-posts |
uploaded_file |
include_title_form |
theysaidso_admin_options |
custom_meta_description_key |
include_slug_form |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for SEO Title Tag
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.22 ▼1.53 | 4.93 ▲2.96 | 38.80 ▼3.71 |
Dashboard /wp-admin | 2,210 ▲19 | 5.83 ▼0.07 | 104.65 ▲3.72 | 35.85 ▼8.44 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.00 ▼0.03 | 39.72 ▼0.94 | 35.50 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 18.37 ▼4.92 | 606.30 ▼4.54 | 58.86 ▲2.06 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▼0.00 | 97.53 ▼0.16 | 42.28 ▼1.86 |
SEO Title Tag /wp-admin/tools.php?page=seo-title-tag | 981 | 2.02 | 22.89 | 38.81 |
SEO Title Tag /wp-admin/options-general.php?page=seo-title-tag | 1,321 | 2.50 | 29.02 | 35.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_seo_title_tag_category
- wp_seo_title_tag_tag
- wp_seo_title_tag_url
- This plugin did not uninstall successfully, leaving 13 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- custom_title_key
- include_slug_form
- can_compress_scripts
- widget_recent-posts
- custom_meta_description_key
- manage_elements_per_page
- include_meta_description_form
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=seo-title-tag
- > Deprecated in wp-content/plugins/seo-title-tag/seo-title-tag-3.5.php+1321
Function get_magic_quotes_runtime() is deprecated
SRP 0% 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seo-title-tag/ajaximage.php
- > /wp-content/plugins/seo-title-tag/upload.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-title-tag/seo-title-tag-2.3.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-title-tag/seo-title-tag-2.5.php:148
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-title-tag/WPSEOTitleTag.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/seo-title-tag/seo-title-tag.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-title-tag/WPSEOTitleTag.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=seo-title-tag
- > Network (severe)
wp-content/plugins/seo-title-tag/jquery-1.6.2.min.js - Failed to load resource: the server responded with a status of 404 (Not Found)
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: Add images for these screenshots: #1 (Settings Page), #2 (Tools Page)
seo-title-tag/seo-title-tag.php 92% from 13 tests
This is the main PHP file of "SEO Title Tag" version 3.5.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 312 characters long)
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin13,657 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,937 | 1,583 | 8,570 |
PHP | 8 | 1,102 | 457 | 4,897 |
CSS | 4 | 15 | 7 | 190 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 121)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 170.50 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 15.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 121.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
5 PNG files occupy 0.21MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 32.25KB | 17.18KB | ▼ 46.75% |
screenshot-3.png | 38.82KB | 17.92KB | ▼ 53.84% |
screenshot-4.png | 37.72KB | 17.27KB | ▼ 54.22% |
screenshot-1.png | 68.25KB | 32.39KB | ▼ 52.54% |
screenshot-5.png | 39.27KB | 18.60KB | ▼ 52.62% |