linagora/hublin

View on GitHub
frontend/js/modules/conference/conference-user-video.directive.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function conferenceUserVideo has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function conferenceUserVideo($modal, currentConferenceState, matchmedia, LOCAL_VIDEO_ID) {
    return {
      restrict: 'E',
      replace: true,
      templateUrl: '/views/modules/conference/conference-user-video.html',
Severity: Major
Found in frontend/js/modules/conference/conference-user-video.directive.js - About 2 hrs to fix

    Function link has 52 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function link(scope) {
          var modal = $modal({
            scope: scope,
            animation: 'am-fade-and-scale',
            placement: 'center',
    Severity: Major
    Found in frontend/js/modules/conference/conference-user-video.directive.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status