improve performance of algorithm to convert character map into line number in CLI tool
test for report annotation by line number in CLI tool added