Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

doctorj(1) [debian man page]

DOCTORJ(1)																DOCTORJ(1)

NAME
doctorj - Javadoc analyzer and spell-checker SYNOPSIS
doctorj [--emacs] [--warning=LEVEL] [--tabwidth=NUM] [--dictionaries=LIST] [--verbose] {FILE...} DESCRIPTION
doctorj is an application to analyze Javadoc comments against Java code, verifying its integrity and format. It also spell-checks Javadoc comments. OPTIONS
--emacs Whether to list violations in Emacs form, i.e., a single line of the form: 8:48:9:4: An error occurred on this line. By default, violations are displayed in ``long form'', showing the context. --warning=LEVEL Sets the warning level, which by default is -1, meaning that only errors are reported. A warning level of 0 means that Javadoc for public or abstract items (classes, interfaces, methods, constructors, and fields) will be checked. A warning level of 1 will result in the addition of checking of protected-access items; 2 is for package-access items, and 3 will check all items. --tabwidth=NUM Sets the number of spaces to use for alignment with tabs. By default, this value is 4. --dictionaries=LIST Sets the dictionaries (word lists) to use for spell-checking. LIST is a comma-delimited string of paths to the word list files. By default, doctorj uses the word list at /usr/share/doctorj/words.LOCALE, where LOCALE is of the standard Java form. doctorj is dis- tributed with three word lists: words.en_CA (Canadian English), words.en_UK (United Kingdom English), and words.en_US (United States English). --verbose Produces debugging output. Note that this signficantly impedes performance. FILE Specifies the files to check. If the argument specified is a directory, all files ending in ``.java'' under that directory will be analyzed. EXAMPLES
To check a single file: % doctorj String.java To check multiple files: % doctorj String.java StringBuffer.java Object.java To check all files below a directory: % doctorj /proj/app/src To run at the maximum warning level: % doctorj --warning=4 . To specify a different dictionary: % doctorj --dictionaries=/usr/share/dict/words . CONFIGURATION
$HOME/.doctorjrc The run-control file, of the form: emacs: true warning: 4 tabwidth: 8 dictionaries: /usr/share/dict/words,/home/me/etc/terms verbose: false Dictionary (word list) files contain one word per line, for example: adaxial cepaceous sabaton vespiaries AUTHOR
Jeff Pace<jpace@incava.org> The DoctorJ web site is at http://www.doctorj.org. BUGS
Bugs and issues should be reported at the SourceForge.net project site: http://www.sf.net/projects/doctorj SEE ALSO
java(1), javadoc(1) COPYRIGHT
Copyright (c) 2002, Jeff Pace. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the GNU Lesser General Public License: http://www.gnu.org/licenses/lgpl.html DOCTORJ(1)

Check Out this Related Man Page

SPELL(1)						      General Commands Manual							  SPELL(1)

NAME
spell, spellin, spellout - find spelling errors SYNOPSIS
spell [ option ] ... [ file ] ... /usr/src/cmd/spell/spellin [ list ] /usr/src/cmd/spell/spellout [ -d ] list DESCRIPTION
Spell collects words from the named documents, and looks them up in a spelling list. Words that neither occur among nor are derivable (by applying certain inflections, prefixes or suffixes) from words in the spelling list are printed on the standard output. If no files are named, words are collected from the standard input. Spell ignores most troff, tbl and eqn(1) constructions. Under the -v option, all words not literally in the spelling list are printed, and plausible derivations from spelling list words are indi- cated. Under the -b option, British spelling is checked. Besides preferring centre, colour, speciality, travelled, etc., this option insists upon -ise in words like standardise, Fowler and the OED to the contrary notwithstanding. Under the -x option, every plausible stem is printed with `=' for each word. The spelling list is based on many sources, and while more haphazard than an ordinary dictionary, is also more effective in respect to proper names and popular technical words. Coverage of the specialized vocabularies of biology, medicine and chemistry is light. Pertinent auxiliary files may be specified by name arguments, indicated below with their default settings. Copies of all output are accu- mulated in the history file. The stop list filters out misspellings (e.g. thier=thy-y+ier) that would otherwise pass. Two routines help maintain the hash lists used by spell. Both expect a list of words, one per line, from the standard input. Spellin adds the words on the standard input to the preexisting list and places a new list on the standard output. If no list is specified, the new list is created from scratch. Spellout looks up each word in the standard input and prints on the standard output those that are missing from (or present on, with option -d) the hash list. FILES
D=/usr/dict/hlist[ab]: hashed spelling lists, American & British S=/usr/dict/hstop: hashed stop list H=/usr/dict/spellhist: history file /usr/lib/spell deroff(1), sort(1), tee(1), sed(1) BUGS
The spelling list's coverage is uneven; new installations will probably wish to monitor the output for several months to gather local addi- tions. British spelling was done by an American. SPELL(1)
Man Page