Skip to content

Commit 7b59c14

Browse files
authored
Merge pull request #27 from lequal/feature-enhanced-rules-description
Enhance rules description and change Nesting metric category
2 parents 2664e59 + 84b6965 commit 7b59c14

File tree

6 files changed

+187
-275
lines changed

6 files changed

+187
-275
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: java
2+
3+
sudo: false
4+
install: true
5+
6+
jdk:
7+
- oraclejdk8
8+
9+
cache:
10+
directories:
11+
- '$HOME/.m2/repository'
12+
- '$HOME/.sonar/cache'
13+
- '$HOME/.sonar/installs'
14+
15+
addons:
16+
sonarqube: true
17+
18+
notifications:
19+
email: false
20+
21+
addons:
22+
sonarcloud:
23+
organization: "lequal"
24+
token:
25+
secure: projettest # encrypted value of your token
26+
# Script to execute.
27+
28+
script:
29+
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=lequal -Dsonar.login=181e22946e5e05302ceb4513dae3dcc9f7161f2f

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>fr.cnes.sonarqube.plugins</groupId>
66
<artifactId>sonaricode</artifactId>
77
<packaging>sonar-plugin</packaging>
8-
<version>1.0.1</version>
8+
<version>1.0.2</version>
99
<name>Sonar i-Code CNES plugin</name>
1010

1111
<description>i-Code CNES plugin for SonarQube</description>

src/main/java/fr/cnes/sonar/plugins/icode/measures/ICodeNestingMetric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public class ICodeNestingMetric implements Metrics, MeasureComputer {
3434

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

3838
/** Key of the nesting metric. **/
3939
public static final String KEY = "icode-nesting-max";

0 commit comments

Comments
 (0)