Detecting and Localizing Internationalization

Slides:



Advertisements
Similar presentations
Spelling Correction for Search Engine Queries Bruno Martins, Mario J. Silva In Proceedings of EsTAL-04, España for Natural Language Processing Presenter:
Advertisements

School of Computer Science and Engineering Finding Top k Most Influential Spatial Facilities over Uncertain Objects Liming Zhan Ying Zhang Wenjie Zhang.
Automatically Annotating and Integrating Spatial Datasets Chieng-Chien Chen, Snehal Thakkar, Crail Knoblock, Cyrus Shahabi Department of Computer Science.
X-PERT: Accurate Identification of Cross-Browser Issues in Web Applications Shauvik Roy Choudhary, Mukul Prasad, Alessandro Orso Labs of America Partially.
Finding Presentation Failures Using Image Comparison Techniques Sonal Mahajan and William G.J. Halfond Department of Computer Science University of Southern.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
On Experimental Research in Sampling-based Motion Planning Roland Geraerts Workshop on Benchmarks in Robotics Research IROS 2006.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Computing Trust in Social Networks
PaperScope: Visually Exploring the ADS Mark Holliman VOTECH Web Developer University of Edinburgh ADASS XVII, London,
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
(C) 2013 Logrus International Practical Visualization of ITS 2.0 Categories for Real World Localization Process Part of the Multilingual Web-LT Program.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Web Information Retrieval Projects Ida Mele. Rules Students can work in teams (max 3 people) The project must be delivered by the deadline that will be.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Root Cause Analysis for HTML Presentation Failures using Search-Based Techniques Sonal Mahajan, Bailan Li, William G.J. Halfond Department of Computer.
Open Solutions for a Changing World™ Copyright 2005, Data Access WordwideElectos June 6-9, 2005 Key Biscayne, Florida Data Access Europe BV Eddy Kleinjan,
WebSee: A Tool for Debugging HTML Presentation Failures Sonal Mahajan and William G. J. Halfond Department of Computer Science University of Southern California.
Using XML technologies to implement complex tables in short- term statistics Francesco Rizzo
The Internet and the World Wide Web. The Internet A Network is a collection of computers and devices that are connected together. The Internet is a worldwide.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 8 Personal Productivity and Problem Solving.
CS 331 – Programming LanguagesDate: Internet Programming Group Presenter: Aren Ray Topics: Internet Programming XML.
Creating Web Pages Chapter 5 Learn how to… Identify Web page creation strategies. Define HTML Web page elements. Describe the principles of good screen.
Efficient Processing of Top-k Spatial Preference Queries
Deep Web Exploration Dr. Ngu, Steven Bauer, Paris Nelson REU-IR This research is funded by the NSF REU program AbstractOur Submission Technique Results.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Bug Localization with Association Rule Mining Wujie Zheng
By: Ms. Abeer Helwa 1. WORD WEB APP 2 Word Web App is a limited version of Word, enabling you to edit, format, and share documents online. Word Web App.
Cross Language Clone Analysis Team 2 February 3, 2011.
 Product Variations and User Uploads  Product and Categories are not enough  Needs to extend product information  User can customize product information.
