research methods in human computer interaction shahnewaz a. jolly instructor: dr. saul greenberg...

28
Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Upload: cleopatra-york

Post on 17-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Research Methods in Human Computer Interaction

Shahnewaz A. JollyInstructor: Dr. Saul Greenberg

30th November, 2009

1

Page 2: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Introduction

Background and Motivation

Focus

Planning the study

Conducting the study

Analysis and Findings

Problems and Limitations

Conclusion and Future Work

2

Page 3: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Open source IDE

Java

C/C++, Python, Perl, PHP

3

Page 4: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Changing program structure

Categories

◦ Changing name and physical location of coding

◦ Changing local organization of coding at class

level

◦ Changing coding within a class

4

Page 5: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

5

High-impact refactoring based on architecture violations [Bourqun07]

Aligning development tools with the way programmers think about code changes [Boshernitsan07]

Breaking the barriers to successful refactoring: Observations and tools for extract method [Murphy-Hill08]

Gathering Refactoring Data: a Comparison of Four Methods [Murphy-Hill08]

How We Refactor, and How We Know [Murphy-Hill09]

Page 6: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Why RENAME is used most

Why programmers prefer doing refatoring manually

6

Page 7: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Refactoring

◦ Changing name and physical location of coding

◦ Changing coding within a class

Documentation

7

Page 8: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Designing Tasks

◦ Renaming method

◦ Moving class

◦ Changing parameters

◦ Deleting method

◦ Including factory method

◦ Extracting class

◦ Having set and get method

8

Page 9: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Setting Procedure and Time

Contacting Users

◦ Minimum 2 months experience

◦ 90 minutes for the study

9

Page 10: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Planning Equipment

10

Source: www.dailyefl.comSource: www.cclonline.com Source: av.watch.impress.co.jpSource: ecx.images-amazon.com

Page 11: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Informal Introduction

Focus, Procedure and Duration

Right of the Participants

Permission for Equipments

Consent form

11

Source: jobsearchingblog.com

Page 12: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Pre-test questions

Tasks

During-test questions

Break time

Post-test questions

12

Source: lh5.ggpht.com

Page 13: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Just right-click doesn’t work

13

Figure: Available options after right click on the method name

Page 14: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

14

Figure: Available options after selecting the whole method name

Page 15: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

15

Figure: Available options from menu

Page 16: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Option names are not clear enough

16

Figure: The option name doesn’t represent delete function

Page 17: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Example and Screenshots are not provided

Search option is not good

17

Page 18: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

18

Figure: List of information after searching by ‘delete method’

Page 19: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Performance of the participants

19

Figure: Average task time of the participants in minutes

Page 20: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Getting proper answer

20

P1 P2 P3 P4

Taken Time (Minute)

6:11 10:50 11:25 6:17

Number of Errors 2 5 4 4

Opinion Easy Easy Doable with effort

Doable with effort

Table: Performance on Task 1

Page 21: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Reluctance in using documentation

Reluctance in giving up tasks

21

Source: www.fred.org

Page 22: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Getting users

Denial of users

Task design

Thinking aloud

22

Source: www.chesskids.com

Page 23: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Other option is available

Users don’t rely on refactoring

Documentation is not helpful

23

Page 24: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

Working in a group

Modifying tasks

24

Source: xianrenaud.typepad.com

Page 25: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

[1] F. Bourqun and R. K. Keller. High-impact refactoring based on architecture violations. In CSMR ’07: Proceedings of the 11th European Conference on Software Maintenance and ReEngineering, pages 149–158, Washington, DC, USA, 2007. IEEE Computer Society

[2] M. Boshernitsan, S. L. Graham, and M. A. Hearst. Aligning development tools with the way programmers think about code changes. In CHI ’07: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pages 567–576, New York, 2007. ACM

[3] E. Murphy-Hill and A.P. Black. Breaking the barriers to successful refactoring: Observations and tools for extract method. In ICSE ’08: Proceedings of the International Conference on Software Engineering, pages 421–430, 2008

[4] E. Murphy-Hill, A. P. Black , D.Dig, C. Parnin Gathering Refactoring Data: a Comparison of Four Methods, Proceedings of the 2nd Workshop on Refactoring Tools, New York, NY, USA, 2008, ACM

[5] E. Murphy-Hill, C. Parnin and A. P. Black How We Refactor, and How We Know It – 31st International Conference on Software Engineering, pages 287-297, Washington, DC, USA, 2009. IEEE Computer Society

25

Page 26: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

[6] http://en.wikipedia.org, Wikipedia, the free encyclopedia

[7] http://www.eclipse.org, Eclipse.org home

[8] http://www.ibm.com, IBM – United States

26

Page 27: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

27

Page 28: Research Methods in Human Computer Interaction Shahnewaz A. Jolly Instructor: Dr. Saul Greenberg 30th November, 2009 1

28