北京航空航天大学:SimplyDroid - Efficient Event Sequence Simplification for Android Application

Automated Software Engineering (ASE E2017 Simply Droid: Efficient Event Sequence Simplification for Android application Speaker: Bo Jiang Co-authors: Yuxuan Wu*, Teng li*, W.K. Chant Beihang University cIty University of Hong Kong 北京航堂航天大學 香港城市大學 City University of Hong Kong BEIHANGUNIVERSITY HomepageofBoJianghttp://jiangbo.buaaedu.cn
SimplyDroid: Efficient Event Sequence Simplification for Android Application Speaker: Bo Jiang* Co-authors: Yuxuan Wu*, Teng Li*, W.K. Chan† *Beihang University †City University of Hong Kong 1 Homepage of Bo Jiang: http://jiangbo.buaa.edu.cn

Contents Background Motivation Design and the algorithms of Simply Droid The Overall Design Grouping Events with GUI State Hierarchy Tree The HDd algorithm The BHDD Algorithm The LhDD Algorithm )Experiments and results analysis Related Work conclusion future work
Contents 2 Background Motivation Design and the Algorithms of SimplyDroid The Overall Design Grouping Events with GUI State Hierarchy Tree The HDD Algorithm The BHDD Algorithm The LHDD Algorithm Experiments and Results Analysis Related Work Conclusion & future work

Bugs in Apps v.s. Testing Techniques A Sorry Unfortunately, Gmail has Activity Browser (in application Browser) is not responding. Force close Fuzz Testing g 园园园 GUI Traversal-based Testing 0。7 Search-based Testing A Android App is Unresponsi Unfortunately, the process android process. media has stopped Report
Bugs in Apps v.s. Testing Techniques 3 Fuzz Testing GUI Traversal-based Testing Search-based Testing …

