Test coverage reports based on
http://siliconforks.com/jscoverage/Coverage means that a line of code is executed at least once. This
doesn't test for each possible code path for that line; but if its
never executed at all, its very likely that its buggy.
Accordion: 63%
Missing: mouseenter, mouseleave and keydown events, animations
Core: 47%
Missing: $.ui.plugin, $.ui.contains, $.ui.hasScroll, $.ui.isOverAxis,
$.ui.isOver, $.fn.enableSelection, $.fn.disableSelection,
$.fn.scrollParent, :widget-custom-expression, method calls to _private
methods, $.widget.prototype._trigger with an event that has a
originalEvent property, all of $.ui.mouse
Datepicker: n/a, the jscoverge server crashed trying to parse
ui.datepicker-fr.js, doh
Dialog: 63%
Missing: hover, focus, blur, mousedown and click events on title bar;
calls to open() and close() with options.modal=true; hover and blur
events on buttons; most of the _position code (probably broken by my
change there); all of $.ui.dialog.overlay
Draggable: 54%
Droppable: 19% (ugh)
Position: 96% (yay)
Missing: Call position as a getter; flip collision detection with the
at-value == "center"
Progressbar: 100%!
Resizable: 58%
Selectable: 78%
Slider: 44% (ugh)
Sortable: 34% (ugh)
Tabs: 69%
Overall not too shabby, though droppable, slider and sortable really
need some attention. Resizable and draggable are also covered by
dialog - when running both dialog and resizable tests, coverage for
resizable goes up to 74%. That also means that there are too many
resizable features tested as part of dialog, instead of being in the
resizable suite.
Jörn