jackkum/PHPPDU

View on GitHub
PDU/Data/Part.php

Summary

Maintainability
A
1 hr
Test Coverage

Method parse has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function parse(Data $data)
    {
        $alphabet = $data->getPdu()->getDcs()->getTextAlphabet();
        $header   = NULL;
        $length   = $data->getPdu()->getUdl() * ($alphabet == PDU\DCS::ALPHABET_UCS2 ? 4 : 2);
Severity: Minor
Found in PDU/Data/Part.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status