83% multiupload-in-custom-taxonomy

Code Review | Multiupload In Custom Taxonomy

WordPress plugin Multiupload In Custom Taxonomy scored 83% from 54 tests.

About plugin

  • Plugin page: multiupload-in-cu...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 12, 2014
  • Latest release: Jul 19, 2020
  • Number of updates: 12
  • Update frequency: every 183.3 days
  • Top authors: augustinfotech (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active / 1,685 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.52 ▼7.05
Dashboard /wp-admin3.32 ▲0.0147.11 ▼1.29
Posts /wp-admin/edit.php3.37 ▲0.0150.14 ▼5.52
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.67 ▼0.38
Media Library /wp-admin/upload.php3.24 ▲0.0134.80 ▼2.28
AI Multiupload In Taxonomy /wp-admin/options-general.php?page=ai_multiuploadtaxonomy3.2532.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3313.37 ▼0.991.65 ▼0.3540.90 ▼1.84
Dashboard /wp-admin2,213 ▲284.88 ▲0.05100.45 ▼8.7841.65 ▼4.77
Posts /wp-admin/edit.php2,090 ▲122.00 ▼0.0535.66 ▼3.2633.30 ▼0.74
Add New Post /wp-admin/post-new.php1,541 ▲2223.39 ▲0.08703.85 ▲82.8352.33 ▼3.37
Media Library /wp-admin/upload.php1,392 ▲14.22 ▲0.0598.74 ▼2.2841.38 ▼6.54
AI Multiupload In Taxonomy /wp-admin/options-general.php?page=ai_multiuploadtaxonomy8222.0725.4527.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

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.)
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP358124266
JavaScript222887
CSS11021

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 code0.21
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
include/images/button_check.png4.66KB1.57KB▼ 66.23%