Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼295.59ms] Passed 4 tests
A check of server-side resources used by Advanced Category and Custom Taxonomy Image
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.20 | 52.29 ▲0.44 |
Dashboard /wp-admin | 3.59 ▲0.18 | 40.05 ▲8.53 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 42.22 ▲7.18 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.07 | 96.94 ▼1,188.06 |
Media Library /wp-admin/upload.php | 3.44 ▲0.15 | 23.22 ▼1.93 |
Advanced Category & Taxonomy Image /wp-admin/options-general.php?page=advanced-cat-tax-image | 3.45 | 26.54 |
Server storage [IO: ▲0.13MB] [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, 2 new options
New WordPress options |
---|
ad_cat_tax_img_advanced_settings |
ad_cat_tax_img_basic_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Category and Custom Taxonomy Image
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,966 ▲244 | 17.80 ▲1.91 | 6.59 ▲0.51 | 2.43 ▼0.05 |
Dashboard /wp-admin | 3,095 ▲234 | 8.06 ▲1.88 | 142.57 ▲11.17 | 170.19 ▲9.16 |
Posts /wp-admin/edit.php | 2,926 ▲253 | 5.26 ▲2.02 | 80.43 ▲15.62 | 140.21 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,667 ▼31 | 16.27 ▼4.93 | 373.43 ▼74.64 | 159.47 ▲2.43 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.51 ▲0.01 | 106.40 ▼36.30 | 183.37 ▼13.76 |
Advanced Category & Taxonomy Image /wp-admin/options-general.php?page=advanced-cat-tax-image | 1,380 | 4.34 | 76.86 | 114.42 |
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
- Zombie WordPress options detected upon uninstall: 2 options
- ad_cat_tax_img_advanced_settings
- ad_cat_tax_img_basic_settings
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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: featured image, category image, category logo, term image, taxonomy image
advanced-category-and-custom-taxonomy-image/wp-advanced-taxonomy-image.php 85% from 13 tests
The main file in "Advanced Category and Custom Taxonomy Image" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 178 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-category-and-custom-taxonomy-image.php" instead of "wp-advanced-taxonomy-image.php")
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
Everything looks great! No dangerous files found in this plugin1,368 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 468 | 908 | 1,346 |
JavaScript | 1 | 5 | 2 | 18 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 69.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 9 | 12.16% |
▷ Public methods | 71 | 95.95% |
▷ Protected methods | 2 | 2.70% |
▷ Private methods | 1 | 1.35% |
Functions | 12 | |
▷ Named functions | 5 | 41.67% |
▷ Anonymous functions | 7 | 58.33% |
Constants | 11 | |
▷ Global constants | 2 | 18.18% |
▷ Class constants | 9 | 81.82% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin