Hi Jonathan,

yes, you did not miss anything, there is no generated code in
commons-collections. All classes in source folder src/main/java would
belong to your "productive code" category, while classes in folder
"src/test/java" would belong to "test code".

If you need an example of generated code, take a look at the
mahout-collections project which does generated classes based on templates:

http://www.apache.org/dist/mahout/mahout-collections-1.0/

Thomas



On Thu, Oct 17, 2013 at 1:03 PM, Jonathan Bernwieser <
bernwieserjonat...@gmail.com> wrote:

> Hi there,
> I am currently doing my Bachelor thesis at TU Munich, at the Software
> Engineering chair of Prof. Broy.
>
>
> The goal of this thesis is to create a tool to automatically categorize
> source code in open source software. Different categories will be "test
> code", "generated code" and "productive code" to better evaluate and use
> the
> results of quality-check techniques. (Static analyses might detect certain
> quality problems even though they're not relevant for a certain code
> category. One example would be the amount of clones found in a project. It
> has to be checked what kind of category the evaluated code belongs to as
> clones aren't causing quality issues if they occur in "generated code".)
>
>
>
> In order to create and test heuristics to identify code categories, I first
> need to create manually a collection of different projects (or classes to
> be
> more specific) I actually know about what kind of category they belong to.
>
> While manually going through the collections project I couldn't find any
> files that were automatically generated. Is that correct or are there any
> generated classes I didn't recognize?
>
>
> Thanks you for your help.
> Looking forward to hearing from you,
>
> Regards,
>
>
> Jonathan
>
>
>
>
>
>

Reply via email to