Skip to content

Commit

Permalink
Merge pull request #27 from lequal/feature-enhanced-rules-description
Browse files Browse the repository at this point in the history
Enhance rules description and change Nesting metric category
  • Loading branch information
begarco authored Aug 1, 2018
2 parents 2664e59 + 84b6965 commit 7b59c14
Show file tree
Hide file tree
Showing 6 changed files with 187 additions and 275 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: java

sudo: false
install: true

jdk:
- oraclejdk8

cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
- '$HOME/.sonar/installs'

addons:
sonarqube: true

notifications:
email: false

addons:
sonarcloud:
organization: "lequal"
token:
secure: projettest # encrypted value of your token
# Script to execute.

script:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=lequal -Dsonar.login=181e22946e5e05302ceb4513dae3dcc9f7161f2f
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>fr.cnes.sonarqube.plugins</groupId>
<artifactId>sonaricode</artifactId>
<packaging>sonar-plugin</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>Sonar i-Code CNES plugin</name>

<description>i-Code CNES plugin for SonarQube</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
public class ICodeNestingMetric implements Metrics, MeasureComputer {

/** Name of the category in which defined metrics should be displayed **/
public static final String DOMAIN = "i-Code";
public static final String DOMAIN = "Size";

/** Key of the nesting metric. **/
public static final String KEY = "icode-nesting-max";
Expand Down
Loading

0 comments on commit 7b59c14

Please sign in to comment.