Hi Jonathan,

You may want to have a look at Commons Configuration where parsers are
generated with JavaCC. The generated sources files aren't committed in
Subversion though, they are generated on the fly when building the
project. You'll see them if you look into the sources jar:

http://central.maven.org/maven2/commons-configuration/commons-configuration/1.9/commons-configuration-1.9-sources.jar

The files generated by JavaCC have this header:

/* Generated By:JavaCC: Do not edit this line. xxxxx.java Version 5.0 */

Emmanuel Bourg


Le 17/10/2013 13:03, Jonathan Bernwieser a écrit :
> 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
> 
>  
> 
>  
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to