GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dirdr/ecoCode-java-test-project: Java project to test the java plugin of ecoCode.

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main/java/fr/greencodeinitiative/java/checks
src/main/java/fr/greencodeinitiative/java/checks
 
 
.gitignore
.gitignore
 
 
LICENCE.md
LICENCE.md
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 
tool_build.sh
tool_build.sh
 
 
tool_send_to_sonar.sh
tool_send_to_sonar.sh
 
 

Repository files navigation

Purpose of this project

To check locally all rules on java language. To do this :

  • first launch local development environment (SonarQube)
  • launch sonar maven command to send sonar metrics to local SonarQube
  • on local SonarQube, check if each Java class contains (or not) the rule error defined for this class

Step 1 : prepare local environment

To launch local environment : please follow https://github.com/green-code-initiative/ecoCode/blob/main/INSTALL.md (especially SonarQube configuration part and get generated private token)

Step 2 : compile and build

./tool_build.sh

Step 3 : send Sonar metrics to local SonarQube

./tool_send_to_sonar.sh MY_SONAR_TOKEN

or

mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -Dsonar.login=MY_SONAR_TOKEN

Step 4 : check errors

on local SonarQube, check if each Java class contains (or not) the rule error defined for this class (for example : you can search for tag eco-design rule on a special file)

About

Java project to test the java plugin of ecoCode.

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

25 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.