Design Principles EDUC 6307: Design of Print Based Media Summer 2009 Ranelle Woolrich.
By: Ms. Abeer Helwa 1. WORD WEB APP 2 Word Web App is a limited version of Word, enabling you to edit, format, and share documents online. Word Web App.
Working with DIV Structures, CSS, Webfonts and Templates 9/16/2015Web Development and Interactive Media.
HTML HyperText Markup Language Victoria E. Kozlek.
Presenters: Amool Gupta Amit Sharma. MOTIVATION Basic problem that it addresses?(Why) Other techniques to solve same problem and how this one is step.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
JEOPARDY Surf’s UpYou’ve Got Mail Play on Words It’s All About the Numbers Presentation Is Everything
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
CIS-NG CASREP Information System Next Generation Shawn Baugh Amy Ramirez Amy Lee Alex Sanin Sam Avanessians.
Web technologies Session 2. Slide 2. 1 Objectives for session 2  To develop participants’ knowledge, skills and understanding of web-page design  To.
© 2004 The McGraw-Hill Companies, Inc. All rights reserved. The Advantage Series Microsoft Office Word 2003 CHAPTER 4 Printing and Web Publishing.
Advanced Database Aggregation Query Processing
Working with HTML5 & DIV Structures, CSS, Webfonts and Templates
Formatting Text with CSS
Jon Gunderson, Ph.D. University of Illinois at Urbana/Champaign
Implementing Responsive Design
Google fonts CSS box model
Keyword Search over RDF Graphs
Sonal Mahajan, Bailan Li, Pooyan Behnamghader, William G. J. Halfond
>> CSS Layouts.
Layout - you need to understand that a simple navigation bar:
Query Processing in Databases Dr. M. Gavrilova
Web Data Extraction Based on Partial Tree Alignment
Fixed Positioning.
Part of the Multilingual Web-LT Program
Test Case Purification for Improving Fault Localization
Unit# 6: ICT Applications
Lesson Objectives Aims You should know about: – Web Technologies
Secure Web Programming
What is HTML?.
Structuring Content in a Web Document
CSS Layout: Flexbox.
Title of presentation | Presentation by [Enter details in 'Header & Footer' field 18/05/2019.
Efficient Processing of Top-k Spatial Preference Queries
Donghui Zhang, Tian Xia Northeastern University
Various mobile devices
Efficient Aggregation over Objects with Extent
Web Application Development Using PHP
Presentation transcript:

Detecting and Localizing Internationalization Presentation Failures in Web Applications Abdulmajeed Alameer, Sonal Mahajan and William G. J. Halfond University of Southern California Los Angeles, California, USA Work supported by NSF Grant CCF-1528163

Translation Framework What is i18n? i18n = Internationalization En Translation Framework 中文 Request (Lang = x) हिंदी Webpage Translated Web page Response Resource Files Single item: no need for bullet point Browser Web Server

What are i18n Presentation Failures? i18n presentation failure = an undesired distortion of the page’s intended appearance after translation Success in i18n process: $45 4 stars Hotel Hotel de 4 estrellas MXN 750 Layout of baseline version Layout of translated version

What are i18n Presentation Failures? i18n presentation failure = an undesired distortion of the page’s intended appearance after translation Failure in i18n process: $45 4 stars Hotel Hotel de 4 estrellas MXN 750 Layout of baseline version Layout of translated version

Examples of i18n Presentation Failures Make red boxes wider

Examples of i18n Presentation Failures English version Make red box wider Russian version

Motivation Users make impression about the website in less than 50 ms (Google Study) Presentation of a webpage affects the users impression Test for IPFs  Manually examine each page with each language Automated solution is needed ! Grammar mistakes

Existing Techniques Cross Brower Testing WebSee Fighting Layout Bugs pseudo-localization W3C i18n Checker

Our Approach Filter and Rank Reported Issues Build Compare (Layout Graphs) Compare (Layout Graphs) Not visually appealing

Preliminaries - Layout Graph Definition LG = ( V , F ) is a complete graph V: set of nodes representing the rectangles for every Element or Text that has a visual impact in the page F: edge ↦ set of visual relationships Contains Intersects West V1 V2 say Examples of visual relationships Representing Minimum bounding rectangles.. North North, Right Aligned

Phase 1- Building the Layout Graph (LG) For each element or text in the Baseline and PUT compute the Minimum Bounding Rectangle (MBR) c1 = (x,y) Type: Element / Text Xpath: /html/body/div[1] Step 1: Then c2 = (x,y)

Phase 1- Building the Layout Graph (LG) Layout of baseline version Layout of translated version $45 4 stars Hotel MXN 750 Hotel de 4 estrellas

Phase 1- Building the Layout Graph (LG) ../div/text() ../div ../div/div ../div/div/text() ../img MBRs of baseline version ../div/div/text() ../div/text() ../div ../div/div ../img MBRs of translated version

Phase 1- Building the Layout Graph (LG) Create edges among the MBRs and annotate them Example:

Phase 1- Building the Layout Graph (LG) ../div/text() ../div ../div/div ../div/div/text() ../img Show Math

Phase 2 - Compare Layout Graphs A naive approach: compare the visual relationships for all edges Solution: for each node, compare the node’s “neighbors” which are sub graphs of nodes and edges that are spatially close to the node No need for bullet points

Phase 2 - Compare Layout Graphs Use Spatial DB K-Nearest-Neighbor Queries: ../div/text() ../div ../div/div ../div/div/text() ../img ../div/text() ../div/div ../div/div/text() ../div ../img No need for bullter point

Phase 2 - Compare Layout Graphs Baseline PUT Make them

Phase 3 - Rank and Report Issues Assign a suspiciousness score to every element: Node n score = |relations difference in n’s edges| Sort elements from highest to lowest score Report this list to the developer Numbers instead of bullet point But them together, and make font larger.

Phase 3 - Rank and Report Issues Baseline 1- ../div/div/text() 2- ../div 3- ../div/div Reported List Score = 3 Score = 6 +1 +2 PUT +1 Score = 3 +2

Empirical Evaluation RQ1: What is the accuracy of our technique in detecting failures? RQ2: If a failure is detected, what is the quality of the localization results provided by our technique? RQ3: How fast is our technique in detecting and localizing failures? Larger font size and remove white space

Experimental Protocol Implementation: “GWALI” implemented in Java Compared against: WebSee X-PERT Fighting-Layout-Bugs Subject applications: 30 contained IPFs 24 are error-free Say: Contained a wide range of IPFs Variation of languages, frameworks, complexity

RQ1 - Accuracy No need to repeat the questions Make the graph bigger..

RQ2 – Quality of Localization In 81% of test cases, the faulty elements is ranked 6 or lower

RQ3 – Analysis Time Tool GWALI WebSee X-PERT FLB Avg (s) 10 520 9 Min (s) 6 116 7 Max (s) 36 1640 17 24 Highlight GWALI column ?

Summary Technique for detecting and localizing IPFs: Use Layout Graphs to model web pages Compared Layout Graphs to detect failures Evaluation shows strong results High accuracy Good localization rank Fast

Detecting and Localizing Internationalization Thank You Detecting and Localizing Internationalization Presentation Failures in Web Applications Abdulmajeed Alameer, Sonal Mahajan and William G. J. Halfond University of Southern California Los Angeles, California, USA Work supported by NSF Grant CCF-1528163