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

Dartにおける静的解析 / FlutterKaigi 2022

Dartにおける静的解析 / FlutterKaigi 2022

hisaichi5518

November 17, 2022
Tweet

More Decks by hisaichi5518

Other Decks in Technology

Transcript

  1. 4 ੩తղੳͬͯͳΜͩʁ ©︎ 2022 10X, Inc. l੩తίʔυղੳ ͍͖ͤͯίʔυ͔͍͖ͤɺTUBUJDDPEFBOBMZTJT ·ͨ͸੩తϓϩ άϥϜղੳ

    TUBUJDQSPHSBNBOBMZTJT ͱ͸ɺίϯϐϡʔλͷιϑτ΢ΣΞͷղੳख ๏ͷҰछͰ͋Γɺ࣮ߦϑΝΠϧΛ࣮ߦ͢Δ͜ͱͳ͘ղੳΛߦ͏͜ͱɻz Ҿ༻ݩIUUQTKBXJLJQFEJBPSHXJLJ੩తίʔυղੳ
  2. 11 ϧʔϧʹ൓͢ΔίʔυͷൃݟͱܯࠂͰಠࣗʹ΍͍ͬͯΔ͜ͱ Ұ෦ ©︎ 2022 10X, Inc. ɾ 'MVUUFS ಛఆͷ৔ॴҎ֎Ͱ*NQPSUͯ͠΄͘͠ͳ͍ϑΝΠϧΛJNQPSU͍ͯ͠Δ৔߹ʹΤϥʔ

    ɾ 'MVUUFS ࣗલͰఆ͍ٛͯ͠Δ5FYU4UZMFҎ֎Λར༻͢ΔͱΤϥʔ ɾ αʔό 'JSFTUPSFͷ*/ΫΤϦʹม਺Λࢦఆͨ͠ΒΤϥʔ ɾ αʔό ςετ࣌ʹFYQFDU-BUFS͕ඞཁͳ࣌ʹFYQFDUΛར༻͍ͯ͠ΔͱΤϥʔ ˞9͸αʔόαΠυ΋%BSUͰ͢
  3. 18 લఏEBSUBOBMZ[FͱEBSU fi Yͷ՝୊ ©︎ 2022 10X, Inc. ɾ%BSUʹ͸ɺEBSUBOBMZ[FͱEBSU fi

    Y͕͋Δ ɾ͔͠͠EBSUBOBMZ[F΍EBSU fi Yʹ͸։ൃऀ͕ಠࣗϧʔϧΛఆٛ͢Δ࢓૊Έ͕·ͩͳ͍ ɾͳͷͰɺಠࣗϧʔϧΛ࡞੒͍ͨ͠৔߹͸։ൃऀ͕EBSUBOBMZ[FͱEBSU fi Yͱಉ͡Α͏ͳ࣮૷Λ ࣗલͰ࣮૷͢Δඞཁ͕͋Δ IUUQTHJUIVCDPNEBSUMBOHMJOUFSJTTVFT
  4. 24 BOBMZ[FSQMVHJOͰ࣮૷͢Δඞཁ͕͋Δ΋ͷ ©︎ 2022 10X, Inc. ɾϧʔϧʹҧ൓͢Δ͔ݕূ͢Δ໾ "OBMZ[FS  ɾҧ൓ͨ͠ίʔυͷܯࠂ͢Δ໾

    3FQPSUFS  ɾ"OBMZ[FSͱ3FQPSUFSΛ·ͱΊΔ໾ "OBMZ[F$PNNBOE  ɾBOBMZ[FSQMVHJO͔Βݺͼग़͞Εͯ"OBMZ[F$PNNBOEΛ࣮ߦ͢Δ໾ "OBMZ[FS1MVHJO  ɾ$-*ίϚϯυ͔Βݺͼग़͞Εͯ"OBMZ[F$PNNBOEΛ࣮ߦ͢Δ໾ $MJ3VOOFS
  5. 40 ·ͱΊ ©︎ 2022 10X, Inc. ɾ੩తղੳΛ࢖͑͹ίʔυͷϧʔϧҧ൓Λݟ͚ͭͨΓमਖ਼ग़དྷͯศརʂϦ ϑΝΫλϦϯάʹ΋࢖͑Δ ɾEBSUBOBMZ[FͱEBSU fi

    Y͸ΧελϜϧʔϧ͕ར༻Ͱ͖ͳ͍ͷͰಠࣗϧʔϧ Λఆ͍ٛͨ͠ͳΒࣗલͰ࣮૷͢Δඞཁ͕͋Δ ɾϧʔϧҧ൓Λݟ͚ͭΔͨΊͷ࣮૷͸DVTUPN@MJOUΛ࢖͑͹ָʹ࣮૷Ͱ͖Δ ɾBOBMZ[FSQMVHJO͸MJOUJOH͕ࢀߟʹͳΔ͔΋ ɾίʔυͷॻ͖׵͑ͷ࣮૷͸DPEFNPEΛ࢖͑͹ָʹ࣮૷Ͱ͖Δ ɾҰؾʹ΍Δͷ͸େมͳͷͰখ࣮͘͞૷ɺ࣮ߦɺվળ͍ͯ͘͠ͷ͕ྑͦ͞ ͏