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

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

    View full-size slide

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

    Android/iOS Developer
    • Google I/O 2018
    • Kawasaki Frontale Supporter
    • Twitter

    m.kosuke @kosuke_mtm

    View full-size slide

  3. Flutter Plugin Score

    View full-size slide

  4. Flutter Plugin Score
    1MVHJOʹ͸શͯ

    4DPSF͕දࣔ͞Ε͍ͯΔ

    View full-size slide

  5. Flutter Plugin Score
    ஫ҙɿ

    Under developmentͷͨΊɺ

    ࠓޙ࢓༷มߋ͕͋Δ͔΋͠Εͳ͍
    Ұཡʹදࣔ͞Ε͍ͯΔͷ͸

    0WFSBMM4DPSF
    1PQVMBSJUZ)FBMUI
    .BJOUFOBODFͷ

    ̏ͭͷࢦඪ͕͋Δ
    ্هͭΛ౷߹ͨ͠ͷ͕

    0WFSBMM4DPSF

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  8. w1PQVMBSJUZ4DPSF
    w)FBMUI4DPSF
    w.BJOUFOBODF4DPSF
    w0WFSBMM4DPSF

    View full-size slide

  9. w1PQVMBSJUZ4DPSF
    w)FBMUI4DPSF
    w.BJOUFOBODF4DPSF
    w0WFSBMM4DPSF

    View full-size slide

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

    View full-size slide

  11. w1PQVMBSJUZ4DPSF
    w)FBMUI4DPSF
    w.BJOUFOBODF4DPSF
    w0WFSBMM4DPSF

    View full-size slide

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

    View full-size slide

  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

    View full-size slide

  14. Health Score
    IJOUY?

    QPJOUT
    IJOUY?

    QPJOUT

    View full-size slide

  15. w1PQVMBSJUZ4DPSF
    w)FBMUI4DPSF
    w.BJOUFOBODF4DPSF
    w0WFSBMM4DPSF

    View full-size slide

  16. Maintenance Score
    ϝϯςφϯεੑΛࣔ͢είΞͰɺ͍͔ͭ͘ͷࢦඪʹج͍ͮͯࢉग़
    ɾ࠷ऴߋ৽೔͕1೥Ҏ಺
    ɾύοέʔδͷґଘؔ܎͕࠷৽όʔδϣϯ
    ɾREADME,CHANGELOG,example files

    ɹͦΕͧΕͷϑΝΠϧ͕༻ҙ͞Ε͍ͯΔ͜ͱ
    ɾanalysis_options.yaml͕ଘࡏ͢Δ͜ͱ

    View full-size slide

  17. Maintenance Score
    ߋ৽͕଺ͬͯΔ͔Β

    QPJOUT
    EFTDSJQUJPO͕୹͗͢Δ͔Β

    QPJOUT
    ࢖༻ྫ FYBNQMFσΟϨΫτϦʣͳ͍͔Β

    QPJOUT
    QBOBͱ͍͏1MVHJOͰղੳ͞Ε͍ͯΔ

    View full-size slide

  18. Maintenance Score

    View full-size slide

  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"

    View full-size slide

  20. How To Use `Pana`
    ࣮ߦ
    $pana --source path

    View full-size slide

  21. How To Use `Pana`
    ࣮ߦ
    $pana --source path

    View full-size slide

  22. w1PQVMBSJUZ4DPSF
    w)FBMUI4DPSF
    w.BJOUFOBODF4DPSF
    w0WFSBMM4DPSF

    View full-size slide

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



    Popularity
    Health
    Maintenance

    View full-size slide

  24. Summary
    • Flutterͷplugin͸DL਺΍੩తղੳ݁Ռɺ

    ϝϯςφϯεੑ͔Βܭࢉ͞ΕͨScoreΛ͍࣋ͬͯΔ
    • PluginΛ࢖༻͢Δ৔߹͸Scoreͱɺͦͷ಺༰΋ݟ্ͨͰ൑அ͢Δ
    • PluginΛެ։͢Δ৔߹͸Score͕ߴ͘ͳΔΑ͏ʹ

    SuggestionΛࢀߟʹ࣮૷Λ͢Δ
    • ৄࡉ͸ެࣜϖʔδʹهࡌ͋Γ·͢

    https://pub.dev/help#scoring

    View full-size slide

  25. Thank you for your attention.

    View full-size slide