$30 off During Our Annual Pro Sale. View Details »

Flutter Plugin Score

Flutter Plugin Score

About score of Flutter's plugin

kosuke matsumura

May 22, 2019
Tweet

More Decks by kosuke matsumura

Other Decks in Programming

Transcript

  1. Flutter Plugin Score Flutter Meetup Tokyo #9 2019/5/22 Kosuke Matsumura

  2. About Me • দଜߤ༟(Kosuke Matsumura) • NAVITIME JAPAN Co., Ltd.


    Android/iOS Developer • Google I/O 2018 • Kawasaki Frontale Supporter • Twitter
 m.kosuke @kosuke_mtm
  3. Flutter Plugin Score

  4. Flutter Plugin Score 1MVHJOʹ͸શͯ
 4DPSF͕දࣔ͞Ε͍ͯΔ

  5. Flutter Plugin Score ஫ҙɿ
 Under developmentͷͨΊɺ
 ࠓޙ࢓༷มߋ͕͋Δ͔΋͠Εͳ͍ Ұཡʹදࣔ͞Ε͍ͯΔͷ͸
 0WFSBMM4DPSF 1PQVMBSJUZ)FBMUI

    .BJOUFOBODFͷ
 ̏ͭͷࢦඪ͕͋Δ ্هͭΛ౷߹ͨ͠ͷ͕
 0WFSBMM4DPSF
  6. 4VHHFTUJPOGPS*NQSPWJOH4DPSF ScoreΛվળ͢ΔͨΊͷώϯτ΋هࡌ͞Ε͍ͯΔ https://pub.dev/packages/ sticky_header_list#-analysis-tab-

  7. 4VHHFTUJPOGPS*NQSPWJOH4DPSF https://pub.dev/packages/ sticky_header_list#-analysis-tab- ScoreΛվળ͢ΔͨΊͷώϯτ΋هࡌ͞Ε͍ͯΔ

  8. w1PQVMBSJUZ4DPSF w)FBMUI4DPSF w.BJOUFOBODF4DPSF w0WFSBMM4DPSF

  9. w1PQVMBSJUZ4DPSF w)FBMUI4DPSF w.BJOUFOBODF4DPSF w0WFSBMM4DPSF

  10. Popularity Score ύοέʔδͷμ΢ϯϩʔυ਺ʹج͍ͮͯࢉग़ How can you improve your popularity score?

    ʼศརͳύοέʔδ࡞ͬͯͶ!
  11. w1PQVMBSJUZ4DPSF w)FBMUI4DPSF w.BJOUFOBODF4DPSF w0WFSBMM4DPSF

  12. Health Score dartanalyzerʹΑΔ੩తղੳͷ݁Ռʹج͍ͮͯࢉग़ ɾ̍errorʹ͖ͭɺ25%μ΢ϯ ɾ̍warningʹ͖ͭɺ5%μ΢ϯ ɾ̍hintʹ͖ͭɺ0.5%μ΢ϯ ɾplatform conflictʹ͖ͭɺ25ϙΠϯτμ΢ϯ

  13. Health Score ྫ͑͹ɺΤϥʔ͕̎ͭ͋ͬͨΒɺ ɹ100 x 0.75^2 = 56.25point ͞Βʹwarning͕ͻͱͭ͋ͬͨΒ ɹ56.25

    x 0.95 = 53.4375point ͞Βʹplatform conflict͕͋ͬͨΒ ɹ53.4375 - 25 = 28.4375point
  14. Health Score IJOUY?
 QPJOUT IJOUY?
 QPJOUT

  15. w1PQVMBSJUZ4DPSF w)FBMUI4DPSF w.BJOUFOBODF4DPSF w0WFSBMM4DPSF

  16. Maintenance Score ϝϯςφϯεੑΛࣔ͢είΞͰɺ͍͔ͭ͘ͷࢦඪʹج͍ͮͯࢉग़ ɾ࠷ऴߋ৽೔͕1೥Ҏ಺ ɾύοέʔδͷґଘؔ܎͕࠷৽όʔδϣϯ ɾREADME,CHANGELOG,example files
 ɹͦΕͧΕͷϑΝΠϧ͕༻ҙ͞Ε͍ͯΔ͜ͱ ɾanalysis_options.yaml͕ଘࡏ͢Δ͜ͱ

  17. Maintenance Score ߋ৽͕଺ͬͯΔ͔Β
 QPJOUT EFTDSJQUJPO͕୹͗͢Δ͔Β
 QPJOUT ࢖༻ྫ FYBNQMFσΟϨΫτϦʣͳ͍͔Β
 QPJOUT QBOBͱ͍͏1MVHJOͰղੳ͞Ε͍ͯΔ

  18. Maintenance Score

  19. How To Use `Pana` dart΁ͷpathΛ௨͢ pubܦ༝ͰpanaΛinstall pana(pubͰऔಘͨ͠ϥΠϒϥϦ)΁ͷpathΛ௨͢ $export PATH=“$PATH":"$FLUTTER/cache/dart-sdk/bin" $pub

    global activate pana $export PATH="$PATH":"$HOME/.pub-cache/bin"
  20. How To Use `Pana` ࣮ߦ $pana --source path <FlutterϓϩδΣΫτͷpath>

  21. How To Use `Pana` ࣮ߦ $pana --source path <FlutterϓϩδΣΫτͷpath>

  22. w1PQVMBSJUZ4DPSF w)FBMUI4DPSF w.BJOUFOBODF4DPSF w0WFSBMM4DPSF

  23. Overall Score Ҏ্̏ͭͷείΞ͕ॏΈ෇͚ͯ͠ܭࢉ͞Ε·͢ɻ    Popularity Health Maintenance

  24. Summary • Flutterͷplugin͸DL਺΍੩తղੳ݁Ռɺ
 ϝϯςφϯεੑ͔Βܭࢉ͞ΕͨScoreΛ͍࣋ͬͯΔ • PluginΛ࢖༻͢Δ৔߹͸Scoreͱɺͦͷ಺༰΋ݟ্ͨͰ൑அ͢Δ • PluginΛެ։͢Δ৔߹͸Score͕ߴ͘ͳΔΑ͏ʹ
 SuggestionΛࢀߟʹ࣮૷Λ͢Δ •

    ৄࡉ͸ެࣜϖʔδʹهࡌ͋Γ·͢
 https://pub.dev/help#scoring
  25. Thank you for your attention.