Jonathan,

the xmlcodegen tool (part of geotools) was used to generate many of the 
binding skeletons in modules/extension/xsd/, and also large type 
definition classes like GMLSchema. Probably others. Search for the 
"@generated" javadoc tag:

$ grep -lr '@generated' modules | wc -l
1942

That is, 1942 files containing this tag. Note that many are generated 
skeletons that may have undergone subsequent manual improvement.

Kind regards,
Ben.

On 17/10/13 20:04, Jonathan Bernwieser 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 gt2 project I found generated files in
> the following directories:
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\demo\xml-po\src\main\java\org\geotools\po\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\library\cql\modified-src\org\geotools\filter\text\generated\parsers\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\ogc\net.opengis.ows\src\net\opengis\ows11\validation\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\ogc\net.opengis.wcs\src\net\opengis\gml\validation\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\ogc\net.opengis.wcs\src\net\opengis\wcs10\validation\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\ogc\net.opengis.wcs\src\net\opengis\wcs11\validation\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\unsupported\vpf\src\test\java\org\geotools\data\vpf\io\
>
> ·gt2\gt2-2.7-M3\src\geotools-2.7-M3\modules\unsupported\vpf\src\test\java\org\geotools\data\vpf\util\
>
> Are there any other generated classes I didn’t recognize?
>
> Thanks you for your help.
>
> Looking forward to hearing from you,
>
>
>
> Regards,
>
>
>
>
>
> Jonathan
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>

-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to