Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.85MB] [CPU: ▼37.71ms] Passed 4 tests
A check of server-side resources used by Adobe DTM for Wordpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 22.84 ▼21.56 |
Dashboard /wp-admin | 3.09 ▼0.21 | 24.49 ▼29.52 |
Posts /wp-admin/edit.php | 3.09 ▼0.26 | 25.79 ▼24.39 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.79 | 26.08 ▼75.36 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 23.24 ▼13.47 |
Adobe DTM /wp-admin/options-general.php?page=disruptive-dtm | 3.09 | 26.41 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Adobe DTM for Wordpress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.28 ▼1.38 | 5.72 ▲3.71 | 39.76 ▼11.92 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▼0.03 | 105.98 ▼9.82 | 39.37 ▼7.66 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.01 | 38.90 ▲2.21 | 34.98 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.09 ▲5.58 | 681.43 ▼14.29 | 56.34 ▲5.60 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▼0.00 | 98.62 ▼7.56 | 42.09 ▼5.31 |
Adobe DTM /wp-admin/options-general.php?page=disruptive-dtm | 1,291 | 2.03 | 23.07 | 38.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/adobe-dtm/adobe-dtm.php+46
Undefined index: default
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/adobe-dtm.php+46
Undefined index: default
- 52 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/admin.php+31
Undefined index: style
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/admin.php+7
Undefined index: credits
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/admin.php+10
Undefined index: desc
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/admin.php+7
Undefined index: id
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Notice in wp-content/plugins/adobe-dtm/admin.php+7
Undefined index:
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adobe-dtm/admin.php:175
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adobe-dtm/options.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adobe-dtm/dtm.php:447
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/adobe-dtm/adobe-dtm.php:12
- > 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 fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=disruptive-dtm
- > Network (severe)
wp-content/plugins/adobe-dtm/images/da-dtm.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: analytics, adobe activation, web analytics, tag manager, google analytics...
adobe-dtm/adobe-dtm.php Passed 13 tests
The main file in "Adobe DTM for Wordpress" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
The first Adobe Dynamic Tag Management (DTM) plugin for WordPress.
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
Success! There were no dangerous files found in this plugin933 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 105 | 28 | 728 |
JSON | 1 | 0 | 0 | 205 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 45 | |
▷ Global constants | 45 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sdi-dtm.png | 3.16KB | 1.86KB | ▼ 41.25% |