Generated Types

Many applications implemented in Java contain classes whose source code was generated by another application. A typical example are parser or scanner classes generated by a parser generator. Such classes often rank very low on code quality metrics, because they typically contain very large methods, complex control structures, or little documentation.

Since their source code is not usually inspected by the programmer, but rather used as a black box, their metric values should not normally count towards the overall code quality metrics. SemmleCode tries to make an educated guess at which classes are generated, and excludes them from such metrics.

 
< Prev   Next >