Repository logo
Log In(current)
  1. Home
  2. Works by Faculty
  3. Faculty Scholarship and Open Access Collection
  4. Automated visual classification of DOM-based presentation failure reports for responsive web pages
Details

Automated visual classification of DOM-based presentation failure reports for responsive web pages

Persistent URL
https://dspace.allegheny.edu/handle/10456/52772
Author(s)
Althomali, Ibrahim
Kapfhammer, Gregory M.
McMinn, Phil
Date Issued
February 14, 2021
Abstract
Since it is common for the users of a web page to access it through a wide variety of devices—including desktops, laptops, tablets and phones—web developers rely on responsive web design (RWD) principles and frameworks to create sites that are useful on all devices. A correctly implemented responsive web page adjusts its layout according to the viewport width of the device in use, thereby ensuring that its design suitably features the content. Since the use of complex RWD frameworks often leads to web pages with hard-to-detect responsive layout failures (RLFs), developers employ testing tools that generate reports of potential RLFs. Since testing tools for responsive web pages, like ReDeCheck, analyse a web page representation called the Document Object Model (DOM), they may inadvertently flag concerns that are not human visible, thereby requiring developers to manually confirm and classify each potential RLF as a true positive (TP), false positive (FP), or non-observable issue (NOI)—a process that is time consuming and error prone. The conference version of this paper presented Viser, a tool that automatically classified three types of RLFs reported by ReDeCheck. Since Viser was not designed to automatically confirm and classify two types of RLFs that ReDeCheck's DOM-based analysis could surface, this paper introduces Verve, a tool that automatically classifies all RLF types reported by ReDeCheck. Along with manipulating the opacity of HTML elements in a web page, as does Viser, the Verve tool also uses histogram-based image comparison to classify RLFs in web pages. Incorporating both the 25 web pages used in prior experiments and 20 new pages not previously considered, this paper's empirical study reveals that Verve's classification of all five types of RLFs frequently agrees with classifications produced manually by humans. The experiments also reveal that Verve took on average about 4 s to classify any of the RLFs among the 469 reported by ReDeCheck. Since this paper demonstrates that classifying an RLF as a TP, FP, or NOI with Verve, a publicly available tool, is less subjective and error prone than the same manual process done by a human web developer, we argue that it is well-suited for supporting the testing of complex responsive web pages.
Journal
Software: Testing, Verification and Reliability
Department
Computer Science
Citation
Althomali, I, Kapfhammer, GM, McMinn, P. Automated visual classification of DOM-based presentation failure reports for responsive web pages. Softw. Test. Verif. Reliab. 2021; 31:e1756. https://doi.org/10.1002/stvr.1756
Publisher
Wiley
Version of Article
Published article
DOI
10.1002/stvr.1756
ISSN
1099-1689
Rights
CC BY 4.0
Subjects

Automated web testing...

Automated layout fail...

Empirical studies

Responsive layout fai...

Responsive web design...

Web presentation fail...

File(s)
Thumbnail Image
Name

2021-02-14_Kapfhammer_Automated.pdf

Description
Published Article
Size

7.43 MB

Format

Adobe PDF

Checksum (MD5)

38c61291c24458e640c4b60b97d7ea7a

Thumbnail Image
Name

2021-02-14_Kapfhammer_Automated_Access_Instructions.pdf

Description
Access Instructions
Size

75.73 KB

Format

Adobe PDF

Checksum (MD5)

dc37ba503aba674ca3a027f130e51189

Allegheny Logo

814-332-4312

dspace-help@allegheny.edu

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Accessibility settings
  • Privacy policy
  • End User Agreement
  • Send Feedback
Repository logo COAR Notify