Table of contents

Created

4 May 2011

The Adobe ActionScript Code Coverage Plug-in for Adobe Flash Builder is a tool that helps ActionScript and Adobe Flex developers understand exactly what code is executed while an application is running.

When added to Flash Builder, the plug-in provides a new Eclipse perspective that allows you to start/stop the code coverage tool, view generated reports, examine source code and save/load reports. Typically developers will use the code coverage tool to see which areas of code have not been exercised during execution so that additional testing requirements can be identified.

The tool provides detailed line coverage and method coverage reporting, as well as highlighting classes that are not linked into the application. You can use the ActionScript Code Coverage Plug-in for Flash Builder with applications developed in ActionScript 3, optionally using either Flex SDK 3.x or Flex SDK 4.x, targeting both Adobe Flash Player and Adobe AIR. A trial or licensed version of Adobe Flash Builder 4.x Premium is required to use the ActionScript Code Coverage Plug-in.

Getting Started

Follow these steps to get started with the ActionScript Code Coverage Plug-in for Flash Builder:

  1. The ActionScript Code Coverage Plug-in is designed for use with Adobe Flash Builder 4.x Premium, either running as standalone or as a plug-in to an existing Eclipse installation. Download the Flash Builder 4.5 trial if you do not already have the product installed.
  2. If Flash Builder is running, exit before continuing.
  3. Download the ActionScript Code Coverage plug-in for Flash Builder.
  4. Unpack the ZIP file and copy the contained JAR file into the plug-ins folder of your Eclipse or Flash Builder installation (ex: [Flash Builder Installation Folder]/eclipse/plugins/).
  5. Start Flash Builder.
  6. Open the Code Coverage perspective by going to Window > Open Perspective > Other and selecting the perspective.
  7. Read the documentation included within the download ZIP file to learn how to use the Code Coverage tool.
  8. Ask questions or share your feedback in the ActionScript Code Coverage Plug-in for Flash Builder forum.

FAQ

What is the ActionScript Code Coverage Plug-in for Flash Builder?

The plug-in is a tool that helps ActionScript and Flex developers understand exactly what code is executed while an application is running. When added to Flash Builder, the plug-in provides a new Eclipse perspective that allows you to start/stop the code coverage tool, view generated reports, examine source code and save/load reports.

Why should I use the ActionScript Code Coverage Plug-in for Flash Builder?

Typically developers will use the tool to see which areas of code have not been exercised during execution so that additional testing requirements can be identified.

Which versions of Flash Builder support the ActionScript Code Coverage Plug-in for Flash Builder?

As an advanced tool to aid with application testing, the plug-in is only available for use with Flash Builder 4.5 Premium edition.

Is there documentation available for the ActionScript Code Coverage Plug-in for Flash Builder?

Yes, ActionScript Code Coverage Plug-in for Flash Builder documentation is included within the download ZIP file.

Where can I post issues and comments?

Please use the Flash Builder forum to ask questions and post issues/comments.

System Requirements

The system requirements for the ActionScript Code Coverage Plug-in are the same as the Flash Builder system requirements.