opendylan icon indicating copy to clipboard operation
opendylan copied to clipboard

io-test-suite code coverage holes

Open housel opened this issue 6 years ago • 0 comments

Code coverage analysis indicates that the following sections of code are never executed when executing libraries-test-suite, listed in reverse order of number of lines of code without adequate coverage.

  • pprint.dylan
  • [x] copy-maybe-overlapping-bytes
  • [x] index-posn, posn-index, posn-column
  • [x] write-element on <pretty-stream> and <character>
  • [x] write on <pretty-stream> and <string> (and append-output)
  • [x] append-raw-output
  • [x] really-start-logical-block, really-end-logical-block
  • [ ] enqueue, enqueue-newline, enqueue-indent
  • [ ] start-logical-block, end-logical-block
  • [ ] enqueue-tab, compute-tab-size
  • [x] index-column
  • [ ] expand-tabs with queued tabs
  • [ ] assure-space-in-buffer
  • [ ] maybe-output with nonempty queue
  • [ ] misering?, fits-on-line?
  • [ ] output-line, output-partial-line
  • [X] pprint-logical-block called directly on a <pretty-stream>
  • [ ] pprint-newline, pprint-indent, pprint-tab
  • buffered-stream.dylan
  • [ ] do-get-input-buffer, do-next-input-buffer on <double-buffered-stream>
  • [ ] do-get-output-buffer, do-next-output-buffer on <double-buffered-stream>
  • [ ] force-output-buffers, do-force-output-buffers
  • [ ] discard-input on <buffered-stream>
  • [ ] read-line on (non-closed) <buffered-stream>, read-line-into! (deprecate)
  • [ ] read-skip on <buffered-stream>
  • [ ] write-fill on <buffered-stream>
  • multi-buffered-streams.dylan
  • [ ] Constructors for <multi-buffered-stream>, <general-multi-buffered-stream>
  • [ ] type-for-multi-buffered-stream on false-or(<type>)
  • [ ] stream-input-available? on open <multi-buffered-stream>
  • [ ] do-get-buffer on <multi-buffered-stream> that extends file
  • [ ] multi-buffer-reads etc (deprecate)
  • print.dylan
  • [ ] maybe-print-object with depth exceeded
  • [ ] maybe-print-object first pass with *print-circle?*
  • [ ] print-object on <object>
  • [ ] print-object-slots (deprecated?)
  • [ ] write-char-maybe-escape (for all cases except \n and \
  • [ ] print-list with *print-length* <= 0
  • [ ] print-list with improper list
  • [ ] print-object on <limited-function>
  • [ ] print-object on <deque>
  • [ ] print-object on empty range
  • [ ] print-object on <machine-word>
  • [ ] print-object on generic <locator>
  • [ ] write-element on <circular-print-stream>
  • [ ] force-output, synchronize-output, discard-output on <circular-print-stream>
  • [ ] write-line, new-line on <circular-print-stream>
  • [ ] stream-open?, stream-at-end? on <circular-print-stream>
  • [ ] pprint-logical-block on <circular-print-stream> with *print-pretty?* on
  • native-buffer.dylan
  • [ ] element out-of-range in
  • [ ] element-no-bounds-check on
  • [ ] element-setter on , element-no-bounds-check-setter on
  • [ ] empty? on
  • [ ] <-> coercions (deprecate?)
  • [ ] Buffer iteration
  • [ ] copy-bytes between instances
  • [ ] copy-butes to from
  • [ ] copy-butes from to
  • file-stream.dylan
  • [ ] stream-position, stream-position-setter on closed
  • [ ] stream-position-setter on writable
  • [ ] adjust-stream-position from: #"end"
  • [ ] adjust-stream-position errors
  • [ ] adjust-stream-position-from-start extending file after gap
  • [ ] stream-contents errors
  • async-writes.dylan
  • [ ] enqueue-operation
  • [ ] enqueue-write
  • [ ] async-wait-for-overlapping-write-completion
  • [ ] async-wait-for-completion
  • [ ] async-check-for-errors
  • [ ] get-op
  • [ ] async-IO-handler
  • [ ] async-post-operation
  • convenience.dylan
  • [ ] read-to, read-through, read-line when already at end-of-stream
  • [ ] read-line-into!
  • [ ] read-character
  • [ ] read-text, read-text-into!
  • [ ] write-text for text containing newlines
  • buffered-format.dylan
  • [ ] buffered-write-element
  • [ ] format on <buffered-stream>: field padding, %c, %=, %d, %b, %o, %m, %%
  • wrapper-stream.dylan
  • [ ] inner-stream-setter
  • [ ] synchronize-output, discard-output, read-to, read-through, read-to-end, skip-through
  • [ ] read-line, read-line-into!, write-line
  • [ ] stream-direction
  • [ ] stream-positition-setter
  • [ ] adjust-stream-position
  • [ ] stream-locked?
  • [ ] stream-sequence-class
  • [ ] stream-limit
  • indenting-streams.dylan
  • [ ] write-indent with tabs
  • [ ] write-element, write
  • [ ] new-line, discard-output
  • buffer.dylan
  • [ ] buffer-subsequence
  • [ ] copy-into-buffer!, copy-from-buffer!
  • [ ] byte-storage-address, byte-storage-offset-address
  • format.dylan
  • [ ] format: field padding, %m
  • stream.dylan
  • [ ] stream-position-setter
  • [ ] stream-input-available?
  • [ ] do-force-output
  • [ ] stream-sequence-class
  • [ ] stream-locked?
  • [ ] read-skip
  • [ ] write-fill
  • typed-stream.dylan
  • [ ] byte-to-byte
  • [ ] coerce-to-element
  • [ ] coerce-to-element on <stream> and <buffer>
  • [ ] coerce-from-element on <general-typed-stream> and <buffer>
  • [ ] coerce-from-element on <stream> and <buffer>
  • [ ] coerce-to-sequence on <stream> and <buffer>
  • [ ] coerce-from-sequence on <stream> and <buffer>
  • [ ] coerce-from-sequence on <general-typed-stream> and <buffer>
  • unix-interface.dylan
  • [ ] unix-fsync
  • [ ] get-unix-error, unix-error
  • unix-file-accessor
  • [ ] accessor-synchronize
  • sequence-stream.dylan
  • [ ] write-element growing sequence
  • defs.dylan
  • [ ] Read from write-only string
  • [ ] Write to read-only string
  • external-stream.dylan
  • [ ] close: force-output on synchronize?: #t
  • [ ] synchronize-output

housel avatar Sep 09 '19 06:09 housel