Hi,
Just for kicks I ran Ryan's flay against the rubygems files. Here were
the results for anyone interested. I haven't investigated further to see
how many of these warrant refactoring.
Matches found in :defs (mass = 78)
rubygems.rb:195
rubygems.rb:433
rubygems.rb:445
Matches found in :if (mass = 34)
rubygems.rb:136
rubygems.rb:223
Matches found in :iter (mass = 119)
install_update_options.rb:36
install_update_options.rb:48
install_update_options.rb:54
install_update_options.rb:65
install_update_options.rb:82
install_update_options.rb:89
install_update_options.rb:96
Matches found in :defn (mass = 104)
config_file.rb:251
source_info_cache_entry.rb:49
Matches found in :if (mass = 98)
security.rb:696
security.rb:708
Matches found in :defn (mass = 93)
platform.rb:113
source_index.rb:383
version.rb:176
Matches found in :defn (mass = 54)
user_interaction.rb:208
user_interaction.rb:217
user_interaction.rb:226
Matches found in :resbody (mass = 52)
source_index.rb:514
source_index.rb:525
Matches found in :iter (mass = 50)
specification.rb:765
specification.rb:774
Matches found in :block (mass = 50)
indexer.rb:234
indexer.rb:250
Matches found in :iter (mass = 48)
local_remote_options.rb:37
local_remote_options.rb:42
local_remote_options.rb:47
Matches found in :if (mass = 44)
server.rb:390
server.rb:593
Matches found in :if (mass = 44)
server.rb:365
server.rb:614
Matches found in :defn (mass = 44)
doc_manager.rb:97
doc_manager.rb:113
Matches found in :block (mass = 42)
server.rb:383
server.rb:586
Matches found in :defn (mass = 42)
local_remote_options.rb:122
local_remote_options.rb:129
Matches found in :if (mass = 40)
server.rb:397
server.rb:600
Matches found in :if (mass = 40)
security.rb:455
security.rb:473
Matches found in :defs (mass = 40)
source_info_cache.rb:52
source_info_cache.rb:60
Matches found in :iter (mass = 40)
install_update_options.rb:24
install_update_options.rb:30
Matches found in :if (mass = 40)
command_manager.rb:78
doc_manager.rb:170
Matches found in :defn (mass = 38)
user_interaction.rb:284
user_interaction.rb:320
Matches found in :iter (mass = 38)
specification.rb:1216
specification.rb:1224
Matches found in :or (mass = 36)
platform.rb:127
platform.rb:133
Matches found in :lasgn (mass = 34)
server.rb:475
server.rb:515
Matches found in :scope (mass = 32)
command.rb:310
doc_manager.rb:30
Matches found in :if (mass = 32)
test_utilities.rb:38
test_utilities.rb:61
Matches found in :if (mass = 32)
source_info_cache.rb:288
source_info_cache.rb:308
Matches found in :iter (mass = 32)
install_update_options.rb:42
install_update_options.rb:59
Matches found in :while (mass = 32)
version.rb:167
version.rb:168
Matches found in :iter (mass = 32)
install_update_options.rb:102
install_update_options.rb:108
Matches found in :if (mass = 32)
server.rb:360
server.rb:621
Matches found in :when (mass = 32)
specification.rb:1196
specification.rb:1198
Regards,
Dan
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers