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: ▼1.10MB] [CPU: ▼333.21ms] Passed 4 tests
Server-side resources used by Adobe DTM for Wordpress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 52.59 ▼0.89 |
Dashboard /wp-admin | 3.23 ▼0.18 | 18.18 ▼14.73 |
Posts /wp-admin/edit.php | 3.23 ▼0.41 | 24.09 ▼14.87 |
Add New Post /wp-admin/post-new.php | 3.23 ▼3.74 | 18.95 ▼1,296.29 |
Media Library /wp-admin/upload.php | 3.23 ▼0.07 | 18.59 ▼6.94 |
Adobe DTM /wp-admin/options-general.php?page=disruptive-dtm | 3.23 | 19.11 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Adobe DTM for Wordpress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲47 | 15.91 ▲0.26 | 6.78 ▼0.00 | 2.81 ▲0.69 |
Dashboard /wp-admin | 2,897 ▲39 | 6.12 ▼0.07 | 118.38 ▼13.25 | 153.76 ▼9.19 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.23 ▲0.00 | 66.61 ▲3.41 | 141.92 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,701 ▲11 | 22.25 ▲1.63 | 406.62 ▼26.43 | 155.37 ▼14.99 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.55 ▲0.06 | 139.08 ▼21.56 | 188.34 ▼9.31 |
Adobe DTM /wp-admin/options-general.php?page=disruptive-dtm | 1,601 | 2.37 | 55.49 | 123.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/adobe-dtm/adobe-dtm.php+46
Undefined index: default
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 | 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
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 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
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adobe-dtm/options.php:105
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > 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
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
8 plugin tags: dtm, adobe dynamic tag manager, google analytics, adobe dtm, tag manager...
adobe-dtm/adobe-dtm.php Passed 13 tests
Analyzing the main PHP file in "Adobe DTM for Wordpress" version 1.4
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 an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected933 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
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
PNG files should be compressed to save space and minimize bandwidth usage
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% |