Previous: Merge Tool | Up: Tools Index | Next: Stats Processor Development Guide |
The stats tool is a command-line utility for extracting useful statistical information from a topic map - if only to boast about its size to your friends :-). The processor loads and walks the topic map, gathering various counts and computing a set of measures. The default processor currently implements the following measures:
The processor used by the tool is replacable - in otherwords, the org.tm4j.topicmap.cmd.Stats
utility is a 'framework' for topic map stats tools. For more information about developing alternate stats processors, see Stats Processor Development Guide
A list of files may be provided on the command line for input. In this case, the files are merged in much the same way as the command-line merge tool and the stats process is run on the merged result (Note, however that the merged topic map is never written to a file).
java org.tm4j.topicmap.cmd.Stats {options} input_file [input_file...]
or, if using the scripts provided in the bin
directory:
stats {options} input_file [input_file...]
mergeMap
directives in the read
topic maps will not be processed and references to topics in other
topic maps will not cause the referenced topic maps to be processed.