ScriptCover for Testing and Debugging
ScriptCover for Testing and Debugging
Written by Ian Elliot   
Friday, 28 October 2011

Google has released ScriptCover, an open source Javascript coverage analysis tool that reports in realtime and highlights the executed lines of code for detailed analysis.

Google has released ScriptCover, an open source Javascript coverage analysis tool. It is a Chrome extension that provides line-by-line Javascript code coverage statistics for web pages in real time without user modification of the site.

It reports which Javascript statements/instructions from internal and external scripts have been executed (and how many times) while a web page loads and then when a user interacts with the page without any user modifications to the code. Results are collected when the page loads and continue to be updated as users interact with the page.



These results can be viewed in real time through a reporting tool which highlights the executed lines of code for detailed analysis. ScriptCover is useful when performing manual and automated testing and in understanding and debugging complex code.




The Open Source team at Google hopes to introduce new features and improvements into ScriptCover, such as:

  • support for other coverage metrics, e.g. path coverage and condition coverage
  • richer reports and exporting to HTML and XML
  • the ability to submit Javascript coverage statistics to a server and analyze combined statistics for selected users, dates, etc.
  • mapping user actions to related Javascript code
As an open source project it is encouraging developers to join  get involved with ScriptCover and join its team.

More information:

ScriptCover project page

Download ScriptCover code.


To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Twitter or Facebook or sign up for our weekly newsletter.



From Scratch To Python With Future Learn

A new course from the Raspberry Pi Foundation opens today on the Future Learn Platform. While primarily aimed at educators working with K-5 (primary school-aged) learners, it will also be of interest  [ ... ]

Programming For Love or Money

Programming is a passion as well as a job. However there have to be limits on the amount of time devoted to it in order to preserve sanity. A  research study has looked into the extent to which p [ ... ]

More News

Last Updated ( Friday, 28 October 2011 )

RSS feed of news items only
I Programmer News
Copyright © 2018 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.