Experience has shown that very small polylines, usually comprising of two vertices can sometimes be digitising errors.  Such errors tend to occur in river networks showing the grid like patterns of managed water ways. 


Below is an image where a two vertex polyline of less than 1m in length (green) has been identified by RivEX. 


Small 2 vertex polyline


This does not invalidate the topology of the network and could be left in.  In reality the polylines marked 1 and 2 should connect to each other at a single node as there is no Z bend. 


You could delete this polyline and snap the other polylines to one of the nodes.


This tool generates an error log file called Small2PtPolylines.txt


WarningOnce you have edited your data you must rebuild the node ID values of the attribute table.  You will want to use the newly created node fields for stream ordering.