EnglishFrenchSpanish

Ad


OnWorks favicon

doctorj - Online in the Cloud

Run doctorj in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command doctorj that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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 distributed 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

Use doctorj online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    garlic3
    garlic3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    DbInfo...
    Download garlic3
  • 4
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands

Ad