Analysis and generating reports