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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼288.38ms] Passed 4 tests
Analyzing server-side resources used by Admin Category Tree
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 57.91 ▲9.05 |
Dashboard /wp-admin | 3.42 ▲0.01 | 34.55 ▲0.67 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.02 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.54 ▼1,151.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.10 ▼0.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Category Tree
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.90 ▲0.11 | 9.60 ▲2.63 | 3.06 ▲0.47 |
Dashboard /wp-admin | 2,888 ▲27 | 6.15 ▼0.01 | 132.84 ▼3.83 | 159.27 ▼2.92 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 64.52 ▲0.89 | 144.37 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,693 ▲1 | 19.61 ▼1.69 | 387.68 ▼57.69 | 161.52 ▲3.12 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.50 ▼0.02 | 150.50 ▲9.34 | 197.42 ▲14.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/admin-category-tree/admin-category-tree.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: Please describe screenshot #2 in admin-category-tree/assets to your readme.txt
admin-category-tree/admin-category-tree.php Passed 13 tests
"Admin Category Tree" version 1.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
98 characters long description:
Changes the Admin Category-View (in all Post-Types) to an collapsed Tree-View with (+)/(-) buttons
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin93 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 8 | 2 | 32 |
Markdown | 1 | 17 | 0 | 24 |
PHP | 1 | 9 | 16 | 19 |
JavaScript | 1 | 8 | 0 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 were not PNG files found in your plugin