Started adding coverage to the profile report. Decoupled BuildProfile from Gradle object. Added some tests around build run description. Added very basic handling of scenario when no tasks are specified. At some point it would be nice to improve the build description and include other useful information: daemon, parallel, configuration on demand, project properties, default tasks selected for build etc. The profile report can also include links to our guide where we discuss how to improve performance, typical pitfalls, etc.
Some refactoring and more coverage in the profile report.
REVIEW-1707 Made the failure processing consistent in old / new resolution results model.
Added basic test for profile report generation. Will get more coverage and improvements.