patrickmichalina/camera-probe

View on GitHub
src/core/probe.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

        Observable.create((obs: Observer<Strings>) => {
          const cfg = { ...DEFAULT_PROBE_CONFIG, ...(config || {}) }
          const socket = createSocket({ type: 'udp4' })
          const socketMessages$ = fromEvent<IMessage>(socket, 'message').pipe(map(a => a[0]), shareReplay(1))
          const internalLimit = new Subject()
Severity: Minor
Found in src/core/probe.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status