Showing 1,541 of 1,541 total issues
File gbk-tbl.rb
has 21794 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
GBK_TO_UCS_TBL= [
["A1E8",0xA4],
["A1EC",0xA7],
["A1A7",0xA8],
["A1E3",0xB0],
File big5-uao-tbl.rb
has 19784 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
BIG5_UAO_TO_UCS_TBL = [
["8140",0x4E17],
["8141",0x4E22],
["8142",0x4E2C],
["8143",0x4E55],
File cp949-tbl.rb
has 8829 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'euckr-tbl'
CP949_TO_UCS_ADDITIONAL_TBL = [
["8141",0xAC02],
["8142",0xAC03],
File euckr-tbl.rb
has 8227 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
EUCKR_TO_UCS_TBL = [
["A1A1",0x3000],
["A1A2",0x3001],
["A1A3",0x3002],
["A1A4",0xB7],
File io.rb
has 2398 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class IO
include Enumerable
def self.fnmatch(pattern, path, flags)
Rubinius.primitive :io_fnmatch
File string.rb
has 2061 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class String
include Comparable
attr_reader :num_bytes
attr_reader_specific :num_bytes, :bytesize
File configure.rb
has 1749 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require './rakelib/configure'
require './rakelib/release'
require './rakelib/build_signature'
require 'rbconfig'
require 'tempfile'
File array.rb
has 1666 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class Array
include Enumerable
def self.allocate
Rubinius.primitive :array_allocate
File specification.rb
has 1649 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'rubygems/version'
require 'rubygems/requirement'
require 'rubygems/platform'
require 'rubygems/deprecate'
require 'rubygems/basic_specification'
File zed.rb
has 1402 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
ARGF = Rubinius::ARGFClass.new
class Module
def alias_method(new_name, current_name)
new_name = Rubinius::Type.coerce_to_symbol(new_name)
Class Specification
has 178 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Gem::Specification < Gem::BasicSpecification
# REFACTOR: Consider breaking out this version stuff into a separate
# module. There's enough special stuff around it that it may justify
# a separate class.
File integer.rb
has 1109 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class Integer < Numeric
def self.===(obj)
Rubinius.asm do
int = new_label
done = new_label
Class String
has 141 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class String
include Comparable
attr_reader :num_bytes
attr_reader_specific :num_bytes, :bytesize
File marshal.rb
has 970 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class BasicObject
def __marshal__(ms, strip_ivars = false)
out = ms.serialize_extended_object self
out << "o"
cls = Rubinius::Type.object_class self
Class IO
has 122 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class IO
include Enumerable
def self.fnmatch(pattern, path, flags)
Rubinius.primitive :io_fnmatch
File utf8_mac-tbl.rb
has 944 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
MAC_DECOMPOSE_TBL = [
["c380", "41cc80"],
["c381", "41cc81"],
["c382", "41cc82"],
["c383", "41cc83"],
File test_case.rb
has 939 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
begin
gem 'minitest', '~> 4.0'
rescue NoMethodError, Gem::LoadError
# for ruby tests
end
File field_extract.rb
has 890 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class BasicPrimitive
attr_accessor :pass_state
attr_accessor :pass_self
attr_accessor :pass_call_frame
attr_accessor :pass_message
File sprinter.rb
has 877 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
module Rubinius
class Sprinter
def self.cache
@cache
end
File daedalus.rb
has 853 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'fileutils'
require 'digest/sha1'
require 'thread'
require 'dependency_grapher'