skip to main content
Ngôn ngữ:
Giới hạn tìm kiếm: Giới hạn tìm kiếm: Dạng tài nguyên Hiển thị kết quả với: Hiển thị kết quả với: Chỉ mục

Automatic detection of GUI design smells: the case of Blob listener

Lelli, Valéria ; Blouin, Arnaud ; Baudry, Benoit ; Coulon, Fabien ; Beaudoux, Olivier

Proceedings of the 8th ACM SIGCHI Symposium on engineering interactive computing systems, 21 June 2016, pp.263-274

ISBN: 9781450343220 ; ISBN: 1450343228 ; DOI: 10.1145/2933242.2933260

Toàn văn không sẵn có

Trích dẫn Trích dẫn bởi
  • Nhan đề:
    Automatic detection of GUI design smells: the case of Blob listener
  • Tác giả: Lelli, Valéria ; Blouin, Arnaud ; Baudry, Benoit ; Coulon, Fabien ; Beaudoux, Olivier
  • Chủ đề: Code Quality ; Design Smell ; Software Validation ; User Interface
  • Là 1 phần của: Proceedings of the 8th ACM SIGCHI Symposium on engineering interactive computing systems, 21 June 2016, pp.263-274
  • Mô tả: Graphical User Interfaces (GUIs) intensively rely on event-driven programming: widgets send GUI events, which capture users' interactions, to dedicated objects called controllers. Controllers implement several GUI listeners that handle these events to produce GUI commands. In this work, we conducted an empirical study on 13 large Java Swing open-source software systems. We study to what extent the number of GUI commands that a GUI listener can produce has an impact on the change- and fault-proneness of the GUI listener code. We identify a new type of design smell, called Blob listener that characterizes GUI listeners that can produce more than two GUI commands. We show that 21% of the analyzed GUI controllers are Blob listeners. We propose a systematic static code analysis procedure that searches for Blob listener that we implement in InspectorGuidget. We conducted experiments on six software systems for which we manually identified 37 instances of Blob listener. InspectorGuidget successfully detected 36 Blob listeners out of 37. The results exhibit a precision of 97.37% and a recall of 97.59%. Finally, we propose coding practices to avoid the use of Blob listeners.
  • Ngôn ngữ: English
  • Số nhận dạng: ISBN: 9781450343220 ; ISBN: 1450343228 ; DOI: 10.1145/2933242.2933260

Đang tìm Cơ sở dữ liệu bên ngoài...