Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.04ms] Passed 4 tests
Server-side resources used by Multiupload In Custom Taxonomy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.52 ▼7.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.11 ▼1.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.14 ▼5.52 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.67 ▼0.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.80 ▼2.28 |
AI Multiupload In Taxonomy /wp-admin/options-general.php?page=ai_multiuploadtaxonomy | 3.25 | 32.71 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_taxonomymeta |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiupload In Custom Taxonomy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.37 ▼0.99 | 1.65 ▼0.35 | 40.90 ▼1.84 |
Dashboard /wp-admin | 2,213 ▲28 | 4.88 ▲0.05 | 100.45 ▼8.78 | 41.65 ▼4.77 |
Posts /wp-admin/edit.php | 2,090 ▲12 | 2.00 ▼0.05 | 35.66 ▼3.26 | 33.30 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.39 ▲0.08 | 703.85 ▲82.83 | 52.33 ▼3.37 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.05 | 98.74 ▼2.28 | 41.38 ▼6.54 |
AI Multiupload In Taxonomy /wp-admin/options-general.php?page=ai_multiuploadtaxonomy | 822 | 2.07 | 25.45 | 27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/multiupload-in-custom-taxonomy/include/ai_taxonomy_list.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Selection of custom taxonomy name in WordPress admin panel.), #2 (Multiupload button in add screen of custom taxonomy.), #3 (Create a page or a post and insert the shortcode [multiimg id="your_taxonomy_id" taxname="your_taxonomy_name"] into the text.)
multiupload-in-custom-taxonomy/multiupload-in-taxonomy.php 85% from 13 tests
This is the main PHP file of "Multiupload In Custom Taxonomy" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multiupload-in-custom-taxonomy.php" instead of "multiupload-in-taxonomy.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
No dangerous file extensions were detected374 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 58 | 124 | 266 |
JavaScript | 2 | 22 | 8 | 87 |
CSS | 1 | 1 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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 |
include/images/button_check.png | 4.66KB | 1.57KB | ▼ 66.23% |