Help on analyze-coverage

11 views
Skip to first unread message

p...@banphim.net

unread,
Dec 18, 2012, 1:47:40 AM12/18/12
to esp...@googlegroups.com
Hi all,
I'm trying to add a command line option to esparse. As you can see, the task is pretty easy but when I try to add a function
`adjustRegexLiteral` to esprima core library, the tests yell about analyze-coverage.
All the changes I made is here:
https://github.com/ariya/esprima/pull/150/files
I don't understand analyze-coverage and don't know how to fix this.
Someone please help!

Ariya Hidayat

unread,
Dec 18, 2012, 1:50:43 AM12/18/12
to esp...@googlegroups.com

p...@banphim.net

unread,
Dec 18, 2012, 1:51:48 AM12/18/12
to esp...@googlegroups.com
FYI, the test threw this:

ERROR: Coverage for statements (99.1%) does not meet threshold (99.32%)
ERROR: Coverage for branches (97.08%) does not meet threshold (97.51%)
ERROR: Coverage for functions (99.35%) does not meet threshold (100%)
Reply all
Reply to author
Forward
0 new messages