Filtering code elements when analyzing source code
Currently I am making a survey about source code analysis and the thing that puzzles me greatly is what is it that project managers and developers would like to filter when analyzing s开发者_StackOverflow社区ource code (especially when applying OOP metrics - e.g. skpping insignificant methods and classes during analysis or filtering context-based elements according to the type of project). If you have any suggestions based on yout experience with code analysis I will greatly appreciate if you can share some ideas about filtering of elements. Thanks, Martin
You might want to filter out third-party code and libraries since that's non of your concern.
You might also want to filter out code that is not of interest for a particular form of analysis. This might be useful if you have a huge code base and do not want to re-run the analysis on all of it, some of which has not been modified in decades.
精彩评论