In association with heise online

27 October 2011, 15:14

Google open sources JavaScript coverage analysis tool

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit


Zoom The ScriptCover extension provides overall scores and per-script coverage
Source: Google
Google has announced the release of ScriptCover as an open source project. Available as an extension for the company's Chrome web browser, ScriptCover is JavaScript coverage analysis tool that provides real-time, line-by-line code coverage statistics for web pages.

ScriptCover displays results as the page continues to load and is automatically updated when the user interacts with the site. The reporting tool highlights each of the lines of code that have been executed for a more detailed analysis.

Google Software Engineer Ekaterina Kamenskaya says that the code coverage detector "is useful when performing manual and automated testing and in understanding and debugging complex code". According to Kamenskaya, the developers envision that future versions of ScriptCover may include support for other metrics and richer reports with options to export to HTML and XML, as well as the ability to submit coverage statistics to a server for analysis.

More details about ScriptCover can be found in a post on the Open Source at Google blog and in the provided documentation. Hosted on Google Code, ScriptCover source code is licensed under version 2 of the Apache Licence.

See also:

(crve)

Print Version | Send by email | Permalink: http://h-online.com/-1367623
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit