イマドキSaaSで静的解析 / codacy_codecov

イマドキSaaSで静的解析 / codacy_codecov

Presented on #PHPBLT #7 https://phpblt.connpass.com/event/55972/

introduce CODACY, CodeCov.

6f36ff3943be908c5d2259f4aef09ea6?s=128

Jun Watanabe

May 22, 2017
Tweet

Transcript

  1. ΠϚυΩSaaSͰ ੩తղੳ 2017/05/22 PHP BLT #7 Jun Watanabe CODACY +

    CodeCov
  2. Jun Watanabe @rela1470 • ORATTA, Inc. Chief Engineer • PHPer

    • αʔόʔνʔϜͰ޷͖উख • http://rela.red/
  3. http://asuka-zero.jp/ Ϣʔβʔ਺130ສਓಥഁͨ͠Β͍͠ ฐࣾωΠςΟϒΞϓϦ ઓࠃΞεΧZERO x θϩͷ࢖͍ຐ

  4. Έͳ͞Μ SaaS޷͖Ͱ͔͢!?

  5. ๻͸ େ޷͖ Ͱ͢!!!

  6. ศརπʔϧΛ อकෆཁͰ ࢖Θͤͯ͘ΕΔ (ͪΐͬͱ͓ͨۚ͠ͱҾ͖׵͑ʹ)

  7. ৭ʑͳαʔϏεʹ ֹ݄Λ෷ͬͯͰ΋ ΤϯδχΞΛ1ਓ ޏ͏ΑΓ͍҆͠ όϦϡʔ͕ग़Δ (ݸਓͷҙݟͰ͢)

  8. ंྠͷ࠶։ൃΛ ͠ͳͯ͘ࡁΉ

  9. πʔϧΛ঎ചʹͯ͠Δ ձࣾͷํ͕ ։ൃͷ͕࣌ؒऔΕΔ ࣾ಺ͷยखؒͰ࡞ͬͨ෺ΑΓ ྑ͍πʔϧʹܾ·͍ͬͯΔ (ݸਓͷҙݟͰ͢)

  10. None
  11. ηΩϡϦςΟ্ͷෆ҆

  12. None
  13. ΄΅ຖ೔ Ͳ͔͜ͷαʔϏεͰ ো֐͕ى͜Δ

  14. None
  15. ୅ସखஈΛ ͖ͪΜͱ֬อ ͠ͳ͍ͱࢮ͵

  16. SaaSଆͷ࢓༷มߋʹ ৼΓճ͞ΕΔ

  17. None
  18. ͦΕͰ΋ ๻͸ େ޷͖ Ͱ͢!!!

  19. DeployBot CodeCov 2017/05/22 ݱࡏ Insomnia Teams

  20. DeployBot 2017/05/22 ݱࡏ Insomnia CodeCov CodeCov

  21. CODACY

  22. =

  23. CodeCov

  24. =

  25. None
  26. ΋͏গ͠ৄ͘͠...

  27. CODACY

  28. ෳ਺ͷ ੩త෼ੳπʔϧΛ ·ͱΊͯՄࢹԽ

  29. JavaScript Scala Java PHP Python CoffeeScript CSS Ruby Swift C/C++

  30. Issues / Complex Files / Duplicated Code / Coverage

  31. None
  32. ࢦఠΛϓϧϦΫίϝϯτʹ ͢Δ͜ͱ΋Մೳ (SideCIతͳ)

  33. ΧόϨοδ ϏϡʔΞʔ

  34. Issuesͷ είΞ੍͕࣌ؒ

  35. Goals ɾϦίϝϯυػೳ ɾਐḿɺܦա࣌ؒ ɾࣅͨΑ͏ͳ໰୊΍Ұॹʹ΍Ε͹ḿΔλεΫ ɾमਖ਼ʹ͔͔Δ࣌ؒΛܭࢉ

  36. Ͳ͔͜ΒखΛ෇͚ͨΒྑ͍͔ Θ͔Γ΍͍͢ɺϞνϕUP

  37. ૣ͍! (ݸਓͷҙݟͰ͢)

  38. ͲΜͳʹϦϙδτϦ਺͕ ଟͯ͘΋5෼Ҏ಺ʹ ݁Ռ͕ฦͬͯ͘Δ (࣮੷஋ 3෼ʙ4෼) https://support.codacy.com/hc/en-us/articles/207994895-How-long-does-it-take-for-my-project-to-be-analysed-

  39. Scrutinizer͸ ϓϧϦΫͷϚʔδ·Ͱʹ ݁Ռ͕ฦͬͯ͜ͳ͍... (1Organization 1Container͕ਏ͍)

  40. None
  41. CodeCov

  42. ΧόϨοδʹ ಛԽͨ͠ ՄࢹԽπʔϧ

  43. ϓϧϦΫίϝϯτʹάϥϑ

  44. 1ίϛοτຖʹධՁ͞ΕΔͷͰ Ϋιίϛοτ͕Ұ໨ྎવ

  45. ΧόϨοδ཰Լ͛ͨΒ Ϛʔδͤ͞ͳ͍ͱ͔

  46. Chrome ExtensionͰ Github্ʹ ΧόϨοδϨϙʔτΛදࣔ

  47. ૣ͍! (٬؍తʹݟͯ΋!)

  48. 1ඵͱ͔2ඵͰ ฦͬͯ͘Δ

  49. CODACY CodeCov

  50. CODACY CodeCov ✕

  51. None
  52. DeployBot CodeCov Insomnia Teams