Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼302.50ms] Passed 4 tests
An overview of server-side resources used by Category Tag Tidy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.16 | 63.98 ▲5.83 |
Dashboard /wp-admin | 3.52 ▲0.10 | 36.67 ▼28.67 |
Posts /wp-admin/edit.php | 3.74 ▲0.09 | 43.26 ▲2.03 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.01 | 95.13 ▼1,179.03 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 27.49 ▼4.34 |
Category Tag Tidy /wp-admin/tools.php?page=category-tag-tidy | 3.36 | 29.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Category Tag Tidy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,881 ▲137 | 16.62 ▲0.53 | 9.09 ▲1.95 | 2.35 ▲0.15 |
Dashboard /wp-admin | 2,901 ▲41 | 6.11 ▼0.03 | 125.03 ▲0.17 | 184.24 ▲24.63 |
Posts /wp-admin/edit.php | 2,700 ▲16 | 3.24 ▲0.20 | 63.77 ▼35.21 | 139.33 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 15.57 ▼1.36 | 413.56 ▼0.33 | 195.96 ▲15.81 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.52 ▲0.04 | 139.75 ▼0.67 | 233.17 ▲47.21 |
Category Tag Tidy /wp-admin/tools.php?page=category-tag-tidy | 1,064 | 2.41 | 54.45 | 124.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/category-tag-tidy/admin/partials/category-tag-tidy-admin-display.php
- > /wp-content/plugins/category-tag-tidy/public/partials/category-tag-tidy-public-display.php
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 Passed 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
8 plugin tags: unused tags, category, tag, unused categories, clean...
category-tag-tidy/category-tag-tidy.php Passed 13 tests
"Category Tag Tidy" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
91 characters long description:
Allows easy deletion of unused categories and tags - maintains existing category structure.
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 detected559 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 178 | 524 | 471 |
PO File | 1 | 29 | 50 | 82 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin