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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.76ms] Passed 4 tests
A check of server-side resources used by Hide GTM code
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.41 ▼4.66 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.80 ▼0.84 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 54.60 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.68 ▼7.22 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.08 ▲1.70 |
setting /wp-admin/admin.php?page=creaco_hgtmc_submenu | 3.21 | 35.29 |
Dashboard /wp-admin/admin.php?page=creaco_hgtmc_menu | 3.23 | 33.99 |
GSC setting /wp-admin/admin.php?page=creaco_hgtmc_submenu_gsc | 3.21 | 28.31 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hide GTM code
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.54 ▲0.16 | 1.98 ▲0.20 | 44.08 ▼0.13 |
Dashboard /wp-admin | 2,225 ▲45 | 5.61 ▼0.05 | 84.69 ▼13.93 | 40.13 ▼2.16 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.99 ▼0.02 | 36.42 ▼1.92 | 38.61 ▲3.32 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.31 ▲0.19 | 690.37 ▲7.73 | 58.56 ▲4.41 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.25 ▲0.16 | 111.74 ▲7.73 | 49.61 ▲5.98 |
setting /wp-admin/admin.php?page=creaco_hgtmc_submenu | 815 | 2.00 | 27.07 | 22.16 |
Dashboard /wp-admin/admin.php?page=creaco_hgtmc_menu | 848 | 1.99 | 22.28 | 29.32 |
GSC setting /wp-admin/admin.php?page=creaco_hgtmc_submenu_gsc | 818 | 2.00 | 24.54 | 20.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=creaco_hgtmc_submenu
- > Notice in wp-content/plugins/hide-gtm-code/hide-gtm-code.php+186
Undefined variable: hgtmc_script_code_val_view
- > GET request to /wp-admin/admin.php?page=creaco_hgtmc_submenu_gsc
- > Notice in wp-content/plugins/hide-gtm-code/hide-gtm-code.php+255
Undefined variable: hgtmc_script_gsc_code_val_view
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: japan, seo, meta tag, gtm, meta
hide-gtm-code/hide-gtm-code.php 92% from 13 tests
"Hide GTM code" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected223 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 74 | 223 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin