Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/dynamic-taxonomy-menu-items/classes/Register/Register.php+328
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.61ms] Passed 4 tests
An overview of server-side resources used by Dynamic Taxonomy Menu Items
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 27.68 ▼17.14 |
Dashboard /wp-admin | 3.42 ▲0.07 | 50.94 ▼18.59 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.85 ▼0.75 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 89.20 ▼9.96 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.27 ▲0.36 |
Dynamic Taxonomy /wp-admin/themes.php?page=dyntaxmi | 3.41 | 45.78 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Dynamic Taxonomy Menu Items: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.40 ▼0.20 | 1.78 ▲0.10 | 45.62 ▲2.15 |
Dashboard /wp-admin | 2,196 ▲19 | 5.58 ▼0.09 | 80.73 ▼37.46 | 37.55 ▼12.17 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▲0.00 | 35.46 ▼2.01 | 33.23 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,549 ▼5 | 23.25 ▲4.99 | 692.70 ▲95.08 | 51.96 ▼2.52 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▼0.00 | 106.58 ▲3.84 | 46.30 ▲1.68 |
Dynamic Taxonomy /wp-admin/themes.php?page=dyntaxmi | 1,038 | 2.48 | 66.12 | 56.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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)
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: bbpress, dynamic, menu, woocommerce, taxonomy
dynamic-taxonomy-menu-items/dynamic-taxonomy-menu-items.php 92% from 13 tests
The entry point to "Dynamic Taxonomy Menu Items" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected2,765 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 420 | 2,372 | 2,673 |
CSS | 2 | 15 | 0 | 53 |
JavaScript | 1 | 2 | 1 | 39 |
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.45 |
Average class complexity | 22.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 16 | |
▷ Abstract classes | 4 | 25.00% |
▷ Concrete classes | 12 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 226 | |
▷ Static methods | 28 | 12.39% |
▷ Public methods | 105 | 46.46% |
▷ Protected methods | 60 | 26.55% |
▷ Private methods | 61 | 26.99% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin