GithubHelp home page GithubHelp logo

marcmatsen / codenarc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codenarc/codenarc

0.0 2.0 0.0 10.69 MB

CodeNarc source

License: Apache License 2.0

Groovy 58.17% Shell 0.01% Batchfile 0.01% Java 2.64% CSS 0.09% JavaScript 0.06% HTML 39.04%

codenarc's Introduction

Maven Central Build Status

CodeNarc is a static analysis tool for Groovy source code, enabling monitoring and enforcement of many coding standards and best practices. CodeNarc applies a set of Rules (predefined and/or custom) that are applied to each Groovy file, and generates an HTML or XML report of the results, including a list of rules violated for each source file, and a count of the number of violations per package and for the whole project.

CodeNarc is similar to popular static analysis tools such as PMD or Checkstyle. Unlike those tools which analyze Java code, CodeNarc analyzes Groovy code.

DEPENDENCIES

CodeNarc requires

  • Groovy version 2.1 or later
  • The SLF4J api/implementation jars, accessible on the CLASSPATH.
  • The GMetrics jar, version 1.0 or later -- optional if using some of the size/complexity rules.

AVAILABLE FROM MAVEN CENTRAL REPOSITORY

For projects built using Gradle or Maven, CodeNarc is available from the Maven Central Repository.

  • groupId = org.codenarc
  • artifactId = CodeNarc

Development

When contributing to CodeNarc, run the following command to test on your local machine.

./gradlew check

codenarc's People

Contributors

hamletdrc avatar chrismair avatar erdi avatar russellsanborn avatar arturgajowy avatar ychulovskyy avatar alien11689 avatar maciejziarko avatar jlstrater avatar thetric avatar mbjarland avatar darxriggs avatar topr avatar slaunay avatar mkobit avatar brickster avatar kyleboon avatar dtanner avatar christianmurphy avatar aadamovich avatar daspilker avatar friederbluemle avatar beckje01 avatar johnrengelman avatar teamcity-wf avatar simonstjg avatar wilfred avatar

Watchers

James Cloos avatar Marc Matsen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.