IgnoreParser
ConfigParser
ConfigLexer
IgnoreLexer
CategoryName
Names for categories of checks.
Report
Reports of check violations.
Utils
Miscellaneous utility functions (time, string, i/o, parsing, XML).
Annotation
Definition annotation file contents.
Version
Current Mascot version.
Ocamldep
Dependency analysis through the ocamldep tool.
OutputName
Names for outputs.
State
Definition of checks states.
CheckName
Names for checks.
Cache
Cache / memoization structures.
Check
Definition of checks in various flavors.
Parameter
Check parameters.
RollingHash
Naive implementation of a rolling hash over strings.
Configuration
Configuration files.
Camlp4Utils
Utility functions related to the camlp4 library.
Ignore
Ignore files.
OcamldocUtils
Utility functions related to the ocamldoc library.
ParameterName
Names for parameters.
Plugin
Handling of dynamically-loaded plugins (both checks and outputs).
Output
Definition of output modes.
Aspell
Spell-checking through the Aspell tool.
Images
Data for images used in HTML output mode.
Html
HTML output mode.
Csv
Comma-separated output mode.
Text
Bare text output mode.
Jdepend
JDepend-compatible output mode.
Xml
XML output mode.
Summary
Output mode writing only top-level statistics.
Checkstyle
CheckStyle-compatible output mode.
Binary
Binary output mode.
Args
Handling of command-line arguments.
Predefined
Lists of predefined checks and outputs.
Metrics_mccabe
Check: McCabe complexity.
Metrics_coupling
Check: computes dependencies.
Typo_trailingWhiteSpace
Check: end-of-line whitespace.
Code_catchAll
Check: catch of all exceptions.
Code_stringLiterals
Check: duplicate string literals.
Doc_spell
Check: spell-check the text of ocamldoc comments.
Code_uselessBinding
Check: detects useless bindings.
Code_nestedFor
Check: nested 'for' constructs.
Code_tupleSize
Check: lengthy tuples.
Doc_classComment
Check: enforce presence of class comments.
Code_predefinedExceptions
Check: redefinition of predefined exceptions.
Code_ignoreUnit
Check: ignore over unit expressions.
Code_predefinedOperators
Check: redefinition predefined of operators.
Code_nestedIf
Check: nested 'if' constructs.
Interf_exportedEmpty
Check: presence of empty structures.
Interf_exportedCount
Check: presence of complex structures.
Typo_header
Check: coherent headers for source files.
Typo_spacesAroundBlocks
Check: white spaces around block delimiters.
Doc_moduleTypeComment
Check: enforce presence of module type comments.
Code_emptyWhile
Check: empty 'while' constructs.
Code_identifierLength
Check: identifiers that are too short.
Misc_regexp
Check: regular expression matching.
Code_parameterCount
Check: functions with too many parameters.
Doc_classTypeComment
Check: enforce presence of class type comments.
Code_noEffectAssignment
Check: detects assignments with no effect.
Code_complexCondition
Check: complex if/while/when conditions.
Code_builtinTypes
Check: redefinition of builtin types.
Code_emptyTry
Check: empty 'try' constructs.
Code_emptyFor
Check: empty 'for' constructs.
Code_physicalComparisons
Check: detects physical comparisons.
Typo_spacesAroundOperators
Check: white spaces around operators.
Interf_duplicate
Check: duplicate exported values.
Doc_valueComment
Check: enforce presence of value comments.
Doc_exceptionComment
Check: enforce presence of exception comments.
Typo_trailingNewLine
Check: end-of-file newline.
Code_negatedIf
Check: negated 'if' condition.
Doc_typeComment
Check: enforce presence of type comments.
Typo_tabCharacter
Check: tabulation character.
Code_nestedWhile
Check: nested 'while' constructs.
Code_idempotentOperations
Check: detects some idempotent operations.
Code_length
Check: elements that are too lengthy.
Code_uselessExternalParentheses
Check: useless external parentheses.
Metrics_halstead
Check: Halstead complexity.
Code_magicNumber
Check: magic numbers.
Doc_moduleComment
Check: enforce presence of module comments.
Typo_fileLength
Check: long files.
Code_textualDuplicate
Check: textual duplicates.
Interf_methodCount
Check: presence of complex classes.
Code_deprecated
Check: deprecated elements.
Typo_spacesAroundPunctuation
Check: white spaces around punctuation signs.
Code_open
Check: open statements.
Typo_lineLength
Check: long lines.
Code_nestedTry
Check: nested 'try' constructs.