viewCodeCoverage

viewCodeCoverage();

The viewCodeCoverage method of the JadeProfiler class stops recording code coverage statistics of JADE methods executed during testing that were started by the startCodeCoverage method and outputs the results to the Code Coverage Results Browser.

When you call the viewCodeCoverage method, the Code Coverage Results Browser looks for the file on the application server. When you manually request the load of a file, the Code Coverage Results Browser looks for these files on the client.

The code coverage statistics are accumulated until you output them to a file by calling the viewCodeCoverage or reportCodeCoverage method, you clear them by calling the resetCodeCoverage method, or you terminate your application. For details about using this browser to analyze code coverage results, see "Code Coverage", in Chapter 17 of the JADE Developer's Reference.