Observatory Docs Home | Edit these docs

Code Coverage

The code coverage feature gives you visual feedback on whether code has executed. For example:

An example of the Dart code coverage feature in Observatory

Lines marked with green have executed. Lines marked with red are executable but have not yet executed. Lines with no color are not executable.

The code coverage feature is available from every Script screen.

To see, or refresh, the code coverage data at any time, click the Refresh Coverage button in the blue bar:

Button for refreshing code coverage data



Privacy Policy