skip to main content
10.1145/3180155.3180262acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Automated repair of mobile friendly problems in web pages

Published:27 May 2018Publication History

ABSTRACT

Mobile devices have become a primary means of accessing the Internet. Unfortunately, many websites are not designed to be mobile friendly. This results in problems such as unreadable text, cluttered navigation, and content overflowing a device's viewport; all of which can lead to a frustrating and poor user experience. Existing techniques are limited in helping developers repair these mobile friendly problems. To address this limitation of prior work, we designed a novel automated approach for repairing mobile friendly problems in web pages. Our empirical evaluation showed that our approach was able to successfully resolve mobile friendly problems in 95% of the evaluation subjects. In a user study, participants preferred our repaired versions of the subjects and also considered the repaired pages to be more readable than the originals.

References

  1. StackOverflow Search --- Mobile Friendly Problems with Bootstrap. Retrieved Aug 2017 from https://stackoverflow.com/search?q=bootstrap+mobile+problemGoogle ScholarGoogle Scholar
  2. Abdulmajeed Alameer, Sonal Mahajan, and William G.J. Halfond. 2016. Detecting and Localizing Internationalization Presentation Failures in Web Applications. In Proceeding of the 9th IEEE International Conference on Software Testing, Verification, and Validation (ICST).Google ScholarGoogle Scholar
  3. Alexa. 2017. Alexa Top 50 Websites by Category. Retrieved Aug 2017 from https://www.alexa.com/topsites/categoryGoogle ScholarGoogle Scholar
  4. Bing. 2017. Bing Mobile Friendly Test Tool. Retrieved Aug 2017 from https://www.bing.com/webmaster/tools/mobile-friendlinessGoogle ScholarGoogle Scholar
  5. bMobilized. 2017. bMobilized Website. Retrieved Aug 2017 from http://bmobilized.com/Google ScholarGoogle Scholar
  6. Browserstack. 2017. BrowserStack for Testing Mobile Websites. Retrieved Aug 2017 from https://www.browserstack.com/Google ScholarGoogle Scholar
  7. Deng Cai, Shipeng Yu, Ji-Rong Wen, and Wei-Ying Ma. 2003. VIPS: a Vision-based Page Segmentation Algorithm. Technical Report.Google ScholarGoogle Scholar
  8. Deepayan Chakrabarti, Ravi Kumar, and Kunal Punera. 2008. A Graph-theoretic Approach to Webpage Segmentation. In Proceedings of the 17th International Conference on World Wide Web (WWW '08). Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Shauvik Roy Choudhary, Mukul R. Prasad, and Alessandro Orso. 2012. Cross-Check: Combining Crawling and Differencing to Better Detect Cross-browser Incompatibilities in Web Applications. In Proceedings of the IEEE Fifth International Conference on Software Testing, Verification and Validation (ICST). IEEE Computer Society, Washington, DC, USA, 171--180. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Chrome. 2017. Chrome Reader Mode. Retrieved Aug 2017 from https://github.com/chromium/dom-distillerGoogle ScholarGoogle Scholar
  11. Duda. 2017. Duda Website. Retrieved Aug 2017 from https://www.dudamobile.com/Google ScholarGoogle Scholar
  12. eMarketer. 2017. Estimates for Digital Users. Retrieved Aug 2017 from https://www.emarketer.com/Article/eMarketer-Releases-Updated-Estimates-US-Digital-Users/1015275Google ScholarGoogle Scholar
  13. Firefox. 2017. Firefox Reader Mode. Retrieved Aug 2017 from https://support.mozilla.org/en-US/kb/firefox-reader-view-clutter-free-web-pagesGoogle ScholarGoogle Scholar
  14. Google. 2017. Google Mobile Friendly Problem Types. Retrieved Aug 2017 from https://support.google.com/webmasters/answer/6352293Google ScholarGoogle Scholar
  15. Google. 2017. Google Mobile Friendly Test Tool. Retrieved Aug 2017 from https://search.google.com/test/mobile-friendlyGoogle ScholarGoogle Scholar
  16. Google. 2017. Google PageSpeed Insights Tool. Retrieved Aug 2017 from https://developers.google.com/speed/pagespeed/insights/Google ScholarGoogle Scholar
  17. Google. 2017. Google Search Ranking based on Mobile Friendliness. Retrieved Aug 2017 from https://support.google.com/adsense/answer/6196932?hl=enGoogle ScholarGoogle Scholar
  18. Google. 2017. Google Study for Mobile Usage. Retrieved Aug 2017 from https://developers.google.com/search/mobile-sites/Google ScholarGoogle Scholar
  19. Google. 2018. Consumer Study. Retrieved Feb 2018 from https://www.consumerbarometer.com/en/insights/?countryCode=USGoogle ScholarGoogle Scholar
  20. Google. 2018. Content Sizing. Retrieved Feb 2018 from https://developers.google.com/web/fundamentals/design-and-ux/responsive/Google ScholarGoogle Scholar
  21. Sonal Mahajan. 2017. MF<scp>ix</scp> Project. Retrieved Aug 2017 from https://github.com/USC-SQL/mfixGoogle ScholarGoogle Scholar
  22. Sonal Mahajan, Abdulmajeed Alameer, Phil McMinn, and William G.J. Halfond. 2017. Automated Repair of Layout Cross Browser Issues using Search-Based Techniques. In Proceedings of the 26th International Symposium on Software Testing and Analysis (ISSTA). Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Sonal Mahajan, Abdulmajeed Alameer, Phil McMinn, and William G.J. Halfond. 2017. XFix: Automated Tool for Repair of Layout Cross Browser Issues. In Proceedings of the 26th International Symposium on Software Testing and Analysis (ISSTA) - Tool Track. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Sonal Mahajan and William G. J. Halfond. 2014. Finding HTML Presentation Failures Using Image Comparison Techniques. In Proceedings of the 29th IEEE/ACM International Conference on Automated Software Engineering (ASE) - New Ideas track. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Sonal Mahajan and William G. J. Halfond. 2015. Detection and Localization of HTML Presentation Failures Using Computer Vision-Based Techniques. In Proceedings of the 8th IEEE International Conference on Software Testing, Verification and Validation (ICST).Google ScholarGoogle Scholar
  26. Sonal Mahajan and William G. J. Halfond. 2015. WebSee: A Tool for Debugging HTML Presentation Failures. In Proceedings of the 8th IEEE International Conference on Software Testing, Verification and Validation (ICST) - Tool track.Google ScholarGoogle Scholar
  27. Sonal Mahajan, Bailan Li, Pooyan Behnamghader, and William G. J. Halfond. 2016. Using Visual Symptoms for Debugging Presentation Failures in Web Applications. In Proceedings of the 9th IEEE International Conference on Software Testing, Verification and Validation (ICST).Google ScholarGoogle Scholar
  28. Sonal Mahajan, Bailan Li, and William G. J. Halfond. 2014. Root Cause Analysis for HTML Presentation Failures Using Search-based Techniques. In Proceedings of the 7th International Workshop on Search-Based Software Testing (SBST). Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Mobify. 2017. Mobify Website. Retrieved Aug 2017 from https://www.mobify.com/Google ScholarGoogle Scholar
  30. Mobilifyit. 2017. Mobilifyit Website. Retrieved Aug 2017 from http://www.mobilifyit.com/Google ScholarGoogle Scholar
  31. Hung Viet Nguyen, Hoan Anh Nguyen, Tung Thanh Nguyen, and Tien N.Nguyen. 2011. Auto-locating and Fix-propagating for HTML Validation Errors to PHP Server-side Code. In Proceedings of the 2011 26th IEEE/ACM International Conference on Automated Software Engineering (ASE). IEEE Computer Society, Washington, DC, USA, 13--22. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Pavel Panchekha and Emina Torlak. 2016. Automated Reasoning for Web Page Layout. In Proceedings of the ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA). Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Richard Romero and Adam Berger. 2004. Automatic Partitioning of Web Pages Using Clustering. In Proceedings of Mobile Human-Computer Interaction - MobileHCI 2004: 6th International Symposium.Google ScholarGoogle ScholarCross RefCross Ref
  34. Shauvik Roy Choudhary, Mukul R. Prasad, and Alessandro Orso. 2013. X-PERT: Accurate Identification of Cross-browser Issues in Web Applications. In Proceedings of the 2013 International Conference on Software Engineering (ICSE). 702--711. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Shauvik Roy Choudhary, Husayn Versee, and Alessandro Orso. 2010. WEBDIFF: Automated Identification of Cross-browser Issues in Web Applications. In Proceedings of the IEEE International Conference on Software Maintenance (ICSM). 1--10. Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Safari. 2017. Safari Reader Mode. Retrieved Aug 2017 from https://en.wikipedia.org/wiki/Safari_(web_browser)Google ScholarGoogle Scholar
  37. Hesam Samimi, Max Schäfer, Shay Artzi, Todd Millstein, Frank Tip, and Laurie Hendren. 2012. Automated Repair of HTML Generation Errors in PHP Applications Using String Constraint Solving. In Proceedings of the International Conference on Software Engineering (ICSE). 277--287. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. AndrÃl's Sanoja and StÃiphane GanÃğarski. 2014. Block-o-Matic: A web page segmentation framework. In Proceedings of the International Conference on Multimedia Computing and Systems (ICMCS).Google ScholarGoogle ScholarCross RefCross Ref
  39. SauceLabs. 2017. SauceLabs for Testing Mobile Websites. Retrieved Aug 2017 from https://saucelabs.com/Google ScholarGoogle Scholar
  40. Statcounter. 2017. Mobile Market Share. Retrieved Aug 2017 from http://gs.statcounter.com/platform-market-share/desktop-mobile/worldwide/#monthly-201407-201707Google ScholarGoogle Scholar
  41. Michael Tamm. 2009. Fighting layout bugs. https://code.google.com/p/fighting-layout-bugs/.Google ScholarGoogle Scholar
  42. Thomas Walsh, Gregory Kapfhammer, and Phil McMinn. 2017. Automated Layout Failure Detection for Responsive Web Pages without an Explicit Oracle. In Proceedings of the 26th International Symposium on Software Testing and Analysis (ISSTA). Google ScholarGoogle ScholarDigital LibraryDigital Library
  43. Thomas A. Walsh, Phil McMinn, and Gregory M. Kapfhammer. 2015. Automatic Detection of Potential Layout Faults Following Changes to Responsive Web Pages. In International Conference on Automated Software Engineering (ASE). ACM, 709--714.Google ScholarGoogle Scholar
  44. Xiaoyin Wang, Lu Zhang, Tao Xie, Hong Mei, and Jiasu Sun. 2010. Locating Need-to-Translate Constant Strings in Web Applications. In Proceedings of the Eighteenth ACM SIGSOFT International Symposium on Foundations of Software Engineering (FSE '10). Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. Xiaoyin Wang, Lu Zhang, Tao Xie, Yingfei Xiong, and Hong Mei. 2012. Automating Presentation Changes in Dynamic Web Applications via Collaborative Hybrid Analysis. In Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering (FSE). ACM, New York, NY, USA, 16:1--16:11. Google ScholarGoogle ScholarDigital LibraryDigital Library
  46. WompMobile. 2017. WompMobile Website. Retrieved Aug 2017 from http://www.wompmobile.com/Google ScholarGoogle Scholar

Index Terms

  1. Automated repair of mobile friendly problems in web pages

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ICSE '18: Proceedings of the 40th International Conference on Software Engineering
      May 2018
      1307 pages
      ISBN:9781450356381
      DOI:10.1145/3180155
      • Conference Chair:
      • Michel Chaudron,
      • General Chair:
      • Ivica Crnkovic,
      • Program Chairs:
      • Marsha Chechik,
      • Mark Harman

      Copyright © 2018 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 27 May 2018

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate276of1,856submissions,15%

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader