http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Overview
FAQ
License
Download
Install
Demo

In the news

Tools and Apps
Browser
Rasterizer
Font Converter
Pretty-printer

Architecture
Generator
DOM API
Scripting
JSVGCanvas
Transcoder API

Extensions

Testing

Contributors
Mail Lists

CVS Repository
Bug Database

Status

Glossary


Introduction

This page provides information about Batik's implementation status. The first section provides numbers about the SVG code: source files, lines of code, binary size, etc... The second section gives the status of the Batik viewing component with regards to the Scalable Vector Graphics Basic Effectivity test suite, commonly refered to as the SVG BE Test suite.


Batik numbers

The following numbers are as of November 7th 2001

Modules Binary size

Java API, AWT and Swing Extensions (batik-awt-util.jar, org.apache.batik.ext.awt and org.apache.batik.ext.swing)  474,644 
Bridge module (batik-bridge.jar, org.apache.batik.bridge)  296,397 
SVG DOM support (batik-svg-dom.jar, org.apache.batik.dom.svg org.apache.batik.css.svg)  281,565 
SVG Generator (includes SVG font converter)  280,599 
CSS 2 support (batik-css.jar, org.apache.batik.css)  197,540 
GVT (batik-gvt.jar, org.apache.batik.gvt)  172,415 
User interface utilities (batik-gui-util.jar, org.apache.batik.dom)  186,958 
W3C and XML APIs (batik-ext.jar, org.w3c and org.ext)  141,699 
Transcoder module (batik-transcoder.jar, org.apache.batik.transcoder)  101,346 
Utilities (batik-util.jar, org.apache.batik.util and org.apache.batik.i18n)  73,569 
Micro Parsers (batik-parser.jar, org.apache.batik.parser)  61,308 
XML Parsing utilities (batik-xml.jar, org.apache.batik.xml)  28,877 
Sample extensions (batik-extensions.jar, org.apache.batik.extension)  27,487 
Scripting engines infrastructure (batik-script.jar, org.apache.batik.script)  16,469 

External packages

ECMA Script Engine (js.jar)  483,294 
Parser (crimson-parser.jar)  74,901 

Lines of code

The following numbers include comments and empty lines. To check the numbers: find . -name '*.java' | xargs cat | wc -l.

Number of source lines overall  227824 (100%) 
Number of source lines, W3C DOM Binding  8497 (3.7%) (org.xml) 12426 (5.4%) (org.w3c) 
Number of Batik specific source lines  206901 (90.1%) 

Source Files

Number of source files overall  1410 (100%) 
Number of source files, W3C DOM Binding  278 (19.7%) 
Number of Batik specific source files  1132 (80.3%) 

SVG Basic Effectivity Test Suite

The SVG BE Test suite is developed by the W3C SVG working group to allow implementation to check their level of conformance with the SVG specification. In that spirit, the table below shows how much of the test suite the SVG Viewer included in the Batik distribution passes.

There are two sections: the first one shows the tests Batik passes and the second shows the tests that Batik does not pass (althought it will eventually). Each section lists static and dynamic SVG tests separately.

Static ratings : passed: 93, not passed: 0 (Total: 93/93)

Dynamic ratings : passed: 5, not passed 28 (Total: 5/33)

Note that the Batik tests go beyond the SVG Working Group BE test suite and that the Batik test suite infrastructure contains several hundreds of tests in addition to the BE test suite.


Tests Passed by Batik
Static
color-datatypes-BE-01.svg 
color-property-BE-02.svg 
color-colorProf-BE-03.svg 
coords-transforms-BE-02.svg 
coords-units-BE-01.svg 
coords-unitsProc-BE-05.svg 
coords-viewBox-BE-03.svg 
filters-convolve-BE-06.svg 
filters-diffuseLt-BE-07.svg 
filters-lights-BE-09.svg 
filters-many-BE-01.svg 
filters-specularLt-BE-08.svg 
filters-blend-BE-02.svg 
filters-blur-BE-12.svg 
filters-dispMap-BE-16.svg 
filters-feImage-BE-13.svg 
filters-feTile-BE-14.svg 
filters-fldMrgOff-BE-15.svg 
filters-morph-BE-10.svg 
filters-transfer-BE-04.svg 
filters-turb-BE-11.svg 
filters-colorMtrx-BE-03.svg 
filters-composite-BE-05.svg 
masking-mask-BE-05.svg 
masking-mask-BE-06.svg 
masking-property-BE-07.svg 
gradPatt-linearGr-BE-01.svg 
gradPatt-linearGr-BE-02.svg 
gradPatt-linearGr-BE-03.svg 
gradPatt-pattern-BE-07.svg 
gradPatt-radialGr-BE-04.svg 
gradPatt-radialGr-BE-04.svg 
gradPatt-referenc-BE-08.svg 
gradPatt-stop-BE-06.svg 
gradPatt-stop-BE-10.svg 
gradPatt-transfrm-BE-09.svg 
masking-clipPath-BE-01.svg 
masking-clipPath-BE-02.svg 
masking-clipPath-BE-08.svg 
masking-clipRule-BE-03.svg 
masking-groupOpac-BE-04.svg 
masking-vportClip-BE-09.svg 
paint-colIntProp-BE-05.svg 
paint-inherit-BE-06.svg 
paint-stroke-BE-02.svg 
paint-fill-BE-01.svg 
paint-markers-BE-03.svg 
paint-markers-BE-04.svg 
path-curves-BE-02.svg 
path-curves-BE-03.svg 
path-curves-BE-04.svg 
path-lines-BE-01.svg 
rendering-orderGr-BE-01.svg 
rendering-shape-BE-03.svg 
rendering-text-BE-02.svg 
shapes-circle-BE-03.svg 
shapes-ellipse-BE-02.svg 
shapes-line-BE-04.svg 
shapes-polygon-BE-05.svg 
shapes-polyline-BE-06.svg 
shapes-rect-BE-01.svg 
structure-allElem-BE-09.svg 
structure-basicG-BE-03.svg 
structure-defs-BE-04.svg 
structure-empty-BE-01.svg 
structure-extRef-BE-10.svg 
structure-image-BE-06.svg 
structure-lang-BE-08.svg 
structure-nested-BE-02.svg 
structure-switch-BE-07.svg 
structure-symbol-BE-05.svg 
style-selector-BE-01.svg 
style-selector-BE-02.svg 
style-selector-BE-03.svg 
text-text-BE-01.svg 
text-tspan-BE-02.svg 
text-textOnPath-BE-03.svg 
text-tref-BE-04.svg 
text-textAnchor-BE-05.svg 
text-whiteSpace-BE-06.svg 
text-altGlyph-BE-07.svg 
text-i18n-BE-09.svg 
text-alignment-BE-10.svg 
text-alignment-BE-11.svg 
text-selection-BE-13.svg 
text-spacing-BE-14.svg 
text-font-BE-15.svg 
text-font-BE-16.svg 
text-textLength-BE-17.svg 
text-extTref-BE-18.svg 
fonts-fontElement-BE-01.svg 
metadata-sample-BE-01.svg 
text-decoration-BE-12.svg 

Dynamic
linking-outBound-BE-01.svg 
linking-xlinkAttr-BE-02.svg 
linking-inBound-BE-03.svg 
linking-view-BE-04.svg 
linking-view-BE-05.svg 


Tests Not Passed by Batik
Static

Dynamic
extend-multiNS-BE-01.svg 
animation-add-BE-09.svg 
animation-href-BE-02.svg 
animation-inherit-BE-10.svg 
animation-motion-BE-11.svg 
animation-motion-BE-12.svg 
animation-overall-BE-01.svg 
animation-targAtt-BE-04.svg 
animation-targElt-BE-03.svg 
animation-timing-BE-05.svg 
animation-values-BE-06.svg 
animation-values-BE-07.svg 
animation-values-BE-08.svg 
dom-core-BE-01.svg 
dom-eventListener-BE-04.svg 
dom-featureString-BE-03.svg 
dom-svg-BE-02.svg 
interact-bubble-BE-04-targ.svg 
interact-bubble-BE-04.svg 
interact-cursor-BE-08.svg 
interact-onload-BE-07.svg 
interact-pEvents-BE-05.svg 
interact-pEvents-BE-06.svg 
interact-zoomPan-BE-01.svg 
interact-zoomPan-BE-02.svg 
interact-zoomPan-BE-03.svg 
script-eventDom-BE-01.svg 
script-uiEvents-BE-02.svg 



Copyright © 2000-2001 The Apache Software Foundation. All Rights Reserved.