Are functions a loophole in compliance score system?
The compliance score was introduced to promote best practices in development. Improving the compliance score becomes often the goal of the whole sprints, during which the code is reviewed and refactored.
However, improving your compliance score does not always mean improving your code quality. I am pretty sure everyone has seen activities on @baseclass being wrappers for commits and obj-saves which are introduced only to reduce the number of warnings in the system. Good if they are system-wide solutions with the correct error handling. Worse if each development team creates their own activity for wrapping Obj-Save and each deals with error handling in a different way or not at all. Another method of reducing the number of warnings in the system gaining popularity recently are functions.
Build-in functions allow you to reduce the number of warnings in the system in a number of ways. You can call an existing activity by a datatransform, avoiding warning for activity use. You can log messages from an activity without security warning. Do those really improve our code?
Or are they rather tricks to improve compliance score?
Have the functions become loophole in the compliance score system?
***Edited by Moderator Marije to add Dev Studio tag to Question***