You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
Please let me know if there is a more appropriate place to ask this.
Most other coverage tools I've used before have either had statements or lines, never both leading me to think that they were one and the same. Istanbul however has both statements and lines. Can anyone clarify the difference between the two for me?
The text was updated successfully, but these errors were encountered:
if you have a line of code that says var x= 10; console.log(x) that's one line and 2 statements.
Of the two statement coverage is more accurate - however line coverage exists for interop with line oriented coverage tools like lcov and backwards compatibility with YUI coverage (for when istanbul was written, no longer relevant now)
if you have a line of code that says var x= 10; console.log(x) that's one line and 2 statements.
Of the two statement coverage is more accurate - however line coverage exists for interop with line oriented coverage tools like lcov and backwards compatibility with YUI coverage (for when istanbul was written, no longer relevant now)
I'm using solidity-coverage, that uses Istanbul. In many cases I've got more lines than statements. How is that possible?
Please let me know if there is a more appropriate place to ask this.
Most other coverage tools I've used before have either had statements or lines, never both leading me to think that they were one and the same. Istanbul however has both statements and lines. Can anyone clarify the difference between the two for me?
The text was updated successfully, but these errors were encountered: