Conclusion of Exercise 2

With virtually minimal effort, you have successfully instrumented your source code for all four runtime analysis features. Manual interaction (in your case, via a mobile phone simulator) was monitored, and the subsequent runtime analysis results were displayed for you graphically. Source code is immediately accessible from these reports, so nothing prevents the developer from using the results to correct possible anomalies.

In addition, using the Test by Test option provided with each runtime analysis feature (introduced in the Further Work section for code coverage), you can easily discern the effectiveness of a test, ensuring maximal reuse without waste.

Your next step is to use the runtime analysis results to remove memory leaks, improve performance, and increase code coverage.