Benchmarks
Plugin footprint 82% from 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.18MB] [CPU: ▼312.05ms] 75% from 4 tests
A check of server-side resources used by Parent Category AutoCheck + Category Tree Checklist
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 816.84ms on /wp-admin/admin.php?page=yummi)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.07 | 57.69 ▲6.62 |
Dashboard /wp-admin | 3.49 ▲0.08 | 34.56 ▲0.88 |
Posts /wp-admin/edit.php | 3.71 ▲0.07 | 42.06 ▲3.84 |
Add New Post /wp-admin/post-new.php | 6.03 ▼0.93 | 74.15 ▼1,247.08 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 23.68 ▼5.83 |
Category AutoCheck /wp-admin/admin.php?page=category_autocheck | 3.31 | 21.70 |
Yummi Plugins /wp-admin/admin.php?page=yummi | 3.63 | 816.84 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
Parent Category AutoCheck + Category Tree Checklist: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,797 ▲44 | 15.85 ▲0.19 | 5.69 ▼0.45 | 2.01 ▼0.35 |
Dashboard /wp-admin | 2,925 ▲67 | 6.08 ▼0.14 | 120.72 ▼15.61 | 162.81 ▲1.43 |
Posts /wp-admin/edit.php | 2,733 ▲42 | 3.12 ▼0.12 | 65.10 ▼0.68 | 144.81 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,627 ▼34 | 19.81 ▲3.70 | 405.24 ▼0.54 | 162.90 ▲6.60 |
Media Library /wp-admin/upload.php | 1,732 ▲34 | 5.50 ▲0.07 | 126.67 ▼15.57 | 208.33 ▲13.90 |
Category AutoCheck /wp-admin/admin.php?page=category_autocheck | 1,144 | 2.43 | 53.88 | 184.11 |
Yummi Plugins /wp-admin/admin.php?page=yummi | 2,497 | 8.50 | 194.18 | 216.11 |
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 does not fully uninstall, leaving 1 option in the database
- category_children
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=category_autocheck
- > Notice in wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist/yummi-category-checklist.php+453
Undefined index: action
- > GET request to /wp-admin/admin.php?page=category_autocheck
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=category_autocheck
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=yummi
- > Notice in wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist/includes/yummi-plugins.php+117
Undefined variable: tab
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist/yummi-category-checklist.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist/includes/yummi-plugins.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=yummi
- > Network (severe)
wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist//css/admin_style.min.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=yummi
- > Network (severe)
wp-content/plugins/yummi-auto-check-parent-category-category-tree-checklist//css/hint.min.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=yummi
- > Network (severe)
https://www.paypalobjects.com/en_IT/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
- Screenshots: Please describe screenshot #1 in yummi-auto-check-parent-category-category-tree-checklist/assets to your readme.txt
yummi-auto-check-parent-category-category-tree-checklist/yummi-category-checklist.php 85% from 13 tests
"Parent Category AutoCheck + Category Tree Checklist" version 1.1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- 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: Name the main plugin file the same as the plugin slug ("yummi-auto-check-parent-category-category-tree-checklist.php" instead of "yummi-category-checklist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin486 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 79 | 139 | 464 |
CSS | 1 | 2 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/dashicons-yummi.png | 1.81KB | 0.85KB | ▼ 52.89% |