Short report in Chrome extension popup, detailing both overall scores and per-script coverage.
Sample of annotated source code from the detailed report. First two columns are line number and number of times each instruction has been executed.
We envision many potential features and improvements for ScriptCover, e.g.:
- support other coverage metrics, e.g. path coverage and condition coverage
- support richer reports and exporting to HTML and XML
- submit Javascript coverage statistics to a server and analyze combined statistics for selected users, dates, etc.
- map user actions to related Javascript code
Want to get involved with ScriptCover and make it better? Join the team! To get started, visit our project page, join the community, read documentation and download the code.
By Ekaterina Kamenskaya, Software Engineer in Test, Google