Menu

#140 Low coverage reported on switch statement

open-accepted
nobody
None
5
2014-02-20
2010-05-07
Anonymous
No

The attached code gets an abysmal 2/62 conditional coverage reported by Cobertura 1.9.4.1. Rewriting the switch statement as an if statement gives a much better 34/34.

Discussion

  • John Lewis

    John Lewis - 2011-01-24
    • status: open --> open-accepted
     
  • Dmitry Katsubo

    Dmitry Katsubo - 2012-11-06

    Looking forward for new release: buggy v1.9.4.1 dates back to Mar 2010.

     
  • Rnnr

    Rnnr - 2014-02-20

    Has it been solved ?

     

Log in to post a comment.