Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.23ms] Passed 4 tests
A check of server-side resources used by GA Meta Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 39.59 ▼6.52 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.23 ▼0.40 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.96 ▼15.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.87 ▼22.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.38 ▲10.26 |
Google Options /wp-admin/admin.php?page=ga-meta-tags-google | 3.25 | 40.51 |
Main Options /wp-admin/admin.php?page=ga-meta-tags | 3.26 | 32.58 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 20 new options
New WordPress options |
---|
ga_meta_tags_google_analytics |
ga_meta_tags_google_tag_manager |
can_compress_scripts |
db_upgraded |
ga_meta_tags_author |
ga_meta_tags_language |
ga_meta_tags_copyright |
widget_recent-posts |
ga_meta_tags_description |
ga_meta_tags_keyword |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GA Meta Tags
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.71 ▼1.09 | 4.08 ▲1.81 | 42.59 ▼0.34 |
Dashboard /wp-admin | 2,225 ▲37 | 5.91 ▲1.03 | 106.85 ▼7.43 | 77.92 ▲37.84 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.08 ▲0.05 | 39.12 ▼7.22 | 36.33 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,699 ▲185 | 22.62 ▲4.99 | 602.75 ▼77.67 | 38.86 ▼17.53 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.26 ▲0.06 | 101.04 ▲1.60 | 89.60 ▲48.41 |
Google Options /wp-admin/admin.php?page=ga-meta-tags-google | 1,289 | 4.68 | 119.14 | 49.04 |
Main Options /wp-admin/admin.php?page=ga-meta-tags | 1,390 | 4.76 | 115.48 | 38.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 20 options in the database
- ga_meta_tags_google_webmaster
- ga_meta_tags_google_author_page
- ga_meta_tags_google_tag_manager
- widget_recent-comments
- ga_meta_tags_author
- ga_meta_tags_language
- widget_recent-posts
- ga_meta_tags_description
- ga_meta_tags_copyright
- ga_meta_tags_google_analytics
- ...
Smoke tests 0% 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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=ga-meta-tags-google
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php+20
Undefined variable: ga_meta_google_analytics
- > GET request to /wp-admin/admin.php?page=ga-meta-tags-google
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php+32
Undefined variable: ga_meta_google_webmaster
- > GET request to /wp-admin/admin.php?page=ga-meta-tags-google
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php+44
Undefined variable: ga_meta_google_author_profile
- > GET request to /wp-admin/admin.php?page=ga-meta-tags-google
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php+56
Undefined variable: ga_meta_google_author_page
- > GET request to /wp-admin/admin.php?page=ga-meta-tags-google
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php+68
Undefined variable: ga_meta_google_tag
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+20
Undefined variable: ga_meta_desc
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+32
Undefined variable: ga_meta_key
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+44
Undefined variable: ga_meta_rob
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+56
Undefined variable: ga_meta_rev
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+68
Undefined variable: ga_meta_gen
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+80
Undefined variable: ga_meta_aut
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+92
Undefined variable: ga_meta_con
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+104
Undefined variable: ga_meta_cop
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Notice in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php+116
Undefined variable: ga_meta_lng
SRP 0% 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
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-right.php
- > /wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-footer.php
- > /wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-header.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-home.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-google.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-functions.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ga-meta-tags/pages/ga-meta-tags-functions.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ga-meta-tags
- > Javascript (severe) in unknown
/wp-content/plugins/ga-meta-tags/js/bootstrap.min.js?ver=6.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 18 tag instead of maximum 10
ga-meta-tags/ga-meta-tags.php 92% from 13 tests
This is the main PHP file of "GA Meta Tags" version 2.0, 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: If Twitter did it, so should we! Keep the description under 140 characters (currently 216 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin525 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 40 | 96 | 476 |
CSS | 3 | 0 | 10 | 47 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 7 | |
▷ Named functions | 7 | 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
6 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/check results.png | 12.89KB | 6.90KB | ▼ 46.48% |
images/activate plugin.png | 10.22KB | 5.07KB | ▼ 50.41% |
images/upload ga-meta plugin.png | 37.86KB | 15.46KB | ▼ 59.18% |
images/go to plugins.png | 31.49KB | 13.04KB | ▼ 58.61% |
images/edit and save options.png | 52.77KB | 30.04KB | ▼ 43.07% |