diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


‘ScriptCover’ Open Source Javascript Coverage Analysis Chrome Tool Launched

ScriptCover announced today is a new open source Chrome extension that provides line-by-line Javascript code coverage statistics for web pages in real time without user modification of the site.

“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,” explains Ekaterina Kamenskaya, Software Engineer in Test, Google.

Adding Kamenskaya said, “ScriptCover is useful when performing manual and automated testing and in understanding and debugging complex code.”

Short report in Chrome extension popup, detailing both overall scores and per-script coverageScriptCover Javascript coverage analysis tool

Here are some features:

  • “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,” noted Kamenskaya.

To get started, visit our project page, join the community, read documentation and download the code.

Sample of annotated source code from the detailed report. First two columns are line number and number of times each instruction has been executed.

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...