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

開発における治安指数の可視化のためにおこなったこと

tarappo
March 24, 2021

 開発における治安指数の可視化のためにおこなったこと

iOS Test TeaTime #2(2021/03/24)で話した資料です。
https://testonline.connpass.com/event/205626/

tarappo

March 24, 2021
Tweet

More Decks by tarappo

Other Decks in Programming

Transcript

  1. ։ൃʹ͓͚Δ࣏҆ࢦ਺ͷ
    ՄࢹԽͷͨΊʹ͓͜ͳͬͨ͜ͱ
    8FE

    J045FTU5FB5JNF
    ฏాහ೭ UBSBQQP

    View full-size slide

  2. ࣗݾ঺հ
    ฏాහ೭ˏ%F/"48&5 4PGUXBSF&OHJOFFSJO5FTU

    ϛογϣϯ
    w %F/"αʔϏεશൠͷ඼࣭޲্
    w %F/"ΤϯδχΞͷ։ൃੜ࢈ੑ޲্
    48&5಺ͷॴଐνʔϜ
    wࣗಈςετʢJ04ʣ
    w$*$%
    2

    View full-size slide

  3. ࠓ೔͸ͳ͢͜ͱ
    w ϓϩδΣΫτʹ͓͚Δʮ։ൃੜ࢈ੑʯʮ඼࣭ʯ໘ͰͷՄࢹԽʹ
    ͍ͭͯ
    w ՄࢹԽͷͨΊʹ͓͜ͳͬͨ͜ͱ
    w ՄࢹԽͷྫ
    3

    View full-size slide

  4. ର৅ϓϩδΣΫτ
    ϥΠϒίϛϡχέʔγϣϯΞϓϦ

    View full-size slide

  5. ʢ48&5ࢹ఺ͷʣ
    ՝୊ͷൃݟͱղܾ
    w ࣍ͷϑΟʔυόοΫαΠΫϧΛճͯ͠վળΛ͠ଓ͚͍ͨ
    w ՝୊͸ͳʹ͔ʁΛݟ͚ͭΔ
    w ՝୊ʹରͯ͠Կ͔͠ΒରࡦΛ͓͜ͳ͏
    w ͦͷ݁ՌΛݟۃΊΔ
    ͦͷͨΊʹ͸ʮϓϩδΣΫτʯͷঢ়ଶʹ͍ͭͯ
    ʮܧଓతʹʯʮ਺஋ʯͰΘ͔Δ͜ͱ͕ॏཁ
    5

    View full-size slide

  6. ϓϩδΣΫτͷঢ়ଶͷՄࢹԽ
    w ͲͷΑ͏ͳ৘ใ͔ΒͳʹΛՄࢹԽ͢Δ͔
    ։ൃʹ͓͚Δ࣏҆ͱ΋͍͑ΔՕॴΛλʔήοτʹͯ͠ՄࢹԽ
    ˠʮ։ൃͷ࣏҆ࢦ਺ͷՄࢹԽʯ
    6
    ʮ։ൃੜ࢈ੑʯʮ඼࣭޲্ʯʹؔ܎͢Δͱ͜Ζ

    View full-size slide

  7. ։ൃʹ͓͚Δ࣏҆ࢦ਺ͷՄࢹԽ
    ιϑτ΢ΣΞσϦόϦͷύϑΥʔϚϯεͷଌఆج४Λࢀߟʹͭͭ͠΋ಠࣗʹ·
    ͣ࣍ͱܾΊͨ
    w ࣗಈςετͷར༻౓
    w $*$%ͷར༻ঢ়گ
    w όάىථͷ෼ྨ
    7
    ͳʹΛՄࢹԽ͢Δ͔
    TUλʔήοτ

    View full-size slide

  8. ։ൃʹ͓͚Δ࣏҆ࢦ਺ͷՄࢹԽ
    ʢ࠷ॳʹ͋ͬͨʣར༻Ͱ͖Δ৘ใݯ
    w ࣗಈςετͷར༻౓
    w ςετέʔε਺ɿʢ̍ʣϓϩμΫτίʔυɿ(JU)VC
    w ࣮ߦ਺ɿʢ̎ʣ$*$%αʔϏεɿ#JUSJTF
    w $*$%ͷར༻ঢ়گ
    w ʢ̎ʣ$*$%αʔϏεɿ#JUSJTF
    w όάىථͷ෼ྨ
    w ʢ̏ʣόάىථɿ+*3"
    8

    View full-size slide

  9. ʢ̍ʣϓϩμΫτίʔυ
    (JU)VC
    w (JU)VCʹ͋Δςετίʔυ͔Βςετέʔε਺ΛΧ΢ϯτ
    w ֤ϦϦʔεόʔδϣϯͰͷਪҠΛܭଌ
    ςετίʔυ͸ঃʑʹ૿͍͑ͯΔΑ͏ʹݟ͍͑ͯͨ
    9

    View full-size slide

  10. ʢ̍ʣϓϩμΫτίʔυ
    (JU)VC
    w ͔͠͠ɺ࣮ࡍ͸
    w $*$%αʔϏεͰಈ͔͍ͯ͠ͳ͍ςετίʔυ͕͋Δ
    w ಈ͔ͳ͍ʢࣦഊ͢Δʣςετίʔυ͕͋Δ
    w $*$%αʔϏεͰͷ࣮ߦ݁Ռ͕$PNNJU4UBUVTʹ൓ө͞Ε͍ͯͳ͍
    ʮ͋Δ͚ͩʯͰ͸Ձ஋Λൃش͠ͳ͍
    10
    ࣮ࡍʹར༻ͨ͠ͱ͍͏৘ใ͕ඞཁ

    View full-size slide

  11. ʢ̎ʣ$*$%αʔϏε

    #JUSJTF
    w ϫʔΫϑϩʔͷ࣮ߦ݁Ռ͔Β৘ใΛऔಘ
    w #JUSJTFʹ͸"1*͕͋Γաڈͷ৘ใ΋औಘͰ͖Δ
    w IUUQTBQJEPDTCJUSJTFJP
    w ͔͠͠ɺ
    w ϫʔΫϑϩʔͷ࣮ߦλΠϛϯά͕গͳ͍
    w ϫʔΫϑϩʔࣗମ͕੔͍ͬͯͳ͍
    11

    View full-size slide

  12. ʢ̎ʣ$*$%αʔϏε

    #JUSJTF
    w ϫʔΫϑϩʔͷ࣮ߦλΠϛϯά͕গͳ͍ཧ༝
    w ࣮ߦ͕͔͔࣌ؒΔͨΊ13࣌ʹಈ͔͢ͷ͸ݫ͍͠
    w ࣗಈςετͩͱʙ෼ఔ౓͔͔͍ͬͯΔঢ়ଶʢʹ/JHIUMZ͚ͩͰಈ͔͍ͯ͠Δʣ
    w 13ɺNFSHF࣌ʹಛఆͷ̍ϫʔΫϑϩʔ͚ͩΛࢦఆ͍ͯ͠Δ
    ݁Ռͱͯ͠$*$%ͷར༻౓͸௿͘σʔλ͕গͳ͍ঢ়ଶ
    ͦ΋ͦ΋ͱͯ͠ʮϏϧυ͕Ͱ͖ͳ͍ʯʮςετ͕ࣦഊ͢Δʯʹؾͮ͘ͷ͕ޙखʹͳΔ
    12

    View full-size slide

  13. ʢ̏ʣόάىථ
    +*3"
    w શମͷ܏޲ΛݟΔͨΊʹ+*3"ͷμογϡϘʔυΛ༻ҙ
    w ৘ใΛόʔδϣϯ୯ҐͰՄࢹԽ͠ਪҠΛݟΕΔΑ͏ʹͨ͠
    w ෆ۩߹छผ΍ॏཁ౓ͳͲͰ෼͚ͯදࣔ
    13
    ͲͷΑ͏ͳىථ͕ଟ͍͔Λ֬ೝ

    View full-size slide

  14. ʢ̏ʣόάىථ
    +*3"
    w ϑΥʔϚοτͷ໰୊
    w ਓʹΑͬͯىථ࣌ͷ৘ใ͕ͿΕ͍ͯΔ
    w ݁Ռͱͯ͠ɺෆ۩߹छผͰʮͦͷଞʯ͕ଟ͘ͳͬͨΓ͍ͯͨ͠
    w τϨʔαϏϦςΟͷ໰୊
    w मਖ਼ͱͯ͠ͲͷΑ͏ͳ͜ͱΛ͓͜ͳ͔ͬͨΘ͔Βͳ͍͜ͱ͕͋Δ
    w ৄࡉΛ஌ΔͨΊʹ(JU)VCͷ13Ұཡ͔Βର৅ͱͳΔ13Λ୳ͨ͠Γ͍ͯͨ͠
    14

    View full-size slide

  15. ࠓ͋Δ৘ใΛ
    ͦͷ··ར༻ͯ͠
    ՄࢹԽ͢Δʹ͸
    ྔɺ಺༰తʹෆे෼

    View full-size slide

  16. ՄࢹԽʹΉ͚ͯ
    w σʔλͷ੔ཧ੔಴
    w Կ͕͋ͬͯԿ͕׆༻Ͱ͖Δ͔Λ੔ཧ͠࢖͑ΔΑ͏ʹͨ͠
    16
    σʔλͷՄࢹԽ

    View full-size slide

  17. ࠓͷ՝୊ͱରԠࡦ
    w ࣗಈςετͷར༻౓
    w ίʔυͰͳ͘ʮͦΕΛ࣮ࡍʹར༻ͨ͠ʯͱ͍͏৘ใ͕ඞཁ
    w ˠ$*$%αʔϏεͰఆظతʹಈ͔͢
    w $*$%ͷར༻ঢ়گ
    w ࣮ߦ͢ΔλΠϛϯάΛ૿΍͢
    w όάىථͷ෼ྨ
    w ϑΥʔϚοτͷௐ੔ɺτϨʔαϏϦςΟͷڧԽ
    17
    ରԠʢ̍ʣ
    #JUSJTFपΓͷ
    ੔ཧ੔಴
    ରԠʢ̎ʣ
    +*3"पΓͷ
    ੔ཧ੔಴

    View full-size slide

  18. #JUSJTFपΓͷ੔ཧ੔಴
    w ϫʔΫϑϩʔͷ੔ཧ੔಴
    w ࡟আɿෆඞཁͳTUFQɺෆඞཁͳϫʔΫϑϩʔ
    w ௥ՃɿϏϧυΛ͢ΔϫʔΫϑϩʔ
    w վળɿϢʔςϦςΟϫʔΫϑϩʔʹΑΔڞ௨Խɺςετͷ੒Ռ෺Λอଘɺ(JU)VC$PNNJU4UBUTVʹ൓ө
    w ࣮ߦ࣌ؒͷ࡟ݮ
    w ςετͷฒྻ࣮ߦʢ̐ฒྻʣ
    w 5SJHHFSͰಈ͘ϫʔΫϑϩʔͷมߋ
    w ෳ਺ϫʔΫϑϩʔ͕ಈ͘Α͏ʹଞͷϫʔΫϑϩʔΛಈ͔͢ϫʔΫϑϩʔʹมߋ
    18

    View full-size slide

  19. #JUSJTFपΓͷ੔ཧ੔಴
    w ࣮ߦ࣌ؒͷ࡟ݮ
    w ࣮ߦ࣌ؒͷ࡟ݮɿશମతʹ਺෼ఔ౓
    w ࣗಈςετͷ࣮ߦ࣌ؒɿ໿෼ˠ໿෼
    w ࣮ߦλΠϛϯάͷ૿Ճ
    w 13࣌ɿςετɺϏϧυ
    w NFSHF࣌ɿςετɺ഑෍
    19
    ͜ΕΒʹΑΓʮࣗಈςετͷར༻౓ʯʮ$*$%ͷར༻ঢ়گʯͷͨΊͷσʔλ૿Ճ
    ݁Ռ
    ࣮ߦ࣌ؒͷ࡟ݮʹΑΓՄೳʹͳͬͨ

    View full-size slide

  20. #JUSJTF͔ΒಘΒΕΔ৘ใ
    w ֤ϫʔΫϑϩʔͷ࣮ߦ݁Ռ
    w ର৅ϫʔΫϑϩʔɿϏϧυɺࣗಈςετɺΞϓϦͷ഑෍
    w ࣮ߦ݁Ռͷৄࡉ
    w ࣮ߦ࣌ؒ
    w ࣮ߦ݁Ռʢ੒ޭɺࣦഊɺBCPSUʣ
    w ࣮ߦͨ͠ਓʢ13Ͱ͋Ε͹13࡞੒ऀʣ
    w ϒϥϯν໊
    w ར༻ͨ͠4UBDL৘ใ
    20
    (&5ɿBQQT\BQQTMVH^CVJMET

    View full-size slide

  21. ࣗಈςετͷ৘ใ
    w #JUSJTFͰ࣮ߦ࣌ʹಘΒΕΔ৘ใ
    w ςετέʔε਺ʢ੒ޭ਺ɺࣦഊ਺ʣ
    w ίʔυΧόϨοδ
    21
    #JUSJTF࣮ߦ࣌ʹίʔυͱ݁ͼ͚ͭΔ
    #JUSJTFͰ݁ՌΛग़͢Α͏ʹ͠੒Ռ෺ʹอଘ

    View full-size slide

  22. ࣗಈςετͷ৘ใ
    w (JU)VC$PNNJU4UBUVTʹσʔλ൓ө
    w #JUSJTF͔Β൓өͤ͞Δ͜ͱ͕Ͱ͖Δ
    w ୭Ͱ΋͔ΜͨΜʹ(JU)VC͔ΒݟΔ͜ͱ͕Ͱ͖Δ
    w "1*ͰσʔλΛऔΔ͜ͱ͕Ͱ͖Δ
    22

    View full-size slide

  23. +*3"पΓͷ੔ཧ੔಴
    w όά෼ੳ͕ΑΓͰ͖ΔΑ͏ʹԼهΛ࣮ࢪ
    w ʢ̍ʣϑΥʔϚοτௐ੔
    w ݱঢ়ͷىථΛશνΣοΫ͠ɺͦΕΛݩʹඞཁͳ΋ͷΛௐ੔
    w ʢ̎ʣνέοτͱमਖ਼ίʔυͷ݁ͼ͚ͭ
    w %BOHFSΛར༻͠13࣌఺Ͱ13ͷEFTDSJQUJPOʹ͋Δ+*3"ΞυϨεʹ
    (JU)VCͷ13ΞυϨεΛࣗಈొ࿥
    23

    View full-size slide

  24. +*3"पΓͷ੔ཧ੔಴
    ʢ̍ʣϑΥʔϚοτௐ੔
    w ݱঢ়ͷىථΛ֤όʔδϣϯ୯ҐͰશνΣοΫ
    w ৘ใͷᐆດ͕͋͞Δͱ͜Ζ͕ͳ͍͔Ͳ͏͔
    w ݱঢ়ͷ৘ใͰ଍ΓΔ͔Ͳ͏͔ͷݕ౼
    24
    ৄࡉ͸·ͨผͷػձʹ

    View full-size slide

  25. +*3"पΓͷ੔ཧ੔಴
    ʢ̎ʣνέοτͱमਖ਼ίʔυͷ݁ͼ͚ͭ
    w %BOHFSΛར༻
    w 13ͷEFTDSJQUJPOʹ͋Δ+*3"ΞυϨεʹ(JU)VCͷ13ΞυϨεΛࣗಈొ࿥
    25
    ࣗ਎ͷ13ΞυϨεΛهࡌʢෳ਺ొ࿥Մʣ
    ϥϕϧͷࣗಈ෇༩ʢʹ2"ରԠʣ

    View full-size slide

  26. ՄࢹԽʹ޲͚ͨߏ੒Ҋ
    Ͳ͔͜͠Β
    ίʔυ
    ৘ใݩ
    ͳʹ͔͠Β
    ͳʹ͔͠Β
    ͜͜Λ
    Ͳ͏͢Δ͔

    View full-size slide

  27. ՄࢹԽʹΉ͚ͯ
    w ʢ̍ʣूΊͨ৘ใΛͲ͜ʹอଘ͢Δ͔ʁ
    w কདྷతʹ͸#JH2VFSZΛ༧ఆ
    w ࠓ͸͔ΜͨΜʹ͢ΔͨΊʹεϓϨουγʔτΛར༻
    w ʢ̎ʣอଘͨ͠৘ใΛԿΛ࢖ͬͯՄࢹԽ͢Δ͔ʁ
    w %BUB4UVEJPʢσʔλϙʔλϧʣΛ࢖ͬͯՄࢹԽ
    w IUUQTEBUBTUVEJPHPPHMFDPN
    w #JH2VFSZ΍εϓϨουγʔτͳͲෳ਺ͷσʔλιʔεΛݩʹՄࢹԽͰ͖Δ
    27

    View full-size slide

  28. ߏ੒
    28
    σʔλϙʔλϧ
    ৘ใݩ
    อଘઌ
    ίʔυ
    औಘ
    อଘ
    ఆظ࣮ߦ

    View full-size slide

  29. ݱࡏͷ
    ։ൃͷ࣏҆ࢦ਺
    w $*҆ఆੑ
    w ࣮ߦ࣌ؒɺ࣮ߦ݁Ռɺʢʴϒϥϯνʣ
    w ࣗಈςετ׆༻౓
    w ςετέʔε਺ʢ੒ޭɺࣦഊʣɺίʔυΧόϨοδ
    w όά܏޲
    29

    View full-size slide

  30. σʔλͷՄࢹԽʢྫʣ
    +*3"͕ด͡ΒΕΔ·Ͱͷ࣌ؒʢฏۉ஋தԝ஋
    (JU)VCͷ13͕ด͡ΒΕΔ·Ͱͷ࣌ؒʢฏۉ஋தԝ஋

    ௐࠪ࣌ؒ(JU)VCͷ13͕ด͡ΒΕΔ·Ͱͷ࣌ؒಈ࡞֬ೝЋʢ଴ͪ࣌ؒʣ+*3"͕ด͡ΕΔ·Ͱͷ࣌ؒ
    όά͕मਖ਼͞ΕΔ·Ͱʹ͔͔Δ࣌ؒͷৄࡉΛνΣοΫ͠Ͳ͜ʹ͕͔͔͍࣌ؒͬͯΔ͔ΛՄࢹԽ͢Δ

    View full-size slide

  31. σʔλͷՄࢹԽͱվળ׆ಈ
    31
    ࣗಈςετͷ࣮ߦ࣌ؒʢ13୯Ґʣ ࣗಈςετͷ݁Ռʢ̍ɿ੒ޭɺ̎ɿࣦഊɺ̏ɿ"CPSUʣ
    ࣄ৅ɿ࣮ߦ͕࣌ؒଟগ͔͔͍ͬͯΔ
    ݪҼɿ#JUSJTFͰͷTFUVQॲཧͰ͋Δఔ౓͔͔͍ͬͯΔ
    ରॲɿTFUVQॲཧͷݟ௚͠ʢ࡟ݮʣ
    ࣄ৅ɿࣦഊ͍ͯ͠Δέʔε͕Ұఆ͋Δ
    ݪҼɿ̍౓ࣦഊ͢Δͱ์ஔ͞ΕΔέʔε͕͋Δ
    ରॲɿࣦഊ࣌ʹ͓͚Δ௨஌ઌͷมߋ
    ˍ࠷ۙɺ#SBODIQSPUFDUJPOSVMFTΛಋೖ
    ʢཁվྑʣ$*$%αʔϏεͷৄࡉͳ݁Ռ͕ඞཁ

    View full-size slide

  32. ͓ΘΓʹ
    w ϓϩδΣΫτͷ։ൃͷ࣏҆ࢦ਺ΛՄࢹԽʹΉ͚͍ͯΖ͍Ζͱ͓͜ͳ
    ͍·ͨ͠
    w ݱࡏͷʮ৘ใʯͰ଍Γ͍ͯΔΘ͚Ͱ͸ͳ͘ɺ৘ใ͸΋ͬͱඞཁ
    w ࠓ͸ʮόάͷมߋࣦഊ཰ʯʮύϑΥʔϚϯεܭଌ݁Ռʯ΋σʔλΛऔͬ
    ͍ͯ·͢
    w ಛఆϓϩδΣΫτ͚ͩͰͳ͘ɺଞϓϩδΣΫτͷൺֱ΋ॏཁ
    w ൺֱ͢Δ͜ͱͰݟ͑Δ΋ͷ΋ଟ͍͸ͣ
    32

    View full-size slide