Code analysis and inline documentation for activities done