Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.22ms] Passed 4 tests
This is a short check of server-side resources used by Tealium
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.21 ▼5.61 |
Dashboard /wp-admin | 3.42 ▲0.11 | 52.30 ▼2.28 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 55.21 ▼0.41 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.23 ▼11.49 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.43 ▼1.50 |
Tealium Settings /wp-admin/options-general.php?page=tealium | 3.37 | 31.02 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 21 new options
New WordPress options |
---|
tealiumAccount |
tealiumUtagSync |
tealiumTagCode |
tealiumProfile |
tealiumTagLocation |
tealiumExclusions |
tealiumTag |
theysaidso_admin_options |
widget_recent-comments |
tealiumDataStyle |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tealium
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.71 ▼0.04 | 1.73 ▼0.34 | 39.70 ▲0.01 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▼0.04 | 82.30 ▼8.91 | 38.35 ▼5.76 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.13 | 40.41 ▼3.53 | 34.17 ▼6.19 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 18.66 ▲0.96 | 620.04 ▼59.54 | 81.45 ▲23.65 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.09 | 96.38 ▼17.19 | 44.12 ▼4.11 |
Tealium Settings /wp-admin/options-general.php?page=tealium | 879 | 2.02 | 29.20 | 28.66 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tealium/tealium.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tealium/tealium.options.php:95
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== tealium ===
)
tealium/tealium.php Passed 13 tests
"Tealium" version 2.1.16's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
70 characters long description:
Adds the Tealium tag and creates a data layer for your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin902 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 117 | 120 | 759 |
PO File | 1 | 44 | 45 | 128 |
CSS | 1 | 3 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 28 | |
▷ Named functions | 28 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin