Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.90ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Category and Custom Taxonomy Image
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.64 ▼4.05 |
Dashboard /wp-admin | 3.54 ▲0.24 | 53.52 ▲0.63 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 54.42 ▲2.55 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 95.85 ▼6.84 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.32 ▼1.33 |
Advanced Category & Taxonomy Image /wp-admin/options-general.php?page=advanced-cat-tax-image | 3.38 | 43.93 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
ad_cat_tax_img_advanced_settings |
widget_recent-comments |
ad_cat_tax_img_basic_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Category and Custom Taxonomy Image
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲148 | 14.81 ▲0.46 | 1.77 ▼0.50 | 45.05 ▼0.69 |
Dashboard /wp-admin | 2,343 ▲163 | 6.20 ▲0.62 | 116.87 ▲13.89 | 42.19 ▼2.71 |
Posts /wp-admin/edit.php | 2,272 ▲169 | 3.29 ▲1.32 | 53.57 ▲14.89 | 33.54 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.15 ▲0.13 | 652.82 ▼49.16 | 40.19 ▼12.87 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.16 ▼0.08 | 78.70 ▼39.55 | 45.34 ▼3.58 |
Advanced Category & Taxonomy Image /wp-admin/options-general.php?page=advanced-cat-tax-image | 1,080 | 3.21 | 52.95 | 26.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- ad_cat_tax_img_basic_settings
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- ad_cat_tax_img_advanced_settings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: featured image, category image, term image, taxonomy image, category logo
advanced-category-and-custom-taxonomy-image/wp-advanced-taxonomy-image.php 85% from 13 tests
"Advanced Category and Custom Taxonomy Image" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
- Main file name: Please rename the main PHP file in this plugin to 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 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,523 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 455 | 908 | 1,496 |
JavaScript | 1 | 5 | 2 | 23 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin