Rendering Tool

This application is used to process the output of CodeMetropolis Placing Tool and create a virtual city in a Minecraft world. Basicly it generates the descriptions of blocks and makes a Minecraft world of them.

Usage: java –jar rendering.jar –i <inputFile> -w <WorldPath> [-s]

Command line options:

  • -h: help, shows basic info.
  • -i: input, input from this file. Exactly this is the path of the input XML file, which is generated by the Placing Tool. Required.
  • -w: world, the location and the name of the world, which will be generated to the given path.
  • -s: silent, which means silently overwriting. In the case of an existing world, if this parameter is false, the program will ask the user, does he or she want to overwrite the existing world, and if the silent parameter is true, exactly if it is given, the program will overwrite the existing world without asking.

Here is an example that describes which visual object represents different code elements:

definitions

For example, the height of a building represents the lines of code of a method, and the width means the McCabe complexity of it:

definitions_metrics