original_string: public function getMaxLineLength($lines)
      {
          if (!is_array($lines)) {
              $lines = explode("\n", $lines);
          }
          $lineLength = 0;
          // find the longest line
          foreach ($lines as $line) {
              $currentLineLength = strlen($line);
              if ($currentLineLength > $lineLength) {
                  $lineLength = $currentLineLength;
              }
          }
          return $lineLength;
      }
code: public function getMaxLineLength($lines)
      {
          if (!is_array($lines)) {
              $lines = explode("\n", $lines);
          }
          $lineLength = 0;
          // find the longest line
          foreach ($lines as $line) {
              $currentLineLength = strlen($line);
              if ($currentLineLength > $lineLength) {
                  $lineLength = $currentLineLength;
              }
          }
          return $lineLength;
      }
code_tokens: public function getMaxLineLength ( $ lines ) { if ( ! is_array ( $ lines ) ) { $ lines = explode ( "\n" , $ lines ) ; } $ lineLength = 0 ; // find the longest line foreach ( $ lines as $ line ) { $ currentLineLength = strlen ( $ line ) ; if ( $ currentLineLength > $ lineLength ) { $ lineLength = $ currentLineLength ; } } return $ lineLength ; }
docstring: Find the longest line and get the line length
  @param array $lines
  @return int
docstring_tokens: Find the longest line and get the line length