Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-tag-manager/caesar-cipher.php+89
implode(): Passing glue string after array is deprecated. Swap the parameters
Server metrics [RAM: ▼1.89MB] [CPU: ▼52.17ms] Passed 4 tests
A check of server-side resources used by Simple Tag Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.29 ▼39.02 |
Dashboard /wp-admin | 2.12 ▼1.18 | 5.85 ▼40.97 |
Posts /wp-admin/edit.php | 2.12 ▼1.23 | 5.51 ▼42.59 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 6.38 ▼86.10 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 8.09 ▼23.59 |
Simple Tag Manager /wp-admin/options-general.php?page=simple-tag-manager | 2.12 | 6.22 |
Server storage [IO: ▲0.03MB] [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, 11 new options
New WordPress options |
---|
widget_recent-posts |
ecpt_stm_45t5dsfzxv22_zdx_35_stm_option_3 |
ecpt_stm_45t5dsfzxv22_zdx_35_stm_option_2 |
ecpt_stm_45t5dsfzxv22_zdx_35_stm_option_5 |
ecpt_stm_45t5dsfzxv22_zdx_35_stm_option_1 |
ecpt_stm_45t5dsfzxv22_zdx_35_stm_option_4 |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Tag Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.06 ▼0.67 | 1.89 ▲0.27 | 37.16 ▼4.06 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.06 | 91.46 ▼4.72 | 42.59 ▼2.87 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.20 | 38.20 ▼0.39 | 36.54 ▲4.77 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.12 ▲0.10 | 616.81 ▼20.16 | 54.16 ▲5.84 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.17 ▼0.07 | 99.11 ▲1.44 | 41.72 ▲0.24 |
Simple Tag Manager /wp-admin/options-general.php?page=simple-tag-manager | 1,106 | 1.86 | 28.01 | 72.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/simple-tag-manager/caesar-cipher.php+89
implode(): Passing glue string after array is deprecated. Swap the parameters
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-tag-manager
- > Deprecated in wp-content/plugins/simple-tag-manager/caesar-cipher.php+89
implode(): Passing glue string after array is deprecated. Swap the parameters
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-tag-manager/settings.php
- > /wp-content/plugins/simple-tag-manager/simple-tag-manager.php
- > /wp-content/plugins/simple-tag-manager/simple-tag-manager.old.php
- > /wp-content/plugins/simple-tag-manager/settings.old.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: setup, manager, google, manage, tag...
simple-tag-manager/simple-tag-manager.old.php 85% from 13 tests
This is the main PHP file of "Simple Tag Manager" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-tag-manager.php" instead of "simple-tag-manager.old.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin424 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 67 | 141 | 424 |
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.21 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 3 | 42.86% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
No PNG images were found in this plugin