Télécharger la liste

Description du projet

Mascot is a style checker for Objective Caml sources. It checks for overloading of built-in elements, useless constructs, deeply nested constructs, 'open' statements, magic numbers, complex conditions, presence of comments, spelling, empty interfaces and the number of exported elements, coupling, Halstead, and McCabe metrics, matching of regular expressions, and spaces, tabulation, headers, and file/line lengths. It supports CheckStyle, CSV, HTML, JDepend, bare text, and XML outputs, and supports plugins for custom checks and outputs.

Système requise

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2012-08-30 16:06
1.0

Prise en charge pour les contrôles basée sur les annotations binaires, et pour sortie binaire mode ont été ajoutés. Deux nouveaux chèques ("catch_all" pour détecter les modèles attraper toutes les exceptions et cocher « code.ignore_unit » pour détecter la demande de « ignorer » à l'expression dont le type est « unité ») ont été ajoutés. Nombreux bugs ont été corrigés. Le code de base a été mis à jour pour OCaml 4.00.0.
Tags: features, Bug fixes
Support for checks based on binary annotations, and for binary output mode have been added. Two new checks ('catch_all' to detect patterns catching all exceptions, and 'code.ignore_unit' check to detect application of 'ignore' to expression whose type is 'unit') have been added. Numerous bugs have been fixed. The codebase has been updated for OCaml 4.00.0.

2011-07-15 18:28
1.0-beta

Prise en charge de contrôles basés sur les fichiers d'annotation et de soutien pour les contrôles en utilisant un état ont été ajoutés. Le code vérifie "empty_for", "empty_try", et "empty_while» ont été ajoutés. Le chèque "obsolète" code a été ajouté à détecter des éléments obsolètes. Le chèque "tuple_size« code a été ajouté afin de détecter les tuples de longue haleine. Le mode strict a été ajouté pour les contrôles de la documentation. Admis dans les modules "code.open" chèque a été fixée. Détection des parenthèses inutiles dans "if", "quand", "tout", et "pour" les constructions a été fixé. Le "code.physical_comparisons" chèque a été fixée. Support pour préprocesseurs a été fixé. La détection de la duplication de code textuelle a été fixé.
Tags: Minor, features, Bugfixes
Support for checks based on annotation files and support for checks using a state were added. The code checks "empty_for", "empty_try", and "empty_while" were added. The "deprecated" code check was added to detect deprecated elements. The "tuple_size" code check was added to detect lengthy tuples. Strict mode was added for documentation checks. Allowed modules in "code.open" check was fixed. Detection of useless parentheses in "if", "when", "while", and "for" constructs was fixed. The "code.physical_comparisons" check was fixed. Support for preprocessors was fixed. Detection of textual code duplication was fixed.

Project Resources