Measuring LibreOffice Interoperability Dushyant Bhalgami - - PowerPoint PPT Presentation

measuring libreoffice interoperability
SMART_READER_LITE
LIVE PREVIEW

Measuring LibreOffice Interoperability Dushyant Bhalgami - - PowerPoint PPT Presentation

Measuring LibreOffice Interoperability Dushyant Bhalgami LibreOffice Conference 2014, Bern dushyant.bhalgami@synerzip.com www.synerzip.com About Me Q A A r c h i t e c t a t S y n e r z i p , P u n e , I n d i a Member of TDF 7 Years


slide-1
SLIDE 1

Measuring LibreOffice Interoperability

www.synerzip.com

Dushyant Bhalgami LibreOffice Conference 2014, Bern dushyant.bhalgami@synerzip.com

slide-2
SLIDE 2

About Me

  • QA Architect at Synerzip, Pune, India
  • Member of TDF
  • 7 Years of Experience in Automation Testing; with 2 Years in

dealing with OOXML format

  • Email: dushyant.bhalgami@synerzip.com
  • IRC: #libreoffice-qa: dushyant
slide-3
SLIDE 3

Topics

  • Visual Comparison
  • Methodologies
  • Challenges
  • Non-Visual Comparison
  • Methodologies
  • XML Level Comparison (FCT – Feature Comparison Tool)
  • Data Level Comparison
  • Plain Text Analysis
  • Non-Visual Comparison Approach for Calc & Impress
  • Challenges
  • Test with Light Editing
slide-4
SLIDE 4

Visual Comparison Process

Sample Merge Image

slide-5
SLIDE 5

Visual Comparison – Analysis #1

File Match Analysis for Real World Files

slide-6
SLIDE 6

Visual Comparison - Analysis #2

Page Level Analysis for Real World Files

slide-7
SLIDE 7

Visual Comparison - Analysis #3

Improvements in Crash/Corrupt for Real World Files

slide-8
SLIDE 8

Real World Fixed 440 files

Visual Comparison – Gross Improvement

slide-9
SLIDE 9

Challenges in Visual Comparison Process

  • Same visual comparison methods can be used for each office file

formats, with constraint per file type:

  • Document: Demarcation of content in form of 'Page' is difficult as the contents are in

free flow format, logical break is depends on the application

  • Spreadsheet: WorkBook is having multiple WorkSheets; and WorkSheet comprises data

and pictorial data like Images

  • 'ImageMagick' compares the images pixel by pixel; hence a slight shift

in the pixel can lead to the wrong results.

  • Visual Comparison is not foolproof and is depends on following

parameters

  • Version of MS Office including Service Pack, Updates
  • Rendering Technique of native OS
slide-10
SLIDE 10

Non-Visual Comparison Process

  • FCT (Feature Comparison Tool)
  • Writer Comparison Engine
  • Calc Comparison Engine
  • Impress Comparison Engine
slide-11
SLIDE 11

FCT – Feature Comparison Tool

XPath, the XML Path Language, is a query language for selecting nodes from an XML document.

slide-12
SLIDE 12

Writer Comparison Engine

slide-13
SLIDE 13

Calc Comparison Engine

slide-14
SLIDE 14

Impress Comparison Engine

slide-15
SLIDE 15

Challenges in Non-Visual Comparison

  • FCT (Feature Comparison Tool)
  • FCT is not able to ensure that whether the feature is preserved as it was in the
  • riginal file after Roundtrip or not
  • Writer Comparison Engine
  • This tool might give flase result, for example it might be possible that some white

space are not preserved after Roundtrip

  • Calc Comparison Engine
  • This tool will be used to determine the correctness of individual Image/Shape/Chart

but this tool can't make sure that their position has been preserved or not after roundtrip

  • Impress Comparison Engine
  • This tool will be used to determine the correctness of individual Image/Shape/Chart

but this tool can't guarantee that layer wise properties have been preserved after roundtrip or not

slide-16
SLIDE 16

Light Editing + Crash / Corruption Finder

slide-17
SLIDE 17
slide-18
SLIDE 18