Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.34ms] Passed 4 tests
A check of server-side resources used by Tag Manager - Header, Body And Footer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 44.63 ▲4.55 |
Dashboard /wp-admin | 3.37 ▲0.02 | 60.05 ▼8.84 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 55.97 ▲6.43 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.20 ▼10.24 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.63 ▲1.16 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_yydev_tagmanager |
New WordPress options |
---|
yydev_tag_manager_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
yydev_tagmanager_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
yydev_tagmanager_timestamp |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag Manager - Header, Body And Footer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.24 ▼0.12 | 1.53 ▼0.08 | 41.52 ▲0.18 |
Dashboard /wp-admin | 2,210 ▲39 | 5.61 ▲0.08 | 83.05 ▼5.54 | 63.86 ▲24.56 |
Posts /wp-admin/edit.php | 2,121 ▲24 | 1.98 ▼0.03 | 39.08 ▼2.49 | 34.68 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.07 ▲0.13 | 724.37 ▲7.81 | 59.26 ▼3.08 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.18 ▼0.04 | 97.27 ▼19.55 | 67.02 ▲18.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_yydev_tagmanager
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- yydev_tagmanager_settings
- yydev_tagmanager_timestamp
- widget_recent-comments
- yydev_tag_manager_version
- db_upgraded
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires at least: Version not formatted correctly
tag-manager-header-body-footer/index.php 92% from 13 tests
The main PHP script in "Tag Manager - Header, Body And Footer" version 3.3.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tag-manager-header-body-footer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,182 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 641 | 387 | 1,121 |
PO File | 1 | 18 | 18 | 61 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 32 | |
▷ Named functions | 24 | 75.00% |
▷ Anonymous functions | 8 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/favicon.png | 0.37KB | 0.38KB | 0.00% |
images/remove.png | 1.58KB | 0.82KB | ▼ 48.30% |
images/icon.png | 2.57KB | 2.70KB | 0.00% |