Upgrade to Pro — share decks privately, control downloads, hide ads and more …

"Social Coding", It's Not Unusual in ESM

"Social Coding", It's Not Unusual in ESM

札幌Ruby会議スポンサーセッションでの発表スライドです。

Kenichi Takahashi

September 14, 2012
Tweet

More Decks by Kenichi Takahashi

Other Decks in Programming

Transcript

  1. ΞδϟΠϧ։ൃ جຊ Ω ͷ 3FUVSOT ੢ଜ௚ਓ id:nawoto [email protected]  ׬શ൛

    ϓϩδΣΫτͷਐΊํ IUUQTQFBLFSEFDLDPNVOBXPUPQCBTJDPGCBTJDTPGBHJMFEFWFMPQNFOU
  2. SBLFTUBUT BtoCϑϩϯτɺBtoBόοΫΤϯυͳۀ຿ΞϓϦ(ESMͷΈɺ100ਓ݄ఔ౓) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC |

    Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 4473 | 3765 | 58 | 384 | 6 | 7 | | Helpers | 1353 | 1123 | 3 | 134 | 44 | 6 | | Models | 7422 | 6149 | 131 | 741 | 5 | 6 | | Libraries | 2504 | 1922 | 44 | 271 | 6 | 5 | | Model specs | 13057 | 10979 | 2 | 20 | 10 | 546 | | View specs | 2255 | 1588 | 0 | 3 | 0 | 527 | | Controller specs | 5007 | 4170 | 0 | 5 | 0 | 832 | | Helper specs | 1215 | 1013 | 0 | 0 | 0 | 0 | | Library specs | 1924 | 1604 | 7 | 23 | 3 | 67 | | Routing specs | 106 | 86 | 0 | 0 | 0 | 0 | | Cucumber features | 2496 | 1933 | 1 | 11 | 11 | 173 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 41812 | 34332 | 246 | 1592 | 6 | 19 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 12959 Test LOC: 21373 Code to Test Ratio: 1:1.6
  3. SBLFTUBUT ֶशक़޲͚CRM(ESM 15ਓ݄ఔ౓) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC

    | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 1633 | 1378 | 38 | 163 | 4 | 6 | | Helpers | 411 | 347 | 0 | 56 | 0 | 4 | | Models | 5563 | 4484 | 127 | 565 | 4 | 5 | | Libraries | 302 | 270 | 1 | 17 | 17 | 13 | | Model specs | 4801 | 3856 | 0 | 11 | 0 | 348 | | Controller specs | 64 | 51 | 0 | 0 | 0 | 0 | | Cucumber features | 1157 | 885 | 0 | 4 | 0 | 219 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 13931 | 11271 | 166 | 816 | 4 | 11 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 6479 Test LOC: 4792 Code to Test Ratio: 1:0.7
  4. SBLFTUBUT େखISPτϥϑΟοΫ෼ੳ(ESMͷΈɺ30ਓ݄ఔ౓) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC |

    Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 932 | 765 | 16 | 101 | 6 | 5 | | Helpers | 106 | 76 | 0 | 13 | 0 | 3 | | Models | 1390 | 1048 | 13 | 100 | 7 | 8 | | Libraries | 1018 | 787 | 8 | 71 | 8 | 9 | | Model specs | 3344 | 2802 | 0 | 3 | 0 | 932 | | Controller specs | 860 | 683 | 0 | 0 | 0 | 0 | | Helper specs | 119 | 98 | 0 | 0 | 0 | 0 | | Library specs | 1562 | 1317 | 0 | 0 | 0 | 0 | | Mailer specs | 34 | 29 | 0 | 0 | 0 | 0 | | Request specs | 519 | 428 | 0 | 0 | 0 | 0 | | Acceptance specs | 4557 | 3680 | 0 | 11 | 0 | 332 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 14441 | 11713 | 37 | 299 | 8 | 37 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 2705 Test LOC: 9008 Code to Test Ratio: 1:3.3
  5. SBLFTUBUT ECϞʔϧ(ଞؚࣾΉɺ200ਓ݄Ҏ্) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC |

    Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 14905 | 11437 | 242 | 892 | 3 | 10 | | Helpers | 3607 | 2877 | 1 | 361 | 361 | 5 | | Models | 22088 | 17175 | 328 | 1362 | 4 | 10 | | Libraries | 39418 | 30644 | 602 | 1567 | 2 | 17 | | Model specs | 25748 | 22142 | 12 | 31 | 2 | 712 | | View specs | 63 | 46 | 0 | 0 | 0 | 0 | | Controller specs | 20875 | 17998 | 0 | 31 | 0 | 578 | | Helper specs | 2795 | 2258 | 0 | 3 | 0 | 750 | | Library specs | 22244 | 18570 | 45 | 122 | 2 | 150 | | Mailer specs | 613 | 561 | 0 | 1 | 0 | 559 | | Routing specs | 310 | 257 | 0 | 0 | 0 | 0 | | Cucumber features | 5917 | 5013 | 0 | 18 | 0 | 276 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total |158583 | 128978| 1230 | 4388 | 3 | 27 | +----------------------+-------+-------+---------+---------+-----+-------+
  6. SBLFTUBUT QA@IT(ESMͷΈ) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC |

    Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 956 | 706 | 28 | 106 | 3 | 4 | | Helpers | 48 | 35 | 0 | 6 | 0 | 3 | | Models | 1182 | 947 | 49 | 102 | 2 | 7 | | Libraries | 164 | 130 | 7 | 14 | 2 | 7 | | Activities | 977 | 683 | 37 | 88 | 2 | 5 | | Decorators | 423 | 323 | 0 | 40 | 0 | 6 | | Model specs | 418 | 314 | 0 | 3 | 0 | 102 | | Controller specs | 79 | 54 | 0 | 0 | 0 | 0 | | Library specs | 105 | 79 | 0 | 0 | 0 | 0 | | Mailer specs | 56 | 40 | 0 | 0 | 0 | 0 | | Routing specs | 0 | 0 | 0 | 0 | 0 | 0 | | Request specs | 2127 | 1550 | 0 | 4 | 0 | 385 | | Activity specs | 1803 | 1324 | 0 | 0 | 0 | 0 | | Decorator specs | 70 | 51 | 0 | 1 | 0 | 49 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 8408 | 6236 | 121 | 364 | 3 | 15 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 2824 Test LOC: 3412 Code to Test Ratio: 1:1.2