84% multi-media-tags

Code Review | Multi Media Tags

WordPress plugin Multi Media Tags scored 84% from 54 tests.

About plugin

  • Plugin page: multi-media-tags
  • Plugin version: 0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4.1-3.5.1
  • WordPress version: 6.3.1
  • First release: Feb 1, 2013
  • Latest release: Feb 5, 2013
  • Number of updates: 13
  • Update frequency: every 0.7 days
  • Top authors: der-burger (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,172 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.82ms] Passed 4 tests

Server-side resources used by Multi Media Tags
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.28 ▲0.68
Dashboard /wp-admin3.32 ▲0.0246.93 ▼2.52
Posts /wp-admin/edit.php3.37 ▲0.0143.67 ▼9.56
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.75 ▼11.88
Media Library /wp-admin/upload.php3.25 ▲0.0135.01 ▲1.32

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Multi Media Tags
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲7613.65 ▼0.511.76 ▲0.1345.27 ▲4.23
Dashboard /wp-admin2,217 ▲324.86 ▼1.04109.66 ▲10.7642.33 ▼0.61
Posts /wp-admin/edit.php2,099 ▲102.02 ▲0.0137.13 ▲0.1034.12 ▲3.28
Add New Post /wp-admin/post-new.php1,539 ▲618.41 ▼4.74619.14 ▼30.8149.40 ▼16.06
Media Library /wp-admin/upload.php1,393 ▲114.27 ▲0.0695.04 ▼5.6942.05 ▼3.38

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-media-tags/multi-media-tags.php:37

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
These attributes need your attention:
  • Plugin Name: You should set the name of your plugin on the first line ( === multi-media-tags === )
You can take inspiration from this readme.txt

multi-media-tags/multi-media-tags.php Passed 13 tests

The principal PHP file in "Multi Media Tags" v. 0.2.1 is loaded by WordPress automatically on each request
99 characters long description:
Advanced media type handling for the Media Tags plugin. This plugin requires the Media Tags plugin!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin564 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
Markdown11110485
PHP1455079

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin