78% multiple-tags

Code Review | Multiple Tags

WordPress plugin Multiple Tags scored78%from 54 tests.

About plugin

  • Plugin page: multiple-tags
  • Plugin version: 3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.0
  • WordPress version: 6.3.1
  • First release: Dec 16, 2013
  • Latest release: Oct 20, 2014
  • Number of updates: 28
  • Update frequency: every 11.0 days
  • Top authors: vinoth06 (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

50+ active /3,392 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼3.92ms] Passed 4 tests

Analyzing server-side resources used by Multiple Tags
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1145.04 ▲4.86
Dashboard /wp-admin3.41 ▲0.0659.59 ▼2.92
Posts /wp-admin/edit.php3.46 ▲0.1054.68 ▲2.33
Add New Post /wp-admin/post-new.php5.99 ▲0.1184.55 ▼18.07
Media Library /wp-admin/upload.php3.33 ▲0.1038.55 ▲2.98
Multiple Tags /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php3.2728.97

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
bc_multiple_tag_var
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Multiple Tags
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.22 ▼0.131.95 ▲0.0649.19 ▲9.61
Dashboard /wp-admin2,196 ▲225.64 ▼0.02109.97 ▲24.9350.11 ▲9.72
Posts /wp-admin/edit.php2,157 ▲572.03 ▲0.0835.55 ▼5.3233.69 ▼3.12
Add New Post /wp-admin/post-new.php6,254 ▲4,71721.36 ▲2.85844.50 ▲238.4378.05 ▲7.84
Media Library /wp-admin/upload.php1,407 ▲104.17 ▼0.0194.68 ▼4.5541.55 ▼0.02
Multiple Tags /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php9842.1624.1839.11

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • bc_multiple_tag_var
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+63
    Undefined index: buffercode_head_text1
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+64
    Undefined index: buffercode_tag_text1
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+69
    Undefined index: buffercode_head_text2
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+70
    Undefined index: buffercode_tag_text2
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+75
    Undefined index: buffercode_head_text3
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+76
    Undefined index: buffercode_tag_text3
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+81
    Undefined index: buffercode_head_text4
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+82
    Undefined index: buffercode_tag_text4
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+87
    Undefined index: buffercode_head_text5
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+88
    Undefined index: buffercode_tag_text5
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+94
    Undefined index: buffercode_head_text6
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+95
    Undefined index: buffercode_tag_text6
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+100
    Undefined index: buffercode_head_text7
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+101
    Undefined index: buffercode_tag_text7
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+106
    Undefined index: buffercode_head_text8
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+107
    Undefined index: buffercode_tag_text8
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+112
    Undefined index: buffercode_head_text9
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+113
    Undefined index: buffercode_tag_text9
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+118
    Undefined index: buffercode_head_text10
    • > GET request to /wp-admin/options-general.php?page=multiple-tags/multiple-tags-menu.php
    • > Notice in wp-content/plugins/multiple-tags/multiple-tags-menu.php+119
    Undefined index: buffercode_tag_text10

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/multiple-tags/multiple-tags.php:80

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Add images for these screenshots: #1 (Setting Page Multiple Tags), #2 (Meta selection Group tag name), #3 (Output of Group tag names)
Please take inspiration from this readme.txt

multiple-tags/multiple-tags.php Passed 13 tests

This is the main PHP file of "Multiple Tags" version 3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
95 characters long description:
Through this plugin, user can able to combine the repeated tags under the single group tag name

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin366 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP28144345
JavaScript18421

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png6.74KB3.35KB▼ 50.32%
images/donate.png3.74KB1.75KB▼ 53.38%
screenshot-2.png5.43KB2.38KB▼ 56.09%
screenshot-1.png29.17KB13.95KB▼ 52.19%