Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/028-ps-combine-taxonomy-children/ps-combine-taxonomy-children.php+54
Undefined property: ps_combine_taxonomy_children::$_items
Server metrics [RAM: ▼1.85MB] [CPU: ▼56.06ms] Passed 4 tests
Server-side resources used by 028 Ps Combine Taxonomy Children
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.13 ▼34.84 |
Dashboard /wp-admin | 2.17 ▼1.18 | 6.58 ▼48.40 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.98 ▼35.64 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.17 ▼105.36 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.08 ▼27.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by 028 Ps Combine Taxonomy Children
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.74 | 1.66 ▼0.24 | 42.28 ▼1.18 |
Dashboard /wp-admin | 2,206 ▲18 | 5.80 ▼0.07 | 94.68 ▼7.31 | 38.68 ▼2.12 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▼0.01 | 39.51 ▼1.64 | 35.48 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,518 ▼24 | 17.68 ▼0.65 | 662.54 ▲43.87 | 52.26 ▲1.85 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.03 | 94.34 ▼5.24 | 46.73 ▲4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/028-ps-combine-taxonomy-children/ps-combine-taxonomy-children.php+54
Undefined property: ps_combine_taxonomy_children::$_items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/028-ps-combine-taxonomy-children/ps-combine-taxonomy-children.php on line 122
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/028-ps-combine-taxonomy-children/ps-combine-taxonomy-children.php:234
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Requires at least: Invalid plugin version format
- Screenshots: These screenshots have no corresponding images in /assets: #1 (not the plugin show category list), #2 (show closed category's children list by the plugin), #3 (open category's children)
028-ps-combine-taxonomy-children/ps-combine-taxonomy-children.php 92% from 13 tests
The principal PHP file in "028 Ps Combine Taxonomy Children" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("028-ps-combine-taxonomy-children.php" instead of "ps-combine-taxonomy-children.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin366 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 78 | 265 | 292 |
JavaScript | 2 | 13 | 9 | 47 |
CSS | 2 | 4 | 0 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 4.92KB | 2.08KB | ▼ 57.64% |
screenshot-3.png | 10.99KB | 3.87KB | ▼ 64.80% |
screenshot-1.png | 11.37KB | 4.41KB | ▼ 61.19% |