All Projects → acanda → eclipse-pmd

acanda / eclipse-pmd

Licence: other
eclipse-pmd has been moved to

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to eclipse-pmd

static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (+80%)
Mutual labels:  static-code-analysis, pmd, code-quality
Checkstyle
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Stars: ✭ 6,481 (+32305%)
Mutual labels:  static-code-analysis, code-quality
Sonarjs
SonarSource Static Analyzer for JavaScript and TypeScript
Stars: ✭ 696 (+3380%)
Mutual labels:  static-code-analysis, code-quality
Cflint
Static code analysis for CFML (a linter)
Stars: ✭ 156 (+680%)
Mutual labels:  static-code-analysis, code-quality
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (+18235%)
Mutual labels:  static-code-analysis, code-quality
Sonar Dotnet
Code analyzer for C# and VB.NET projects https://redirect.sonarsource.com/plugins/vbnet.html
Stars: ✭ 466 (+2230%)
Mutual labels:  static-code-analysis, code-quality
Sonar Pmd
☕️ PMD Plugin for SonarQube
Stars: ✭ 139 (+595%)
Mutual labels:  static-code-analysis, pmd
sonar-esql-plugin
Sonar plugin to analyze ESQL-sourcecode of IBM Integration Bus projects
Stars: ✭ 26 (+30%)
Mutual labels:  static-code-analysis, code-quality
Sputnik
Static code review for your Gerrit patchsets. Runs Checkstyle, PMD, FindBugs, Scalastyle, CodeNarc, JSLint for you!
Stars: ✭ 189 (+845%)
Mutual labels:  static-code-analysis, pmd
Codeclimate
Code Climate CLI
Stars: ✭ 2,273 (+11265%)
Mutual labels:  static-code-analysis, code-quality
Warnings Ng Plugin
Jenkins Warnings Plugin - Next Generation
Stars: ✭ 248 (+1140%)
Mutual labels:  static-code-analysis, pmd
Pylint
It's not just a linter that annoys you!
Stars: ✭ 3,733 (+18565%)
Mutual labels:  static-code-analysis, code-quality
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+22605%)
Mutual labels:  static-code-analysis, code-quality
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (+2630%)
Mutual labels:  static-code-analysis, code-quality
Sonar Php
🐘 SonarPHP: PHP static analyzer for SonarQube & SonarLint
Stars: ✭ 288 (+1340%)
Mutual labels:  static-code-analysis, code-quality
Static Analysis
⚙️ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.
Stars: ✭ 9,310 (+46450%)
Mutual labels:  static-code-analysis, code-quality
codeclimate-apexmetrics
ApexMetrics - Code Climate engine for Salesforce [DISCONTINUED use CC PMD instead)
Stars: ✭ 46 (+130%)
Mutual labels:  static-code-analysis, pmd
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+460%)
Mutual labels:  static-code-analysis, code-quality
codeclimate-duplication
Code Climate engine for code duplication analysis
Stars: ✭ 96 (+380%)
Mutual labels:  static-code-analysis, code-quality
Infer
A static analyzer for Java, C, C++, and Objective-C
Stars: ✭ 12,823 (+64015%)
Mutual labels:  static-code-analysis, code-quality

⚠️ The repository of eclipse-pmd has been moved to https://github.com/eclipse-pmd/eclipse-pmd. This repository has been archived and is not in use anymore.

eclipse-pmd

The eclipse-pmd plug-in integrates the well-known source code analyzer PMD into the Eclipse IDE.

Everytime you save your work, eclipse-pmd scans your source code and looks for potential problems like possible bugs and suboptimal, duplicate, dead or overly complicated code.

Where possible, eclipse-pmd offers quick fixes that automatically fix the problems. These quick fixes can be used to fix a single problem or all occurrences in your entire code base.

How to get started

You need Eclipse 3.7 or later and Java 7 or later to run eclipse-pmd. Please follow the instructions on how to get started with eclipse-pmd on the website.

How to build and install eclipse-pmd

Building eclipse-pmd is fairly easy. Please note, however, that building eclipse-pmd is not required if you are only interested in using it, since there is a pre-built version available in the Eclipse Marketplace.

Requirements

You need the following tools:

  • JDK 8
  • Maven 3
  • Git

Build instructions

The first thing you need to do is to check out the source code.

git clone https://github.com/acanda/eclipse-pmd.git
cd eclipse-pmd

Once you have the source code you can build it with Maven.

cd ch.acanda.eclipse.pmd
mvn clean verify

This will compile, test and build a local repository for eclipse-pmd. If the build was successful you will find the repository in ch.acanda.eclipse.pmd.repository/target/repository.

Installation

Once you have built the repository you can install eclipse-pmd by adding a new repository to Eclipse:

  • from within Eclipse select Help > Install New Software...
  • click the button Add... of the Install dialog
  • click the button Local... of the Add Repository dialog
  • select the folder ch.acanda.eclipse.pmd.repository/target/repository
  • click the button OK of the Add Repository dialog
  • select Eclipse PMD Plug-in and proceed with the installation

From now on you can simply update Eclipse with Help > Check for Updates after you rebuilt eclipse-pmd.

Testing against different Eclipse releases

Building eclipse-pmd with mvn clean verify compiles and tests it against the oldest supported release of Eclipse which is Eclipse 3.7 Indigo. To ensure eclipse-pmd also works with newer releases the Eclipse release can be set with the parameter eclipse-release.

Compile and test against Eclipse Juno: mvn clean verify -Declipse-release=juno

Compile and test against Eclipse Kepler: mvn clean verify -Declipse-release=kepler

Compile and test against Eclipse Luna: mvn clean verify -Declipse-release=luna

Compile and test against Eclipse Mars: mvn clean verify -Declipse-release=mars

Compile and test against Eclipse Neon: mvn clean verify -Declipse-release=neon

Compile and test against Eclipse Oxygen: mvn clean verify -Declipse-release=oxygen

Compile an test against Eclipse Photon: mvn clean verify -Declipse-release=photon

Compile an test against Eclipse 2018-09: mvn clean verify -Declipse-release=2018-09

Compile an test against Eclipse 2018-12: mvn clean verify -Declipse-release=2018-12

Compile an test against Eclipse 2019-03: mvn clean verify -Declipse-release=2019-03

Compile an test against Eclipse 2019-06: mvn clean verify -Declipse-release=2019-06

Compile an test against Eclipse 2019-09: mvn clean verify -Declipse-release=2019-09

Compile an test against Eclipse 2019-12: mvn clean verify -Declipse-release=2019-12

Compile an test against Eclipse 2020-03: mvn clean verify -Declipse-release=2020-03

Regardless of the chosen release, the built plug-in will always be the same as the one built without the parameter. So there isn't any advantage in building the plug-in yourself if you are using a newer Eclipse release.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].