0 Replies Latest reply on Oct 17, 2013 6:43 AM by Jonathan Bernwieser

    generated code in jboss

    Jonathan Bernwieser Newbie

      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 jboss project I found files generated by the following generators:


      • Form Editor
      • JAXWS SI
      • JAXRPC SI
      • XDoclet
      • IDL-to-Java compiler
      • unknown editor, files containing the string "Generated file - Do not edit!" (e.g. jboss.jboss-5.1.0.src.jboss-5.1.0.GA-src.testsuite.src.main.org.jboss.test.cmp2.fkmapping.ejb.ParentUtil.java)



      Are there any other generators used I didn’t recognize?


      Thanks you for your help.

      Looking forward to hearing from you,