openva/rs-video-processor

View on GitHub

Showing 3 of 351 total issues

File resolve_chyrons.php has 456 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

require_once __DIR__ . '/../includes/settings.inc.php';
require_once __DIR__ . '/../includes/functions.inc.php';

Severity: Minor
Found in bin/resolve_chyrons.php - About 6 hrs to fix

    File detect_faces.php has 285 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
    
    
    Severity: Minor
    Found in bin/detect_faces.php - About 2 hrs to fix

      Consider simplifying this complex logical expression.
      Open

              if (
                  (substr($chyron['raw_text'], 0, 2) == 's8')
                  ||
                  (substr($chyron['raw_text'], 0, 2) == '58')
                  ||
      Severity: Critical
      Found in bin/resolve_chyrons.php - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language