protected function getFilesFromBrokenMap()
    {
        $mapParts = array_filter($this->brokenMap);

        $this->codeFrames = array_values(array_map(function ($frame) {
            if (count($frame) === 3) {
                [$file, $linesOfCode, $line] = $frame;
            }

            if (!$this->isValidFile($file)) {
                return new Codeframe($file, 0, [], trim($line));
            }

            $codes = $this->getTheCodeFromTheFile($file, (int) $linesOfCode);

            return new Codeframe($file, (int) $linesOfCode, $codes, trim($line));
        }, $mapParts));

        return $this;
    }