Chocobozzz/PeerTube

View on GitHub
server/core/lib/opentelemetry/metric-helpers/playback-metrics.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildCounters has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  buildCounters () {
    this.errorsCounter = this.meter.createCounter('peertube_playback_errors_count', {
      description: 'Errors collected from PeerTube player.'
    })

Severity: Minor
Found in server/core/lib/opentelemetry/metric-helpers/playback-metrics.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status