Fuzz Testing and the problem Monkey Tools and its variants start script 《461 apt349,。,272.0,自 ap(362,162.0,0 LaunchaetuLtyi co. fack,k Tap(451 ap《43,,710.0,0 290:9 Tp(非4,。,3240,0 次:日 Failure Triggering Event Sequence is too long p(149,0,104。,0 ap(463。,35.0,0 11:6 Hard to replay and analye in debugging Tap(391,,132,0,自 1::5: Tp(1700,59 a(3,,49 Tap(253Q,4470 雪a护(122,②,5080, :出::#13:1 了p(146,0,42.0,0 Tap1280,233.0 .°3 380,。,157.0,0 11:10 T却p450.0,267,0,0 7:1 7ap(374,0,347,, Tp{422.9,543,0 7ap(95.0,310.0,0) :: ::1 Tp(438.,727,9 Tp(10,0,主,, p(47,⊙,642,。,自 Tp(3030,170,0
Fuzz Testing and the Problem 4 Monkey Tools and its Variants Failure Triggering Event Sequence is too long ! Hard to replay and analye in debugging

Fuzz Testing its Problem Monkey Tools and its variants start script 《461 apt349,。,272.0,自 .ym1急,时 ap(362,162.0,0 LaunchaetuLtyi co. fack,k Tap(451 ap(43,,7100,0 290:9 Tp(非4,0,3240,0 11::1 次:日 Failure Triggering Event Sequence is too long Tap(30740,7370, p(149,0,1044。,0 ap(463。,35.0,0 1:16 Hard to replay and analyze ep《3120,72,, 113:1:6 How to simplify the event sequence while triggering the same failure? 71:1:1::2 1+:3: 74(21:07532., 了ap(123,295,。,0 r(3 ::1 090.8 T却p450.0,267,0,0 7:1 7ap(374,0,347,, Tp{422.9,543,0 7ap(95.0,310.0,0) :: ::1 Tp(438.,727,9 Tp(10,0,主,, p(47,⊙,642,。,自 Tp(3030,170,0
Fuzz Testing & its Problem 5 Monkey Tools and its Variants Failure Triggering Event Sequence is too long ! Hard to replay and analyze… How to simplify the event sequence while triggering the same failure?

Contents Background Motivation Design and the algorithm of Simply Droid )Experiments and results analysis Related work Conclusion future work
Contents 6 Background Motivation Design and the Algorithm of SimplyDroid Experiments and Results Analysis Related work Conclusion & future work

Test Case Reduction can Help Dalvik Explorer p;, Activity EXception Dalvik Explorer Before reduction: 1525 GUI input events Build Details > (one launch app, 1524 input events) After reduction: 4 GUI input events Device Details >(one launch app event, 3 touch inputs) Environment Vanables System Properties Time Zones
Test Case Reduction can Help 7 Dalvik Explorer ActivityNotFoundException Before reduction: 1525 GUI input events (one launch app, 1524 input events) After reduction: 4 GUI input events (one launch app event, 3 touch inputs) 7

Test Case Reduction can Help Dalvik Explorer 15:270d司 Activity EXception a Time Zones (582) Before reduction: 1525 GUI input events Asia/Shanghai(default) UTc+0800 > (one launch app, 1524 input events) Africa/Abidjan After reduction: 4 GUI input events UTc+0000 >(one launch app event, 3 touch inputs) Africa/Accra UTc+0000 Africa/Addis Ababa UTc+0300 Africa/Algiers UTC+01 Africa/Asmara UTc+03:00 Africa/Asmera UTc+0300 Africa/ Bamako UTc+0000
Test Case Reduction can Help 8 Dalvik Explorer ActivityNotFoundException Before reduction: 1525 GUI input events (one launch app, 1524 input events) After reduction: 4 GUI input events (one launch app event, 3 touch inputs) 8

Test Case Reduction can Help Dalvik Explorer 21:460: Activity EXception Time Zone "Africa/Bamako Before reduction: 1525 GUI input events Long Display Name格林尼治标准时间 hort Display Name: GMT+00: 00 > (one launch app, 1524 input events) ime Here:2017020921:4604+0800( hursday me There:201702-0913:4604+0000( hursday After reduction: 4 GUI input events aw Offset: UTC+ 00: 00 (+0 minutes) urrent Offset: UTC+00: 00(+0 minut >(one launch app event, 3 touch inputs ses DST: false cet tzdata20151 oordinate+12382.0600 912-010100:16:07+00001912-01-0100:1608+0000 1830383032- Monday
Test Case Reduction can Help 9 Dalvik Explorer ActivityNotFoundException Before reduction: 1525 GUI input events (one launch app, 1524 input events) After reduction: 4 GUI input events (one launch app event, 3 touch inputs) 9

Delta Debugging and its Problem Delta Debugging(DD) by Andreas Zeller: partitions an event sequence into subsequences with equal size, and performs trial execution for reduction with increasingly finer granularity DDs View a flat structure 口口■囗国口 10
Delta Debugging and its Problem 10 Delta Debugging (DD) by Andreas Zeller : partitions an event sequence into subsequences with equal size, and performs trial execution for reduction with increasingly finer granularity. 10 DD’s View: a flat structure ……
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《计算机图形学》课程教学资源(PPT课件讲稿)第7讲 图元填充与裁剪算法.pptx
- 香港浸会大学:Introduction to Linux and PC Cluster.ppt
- 《C语言程序设计》课程教学资源(PPT课件讲稿)第8章 结构体、共用体与枚举类型.ppt
- 《计算机系统安全》课程教学资源(PPT课件讲稿)第二章 黑客常用的系统攻击方法.ppt
- 上海交通大学:《挖掘海量数据集 Mining Massive Datasets》课程教学资源(PPT讲稿)Lecture 06 搜索引擎 Search Engines.ppt
- 《Introduction to Java Programming》课程PPT教学课件(Sixth Edition)Chapter 16 Applets and Multimedia.ppt
- 《计算机组装与维护》课程教学资源(PPT课件讲稿)第9章 BIOS设置(设置BIOS).ppt
- 香港城市大学:基序检测的随机化算法(PPT讲稿)Randomized Algorithm for Motif Detection.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第七章 图及其应用.ppt
- 3D Reconstruction from Images:Image-based Street-side City Modeling.ppt
- 大连理工大学:《计算机网络》课程教学资源(PPT课件讲稿)Chapter 2 应用层 application layer.ppt
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 3 Process Description and Control 3.4 Process Control 3.5 Execution of the Operating System 3.6 Unix SVR4 Process Management 3.7 Linux Process management system calls.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第七章 图 Graph.ppt
- 《数据结构》课程教学资源:实践教学大纲.doc
- 《网络算法学》课程教学资源(PPT课件讲稿)第三章 实现原则.ppt
- 《电脑组装与维护实例教程》教学资源(PPT课件讲稿)第5章 多媒体设备介绍及选购.ppt
- 广西医科大学:《计算机网络 Computer Networking》课程教学资源(PPT课件讲稿)Chapter 02 Network Classification.pptx
- 清华大学:无线网和移动网(PPT课件讲稿)Mobile and wireless network.pptx
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第6章 Data-Level Parallelism in Vector, SIMD, and GPU Architectures.pptx
- 厦门大学:《分布式数据库》课程教学资源(PPT课件讲稿)专题一 分布式数据库介绍.ppt
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 04 Object-Based Programming.ppt
- 中国科学技术大学:Linux内核源代码导读(PPT讲稿,陈香兰).ppt
- 《网上开店实务》课程教学资源(PPT讲稿)学习情境3 网店装修.ppt
- 北京大学:《项目成本管理》课程教学资源(PPT课件讲稿)项目范围计划(主讲:周立新).ppt
- 香港中文大学:Achieving Secure and Cooperative Wireless Networks with Trust Modeling and Game Theory.ppt
- MSCIT 5210/MSCBD 5002:Knowledge Discovery and Data Mining:Chapter 4:Data Warehousing, On-line Analytical Processing and Data Cube.ppt
- 《程序设计基础》课程PPT教学课件(C++)第3讲 C++程序控制结构.ppt
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)数据库设计.ppt
- 云计算 Cloud Computing(PPT讲稿)MapReduce进阶.ppt
- 《C语言程序设计》课程电子教案(PPT课件讲稿)第7章 用函数实现模块化程序设计.pptx
- 中国科学技术大学:云计算及安全(PPT讲稿)Cloud Computing & Cloud Security.pptx
- 中国科学技术大学:《信号与图像处理基础 Signal and Image Processing》课程教学资源(PPT课件讲稿)数字图像处理基础 Basics of Digital Image Processing.pptx
- 中国科学技术大学:《信号与图像处理基础 Signal and Image Processing》课程教学资源(PPT课件讲稿)图像压缩编码 Image Compression.pptx
- 《计算机组成原理》课程教学资源(PPT课件讲稿)第3章 计算机的算术运算.pptx
- Analysis of Algorithms(PPT讲稿)Data Structures and Data Management.ppt
- 《C语言程序设计》课程电子教案(PPT课件讲稿)第七章 数组.ppt
- 《计算机网络与因特网 Computer Networks and Internets》课程教学资源(PPT课件讲稿)第二讲 互联网应用软件.ppt
- 《计算机操作系统》课程教学资源(PPT课件讲稿)第四章 存储器管理.ppt
- 《单片机应用技术》课程PPT教学课件(C语言版)第10章 单片机测控接口.ppt
- 中国科技大学计算机系:《黑客反向工程》课程教学资源(PPT课件讲稿)黑客反向工程导论(陈凯明).ppt