Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Coverage decreased (-0.002%) to 97.521% when pulling d44c89e9eeee2dd1843d8421fc34c22baa7f9894 on ChuntaoLu:fix-percent into 89e338fcb1c8a7dea3b9e8f851aa55de2bc3abee on gotwarlost:master.
current way of computing percentage leads to falsy 100% coverage when numbers are big, e.g.,
Proposed fix: