Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼137.32ms] Passed 4 tests
An overview of server-side resources used by Easy Taxonomy Images
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.07 | 32.21 ▼4.98 |
Dashboard /wp-admin | 3.27 ▲0.22 | 54.79 ▲11.43 |
Posts /wp-admin/edit.php | 3.32 ▲0.22 | 53.77 ▲9.10 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.11 | 90.59 ▼563.06 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 43.83 ▲9.68 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Easy Taxonomy Images
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,899 ▲303 | 17.42 ▲1.97 | 9.11 ▼1.61 | 46.36 ▲2.08 |
Dashboard /wp-admin | 3,187 ▲256 | 7.92 ▲2.00 | 170.55 ▲19.45 | 109.21 ▲2.13 |
Posts /wp-admin/edit.php | 2,988 ▲249 | 4.29 ▲1.58 | 85.39 ▲18.97 | 102.68 ▲10.49 |
Add New Post /wp-admin/post-new.php | 1,703 ▲20 | 18.70 ▼0.03 | 377.88 ▼89.69 | 129.42 ▲16.93 |
Media Library /wp-admin/upload.php | 1,834 ▲27 | 4.82 ▼0.27 | 135.59 ▼20.75 | 121.61 ▲10.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-taxonomy-images/lib/admin-page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
easy-taxonomy-images/easy-taxonomy-images.php Passed 13 tests
The main file in "Easy Taxonomy Images" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
73 characters long description:
Have featured and cover images for tags, categories and custom taxonomies
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
No dangerous file extensions were detected586 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 107 | 148 | 437 |
CSS | 1 | 10 | 0 | 84 |
JavaScript | 1 | 7 | 4 | 65 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.14% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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 |
assets/css/csscheckbox.png | 0.59KB | 0.38KB | ▼ 35.80% |