snowplow/snowplow-javascript-tracker

View on GitHub
plugins/browser-plugin-youtube-tracking/src/entities.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildYouTubeEntity has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function buildYouTubeEntity(conf: TrackingOptions): SelfDescribingJson<YouTubeEntity> | null {
  const { player, urlParameters = {} } = conf;

  if (!player) return null;

Severity: Minor
Found in plugins/browser-plugin-youtube-tracking/src/entities.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status