You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Jonathan Bernwieser <be...@gmail.com> on 2013/10/17 14:32:21 UTC

generated code in james

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 james 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

Re: generated code in james

Posted by Manuel Carrasco Moñino <ma...@apache.org>.
If you compile `hupa`, you will have a set of classes in the
`client/target/generated-sources` created by the gwtc compiler after
running some internal generators.

I think, other subprojects of james do not generate any java class.

- Manolo


On Thu, Oct 17, 2013 at 2:32 PM, Jonathan Bernwieser <
bernwieserjonathan@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 james 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
>