Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼282.60ms] Passed 4 tests
An overview of server-side resources used by WP Multiple Taxonomy Images
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.12 | 55.95 ▲5.83 |
Dashboard /wp-admin | 3.57 ▲0.16 | 35.72 ▲3.39 |
Posts /wp-admin/edit.php | 3.79 ▲0.15 | 40.70 ▲2.79 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.07 | 101.64 ▼1,137.31 |
Media Library /wp-admin/upload.php | 3.45 ▲0.15 | 27.60 ▲0.74 |
WP Multiple Taxonomy Images /wp-admin/options-general.php?page=wmti-setting-admin | 3.42 | 25.92 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WP Multiple Taxonomy Images
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲66 | 15.96 ▼0.12 | 5.76 ▲0.23 | 2.24 ▼1.36 |
Dashboard /wp-admin | 2,897 ▲39 | 6.02 ▼0.16 | 119.87 ▼12.10 | 156.08 ▲1.26 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.24 ▼0.01 | 62.37 ▼0.60 | 137.00 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,763 ▲95 | 22.48 ▲4.38 | 410.45 ▲2.97 | 147.53 ▼10.71 |
Media Library /wp-admin/upload.php | 1,700 ▲5 | 5.49 ▼0.03 | 145.18 ▲6.14 | 182.46 ▼3.17 |
WP Multiple Taxonomy Images /wp-admin/options-general.php?page=wmti-setting-admin | 1,040 | 2.41 | 52.93 | 128.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
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
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/wp-multiple-taxonomy-images/wp-multiple-taxonomy-images.php:14
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-multiple-taxonomy-images/wp-multiple-taxonomy-images.php 92% from 13 tests
"WP Multiple Taxonomy Images" version 0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin411 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 67 | 347 |
JavaScript | 1 | 11 | 1 | 59 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin