Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.50ms] Passed 4 tests
Server-side resources used by DynamicTags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.23 ▲0.53 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.93 ▲0.45 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.03 ▼1.34 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.92 ▼9.63 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.70 ▲2.32 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
DynamicTags: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.13 | 1.71 ▼0.11 | 43.55 ▼4.61 |
Dashboard /wp-admin | 2,200 ▲9 | 5.81 ▼0.09 | 105.52 ▲3.17 | 39.10 ▼2.69 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 34.43 ▼5.44 | 29.64 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.54 ▼0.08 | 683.75 ▲4.21 | 53.33 ▼0.52 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.04 | 99.97 ▲0.85 | 40.72 ▼4.35 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Data_Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/CurrentUrl.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/UserRole.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/IsFeed.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Data_Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/UserAuthorImageUrl.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/IsAuthorOfPost.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/NumberPostsQuery.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/CurrentUserCan.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/Cookies.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/IsSingular.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/dynamictags/Lib/DynamicTags/AreCommentsAllowed.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: dynamic tags, elementor
dynamictags/dynamic-tags.php 85% from 13 tests
The main PHP file in "DynamicTags" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
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 ("dynamictags.php" instead of "dynamic-tags.php")
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
There were no executable files found in this plugin6,289 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 4,689 |
PHP | 41 | 518 | 591 | 1,517 |
PO File | 1 | 23 | 0 | 58 |
JavaScript | 1 | 3 | 2 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 4.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 196 | |
▷ Static methods | 7 | 3.57% |
▷ Public methods | 166 | 84.69% |
▷ Protected methods | 21 | 10.71% |
▷ Private methods | 9 | 4.59% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.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
No PNG files were detected