what do the "I" and "E" symbols with the black backgrounds signify in the HTML reports generated by the istanbul JS code coverage tool?
These symbols are in front of if-else statements. As you can see in the image you have attached, 'E' is in front of an if-else statement in which the 'Else' block is not covered and 'I' is in front an if-else statement in which the 'If' block is not covered. Follow this answer to receive notifications.
'E' stands for 'else path not taken', which means that for the marked if/else statement, the 'if' path has been tested but not the 'else'. 'I' stands for 'if path not taken', which is the opposite case: the 'if' hasn't been tested. The xN in left column is the amount of times that line has been executed.
Istanbul is a JavaScript code coverage tool that works by analyzing your codebase and providing you with the coverage insights you need in order to understand, file by file, where unit tests are needed in your app.
These symbols are in front of if-else statements.
As you can see in the image you have attached, 'E' is in front of an if-else statement in which the 'Else' block is not covered and 'I' is in front an if-else statement in which the 'If' block is not covered.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With