Giter VIP home page Giter VIP logo

Comments (3)

ysakasin avatar ysakasin commented on June 11, 2024

どのくらいの行数をファイル分割の目安とするか?

RuboCopの Metrics/ClassLength によるデフォルト値が100論理行なので、これに引っかからないぐらいにしたい。300行程度?

Ref.

from bcdice.

ysakasin avatar ysakasin commented on June 11, 2024

100論理行を超えているクラス一覧

100行以上:112クラス
200行以上:77クラス
300行以上:58クラス
500行以上:29クラス
1000行以上:12クラス

Name Logical Lines Real Lines
LogHorizon.rb 3353 3551
BeginningIdol.rb 2344 2521
BeginningIdol_Korean.rb 2199 2371
GurpsFW.rb 2115 2343
MeikyuKingdom.rb 1973 2258
Dracurouge.rb 1717 1847
FilledWith.rb 1357 1541
KillDeathBusiness_Korean.rb 1333 1503
KillDeathBusiness.rb 1278 1420
LogHorizon_Korean.rb 1200 1392
Elysion.rb 1091 1228
Satasupe.rb 1050 1171
MagicaLogia.rb 965 1142
KanColle.rb 936 1040
FutariSousa.rb 889 1004
OneWayHeroics.rb 856 977
MetalHeadExtream.rb 823 914
StellarKnights.rb 798 915
TwilightGunsmoke.rb 758 852
_InsaneScp.rb 711 822
HatsuneMiku.rb 702 772
Insane_Korean.rb 658 767
Insane.rb 658 767
ShoujoTenrankai.rb 647 674
ShinobiGami.rb 638 674
Garako.rb 607 671
Cthulhu7th.rb 592 740
HuntersMoon.rb 568 647
Amadeus.rb 551 614
BloodCrusade.rb 496 552
DemonParasite.rb 482 520
ColossalHunter.rb 482 558
Villaciel.rb 468 554
GranCrest.rb 464 514
ShinkuuGakuen.rb 449 527
DarkDaysDrive.rb 448 503
DeadlineHeroes.rb 443 520
YankeeYogSothoth.rb 440 478
Amadeus_Korean.rb 438 493
MonotoneMuseum.rb 430 484
MeikyuDays.rb 427 510
GardenOrder.rb 412 448
BloodMoon.rb 401 449
BadLife.rb 385 435
TorgEternity.rb 382 426
SwordWorld.rb 379 493
BlindMythos.rb 372 468
SterileLife.rb 367 449
DiceBot.rb 365 584
Kamigakari_Korean.rb 356 429
BeastBindTrinity.rb 342 435
LiveraDoll.rb 341 375
Kamigakari.rb 337 396
Gurps.rb 337 398
MeikyuKingdomBasic.rb 334 400
BattleTech.rb 318 531
Peekaboo.rb 311 350
TrinitySeven.rb 308 361
Torg.rb 291 368
Warhammer.rb 280 334
Cthulhu7th_ChineseTraditional.rb 274 384
Cthulhu7th_Korean.rb 272 381
Paradiso.rb 267 317
Nuekagami.rb 263 290
StratoShout.rb 255 312
MonotoneMuseum_Korean.rb 254 299
GundogRevised.rb 247 295
Dracurouge_Korean.rb 241 310
Alter_raise.rb 235 278
DetatokoSaga.rb 233 313
DetatokoSaga_Korean.rb 233 313
KemonoNoMori.rb 225 255
GundogZero.rb 219 259
BladeOfArcana.rb 218 246
Skynauts.rb 213 319
CardRanker.rb 213 256
WitchQuest.rb 212 273
EarthDawn3.rb 195 272
ParasiteBlood.rb 193 230
TunnelsAndTrolls.rb 189 256
MetalHead.rb 188 245
EmbryoMachine.rb 184 221
HouraiGakuen.rb 184 257
Strave.rb 182 220
LostRoyal.rb 179 238
EarthDawn4.rb 178 269
Cthulhu_ChineseTraditional.rb 174 240
DoubleCross.rb 172 417
Cthulhu_Korean.rb 172 238
Cthulhu.rb 172 237
DarkBlaze.rb 163 216
NinjaSlayer.rb 163 271
SwordWorld2_0.rb 162 222
HarnMaster.rb 156 199
EarthDawn.rb 150 222
BarnaKronika.rb 150 205
SRS.rb 145 343
PulpCthulhu.rb 144 181
Ryutama.rb 141 196
Oukahoushin3rd.rb 135 156
DiceBotLoaderList.rb 134 152
Postman.rb 134 177
NightWizard.rb 128 180
Raisondetre.rb 127 166
Chill.rb 124 158
Nechronica_Korean.rb 113 162
BattleTech.rb 111 531
ArsMagica.rb 108 142
Utakaze.rb 107 158
RecordOfSteam.rb 105 151
Nechronica.rb 105 147
ScreamHighSchool.rb 103 125

from bcdice.

ysakasin avatar ysakasin commented on June 11, 2024

300論理行くらいは許容しても良さそう

from bcdice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.