From 7e7005fc0b67762e3192ed3b3b66965514af2b6d Mon Sep 17 00:00:00 2001
From: Vincent Marmin <3215889+vincent314@users.noreply.github.com>
Date: Mon, 16 Dec 2024 09:25:17 +0100
Subject: [PATCH 1/2] chore: rename rules ECXXX to GCIXXX
---
android-plugin/pom.xml | 2 +-
.../environment/batch/JobCoalesceRule.java | 3 +-
.../environment/batch/SensorCoalesceRule.java | 3 +-
.../bottleneck/InternetInTheLoopRule.java | 3 +-
.../UncompressedDataTransmissionRule.java | 3 +-
.../bottleneck/WifiMulticastLockRule.java | 3 +-
.../idleness/ContinuousRenderingRule.java | 3 +-
.../idleness/DurableWakeLockRule.java | 3 +-
.../environment/idleness/KeepCpuOnRule.java | 3 +-
.../idleness/KeepScreenOnAddFlagsRule.java | 3 +-
.../idleness/KeepScreenOnSetFlagsRule.java | 3 +-
.../idleness/KeepVoiceAwakeRule.java | 3 +-
.../environment/idleness/RigidAlarmRule.java | 3 +-
.../environment/leakage/CameraLeakRule.java | 3 +-
.../environment/leakage/LocationLeakRule.java | 3 +-
.../leakage/MediaLeakMediaPlayerRule.java | 3 +-
.../leakage/MediaLeakMediaRecorderRule.java | 3 +-
.../leakage/SensorManagerLeakRule.java | 3 +-
.../optimized_api/BluetoothLowEnergyRule.java | 3 +-
.../optimized_api/FusedLocationRule.java | 3 +-
.../power/ChargeAwarenessRule.java | 3 +-
.../power/SaveModeAwarenessRule.java | 3 +-
.../sobriety/BrightnessOverrideRule.java | 3 +-
.../sobriety/HighFrameRateRule.java | 3 +-
...owEnergyRequestConnectionPriorityRule.java | 3 +-
...luetoothLowEnergySetAdvertiseModeRule.java | 3 +-
.../ThriftyGeolocationCriteriaRule.java | 3 +-
.../ThriftyGeolocationMinDistanceRule.java | 3 +-
.../ThriftyGeolocationMinTimeRule.java | 3 +-
.../sobriety/ThriftyMotionSensorRule.java | 3 +-
.../sobriety/ThriftyNotificationRule.java | 3 +-
.../environment/sobriety/TorchFreeRule.java | 3 +-
.../sobriety/VibrationFreeRule.java | 3 +-
.../social/privacy/GoogleTrackerRule.java | 3 +-
.../checks/batch/ServiceBootTimeXmlRule.java | 3 +-
.../xml/checks/idleness/KeepCpuOnXmlRule.java | 3 +-
.../checks/idleness/KeepScreenOnXmlRule.java | 3 +-
.../checks/power/ChargeAwarenessXmlRule.java | 3 +-
.../power/CompagnionInBackgroundXmlRule.java | 3 +-
.../IgnoreBatteryOptimizationsXmlRule.java | 3 +-
.../power/SaveModeAwarenessXmlRule.java | 3 +-
.../sobriety/DarkUIBrightColorsXmlRule.java | 3 +-
.../checks/sobriety/DarkUIThemeXmlRule.java | 3 +-
.../android/java/ecocode_java_profile.json | 66 +++++++++----------
.../android/xml/ecocode_xml_profile.json | 16 ++---
.../rules/java/{EC500.html => GCI500.html} | 0
.../rules/java/{EC500.json => GCI500.json} | 0
.../rules/java/{EC501.html => GCI501.html} | 0
.../rules/java/{EC501.json => GCI501.json} | 0
.../rules/java/{EC502.html => GCI502.html} | 0
.../rules/java/{EC502.json => GCI502.json} | 0
.../rules/java/{EC503.html => GCI503.html} | 0
.../rules/java/{EC503.json => GCI503.json} | 0
.../rules/java/{EC504.html => GCI504.html} | 0
.../rules/java/{EC504.json => GCI504.json} | 0
.../rules/java/{EC505.html => GCI505.html} | 0
.../rules/java/{EC505.json => GCI505.json} | 0
.../rules/java/{EC506.html => GCI506.html} | 0
.../rules/java/{EC506.json => GCI506.json} | 0
.../rules/java/{EC507.html => GCI507.html} | 0
.../rules/java/{EC507.json => GCI507.json} | 0
.../rules/java/{EC508.html => GCI508.html} | 0
.../rules/java/{EC508.json => GCI508.json} | 0
.../rules/java/{EC509.html => GCI509.html} | 0
.../rules/java/{EC509.json => GCI509.json} | 0
.../rules/java/{EC510.html => GCI510.html} | 0
.../rules/java/{EC510.json => GCI510.json} | 0
.../rules/java/{EC511.html => GCI511.html} | 0
.../rules/java/{EC511.json => GCI511.json} | 0
.../rules/java/{EC512.html => GCI512.html} | 0
.../rules/java/{EC512.json => GCI512.json} | 0
.../rules/java/{EC513.html => GCI513.html} | 0
.../rules/java/{EC513.json => GCI513.json} | 0
.../rules/java/{EC514.html => GCI514.html} | 0
.../rules/java/{EC514.json => GCI514.json} | 0
.../rules/java/{EC515.html => GCI515.html} | 0
.../rules/java/{EC515.json => GCI515.json} | 0
.../rules/java/{EC516.html => GCI516.html} | 0
.../rules/java/{EC516.json => GCI516.json} | 0
.../rules/java/{EC517.html => GCI517.html} | 0
.../rules/java/{EC517.json => GCI517.json} | 0
.../rules/java/{EC518.html => GCI518.html} | 0
.../rules/java/{EC518.json => GCI518.json} | 0
.../rules/java/{EC519.html => GCI519.html} | 0
.../rules/java/{EC519.json => GCI519.json} | 0
.../rules/java/{EC520.html => GCI520.html} | 0
.../rules/java/{EC520.json => GCI520.json} | 0
.../rules/java/{EC521.html => GCI521.html} | 0
.../rules/java/{EC521.json => GCI521.json} | 0
.../rules/java/{EC522.html => GCI522.html} | 0
.../rules/java/{EC522.json => GCI522.json} | 0
.../rules/java/{EC523.html => GCI523.html} | 0
.../rules/java/{EC523.json => GCI523.json} | 0
.../rules/java/{EC524.html => GCI524.html} | 0
.../rules/java/{EC524.json => GCI524.json} | 0
.../rules/java/{EC525.html => GCI525.html} | 0
.../rules/java/{EC525.json => GCI525.json} | 0
.../rules/java/{EC526.html => GCI526.html} | 0
.../rules/java/{EC526.json => GCI526.json} | 0
.../rules/java/{EC527.html => GCI527.html} | 0
.../rules/java/{EC527.json => GCI527.json} | 0
.../rules/java/{EC528.html => GCI528.html} | 0
.../rules/java/{EC528.json => GCI528.json} | 0
.../rules/java/{EC529.html => GCI529.html} | 0
.../rules/java/{EC529.json => GCI529.json} | 0
.../rules/java/{EC530.html => GCI530.html} | 0
.../rules/java/{EC530.json => GCI530.json} | 0
.../rules/java/{EC531.html => GCI531.html} | 0
.../rules/java/{EC531.json => GCI531.json} | 0
.../rules/java/{EC532.html => GCI532.html} | 0
.../rules/java/{EC532.json => GCI532.json} | 0
.../rules/xml/{EC540.html => GCI540.html} | 0
.../rules/xml/{EC540.json => GCI540.json} | 0
.../rules/xml/{EC541.html => GCI541.html} | 0
.../rules/xml/{EC541.json => GCI541.json} | 0
.../rules/xml/{EC542.html => GCI542.html} | 0
.../rules/xml/{EC542.json => GCI542.json} | 0
.../rules/xml/{EC543.html => GCI543.html} | 0
.../rules/xml/{EC543.json => GCI543.json} | 0
.../rules/xml/{EC544.html => GCI544.html} | 0
.../rules/xml/{EC544.json => GCI544.json} | 0
.../rules/xml/{EC545.html => GCI545.html} | 0
.../rules/xml/{EC545.json => GCI545.json} | 0
.../rules/xml/{EC546.html => GCI546.html} | 0
.../rules/xml/{EC546.json => GCI546.json} | 0
.../rules/xml/{EC547.html => GCI547.html} | 0
.../rules/xml/{EC547.json => GCI547.json} | 0
.../rules/xml/{EC548.html => GCI548.html} | 0
.../rules/xml/{EC548.json => GCI548.json} | 0
.../org/sonar/plugins/groovy/cost.csv | 2 +-
.../sonar/plugins/groovy/profile-default.txt | 2 +-
.../org/sonar/plugins/groovy/rules.xml | 4 +-
.../ecocode/java/JavaRulesDefinitionTest.java | 66 +++++++++----------
.../ecocode/xml/XmlRulesDefinitionTest.java | 18 ++---
codenarc-converter/CodeNarc/build.gradle | 2 +-
.../docs/StarterRuleSet-AllRules.groovy.txt | 4 +-
...arterRuleSet-AllRulesByCategory.groovy.txt | 6 +-
.../docs/codenarc-rule-index-by-name.md | 2 +-
.../CodeNarc/docs/codenarc-rule-index.md | 2 +-
.../CodeNarc/docs/codenarc-rules-ecocode.md | 4 +-
.../ecocode/{EC5001.groovy => GCI5001.groovy} | 8 +--
.../codenarc-base-messages.properties | 4 +-
.../resources/codenarc-base-rules.properties | 2 +-
.../src/main/resources/codenarc-version.txt | 2 +-
.../src/main/resources/rulesets/ecocode.xml | 2 +-
.../{EC5001Test.groovy => GCI5001Test.groovy} | 10 +--
codenarc-converter/pom.xml | 2 +-
tool_prepare-codenarc.bat | 2 +-
tool_prepare-codenarc.sh | 2 +-
149 files changed, 199 insertions(+), 157 deletions(-)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC500.html => GCI500.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC500.json => GCI500.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC501.html => GCI501.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC501.json => GCI501.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC502.html => GCI502.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC502.json => GCI502.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC503.html => GCI503.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC503.json => GCI503.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC504.html => GCI504.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC504.json => GCI504.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC505.html => GCI505.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC505.json => GCI505.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC506.html => GCI506.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC506.json => GCI506.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC507.html => GCI507.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC507.json => GCI507.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC508.html => GCI508.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC508.json => GCI508.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC509.html => GCI509.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC509.json => GCI509.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC510.html => GCI510.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC510.json => GCI510.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC511.html => GCI511.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC511.json => GCI511.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC512.html => GCI512.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC512.json => GCI512.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC513.html => GCI513.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC513.json => GCI513.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC514.html => GCI514.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC514.json => GCI514.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC515.html => GCI515.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC515.json => GCI515.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC516.html => GCI516.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC516.json => GCI516.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC517.html => GCI517.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC517.json => GCI517.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC518.html => GCI518.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC518.json => GCI518.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC519.html => GCI519.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC519.json => GCI519.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC520.html => GCI520.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC520.json => GCI520.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC521.html => GCI521.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC521.json => GCI521.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC522.html => GCI522.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC522.json => GCI522.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC523.html => GCI523.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC523.json => GCI523.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC524.html => GCI524.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC524.json => GCI524.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC525.html => GCI525.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC525.json => GCI525.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC526.html => GCI526.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC526.json => GCI526.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC527.html => GCI527.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC527.json => GCI527.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC528.html => GCI528.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC528.json => GCI528.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC529.html => GCI529.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC529.json => GCI529.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC530.html => GCI530.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC530.json => GCI530.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC531.html => GCI531.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC531.json => GCI531.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC532.html => GCI532.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/java/{EC532.json => GCI532.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC540.html => GCI540.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC540.json => GCI540.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC541.html => GCI541.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC541.json => GCI541.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC542.html => GCI542.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC542.json => GCI542.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC543.html => GCI543.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC543.json => GCI543.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC544.html => GCI544.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC544.json => GCI544.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC545.html => GCI545.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC545.json => GCI545.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC546.html => GCI546.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC546.json => GCI546.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC547.html => GCI547.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC547.json => GCI547.json} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC548.html => GCI548.html} (100%)
rename android-plugin/src/main/resources/io/ecocode/rules/xml/{EC548.json => GCI548.json} (100%)
rename codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/{EC5001.groovy => GCI5001.groovy} (92%)
rename codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/{EC5001Test.groovy => GCI5001Test.groovy} (97%)
diff --git a/android-plugin/pom.xml b/android-plugin/pom.xml
index 0ae85e19..ebee0b56 100644
--- a/android-plugin/pom.xml
+++ b/android-plugin/pom.xml
@@ -184,7 +184,7 @@
Example of violations:
android {
diff --git a/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java b/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java
index 91485991..bb099ddc 100644
--- a/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java
+++ b/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java
@@ -47,7 +47,7 @@ public void test() {
private void assertSocialRuleProperties(Repository repository) {
- Rule googleTrackerRule = repository.rule("EC532");
+ Rule googleTrackerRule = repository.rule("GCI532");
assertThat(googleTrackerRule).isNotNull();
assertThat(googleTrackerRule.name()).isEqualTo("Privacy: Google Tracker");
assertThat(googleTrackerRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
@@ -56,193 +56,193 @@ private void assertSocialRuleProperties(Repository repository) {
private void assertEnergyRuleProperties(Repository repository) {
- Rule sensorCoalesceRule = repository.rule("EC500");
+ Rule sensorCoalesceRule = repository.rule("GCI500");
assertThat(sensorCoalesceRule).isNotNull();
assertThat(sensorCoalesceRule.name()).isEqualTo("Batch: Sensor Coalesce");
assertThat(sensorCoalesceRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(sensorCoalesceRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule jobCoalesceRule = repository.rule("EC501");
+ Rule jobCoalesceRule = repository.rule("GCI501");
assertThat(jobCoalesceRule).isNotNull();
assertThat(jobCoalesceRule.name()).isEqualTo("Batch: Job Coalesce");
assertThat(jobCoalesceRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(jobCoalesceRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule internetInTheLoopRule = repository.rule("EC502");
+ Rule internetInTheLoopRule = repository.rule("GCI502");
assertThat(internetInTheLoopRule).isNotNull();
assertThat(internetInTheLoopRule.name()).isEqualTo("Bottleneck: Internet In The Loop");
assertThat(internetInTheLoopRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(internetInTheLoopRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule wifiMulticastLockRule = repository.rule("EC503");
+ Rule wifiMulticastLockRule = repository.rule("GCI503");
assertThat(wifiMulticastLockRule).isNotNull();
assertThat(wifiMulticastLockRule.name()).isEqualTo("Bottleneck: Wifi Multicast Lock");
assertThat(wifiMulticastLockRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(wifiMulticastLockRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule uncompressedDataTransmissionRule = repository.rule("EC504");
+ Rule uncompressedDataTransmissionRule = repository.rule("GCI504");
assertThat(uncompressedDataTransmissionRule).isNotNull();
assertThat(uncompressedDataTransmissionRule.name()).isEqualTo("Bottleneck: Uncompressed Data Transmission");
assertThat(uncompressedDataTransmissionRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(uncompressedDataTransmissionRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule keepScreenOnAddFlagsRule = repository.rule("EC505");
+ Rule keepScreenOnAddFlagsRule = repository.rule("GCI505");
assertThat(keepScreenOnAddFlagsRule).isNotNull();
assertThat(keepScreenOnAddFlagsRule.name()).isEqualTo("Idleness: Keep Screen On (addFlags)");
assertThat(keepScreenOnAddFlagsRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(keepScreenOnAddFlagsRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule keepScreenOnSetFlagsRule = repository.rule("EC506");
+ Rule keepScreenOnSetFlagsRule = repository.rule("GCI506");
assertThat(keepScreenOnSetFlagsRule).isNotNull();
assertThat(keepScreenOnSetFlagsRule.name()).isEqualTo("Idleness: Keep Screen On (setFlags)");
assertThat(keepScreenOnSetFlagsRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(keepScreenOnSetFlagsRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule keepCpuOnRule = repository.rule("EC507");
+ Rule keepCpuOnRule = repository.rule("GCI507");
assertThat(keepCpuOnRule).isNotNull();
assertThat(keepCpuOnRule.name()).isEqualTo("Idleness: Keep Cpu On");
assertThat(keepCpuOnRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(keepCpuOnRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule durableWakeLockRule = repository.rule("EC508");
+ Rule durableWakeLockRule = repository.rule("GCI508");
assertThat(durableWakeLockRule).isNotNull();
assertThat(durableWakeLockRule.name()).isEqualTo("Idleness: Durable Wake Lock");
assertThat(durableWakeLockRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(durableWakeLockRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule rigidAlarmRule = repository.rule("EC509");
+ Rule rigidAlarmRule = repository.rule("GCI509");
assertThat(rigidAlarmRule).isNotNull();
assertThat(rigidAlarmRule.name()).isEqualTo("Idleness: Rigid Alarm");
assertThat(rigidAlarmRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(rigidAlarmRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule continuousRenderingRule = repository.rule("EC510");
+ Rule continuousRenderingRule = repository.rule("GCI510");
assertThat(continuousRenderingRule).isNotNull();
assertThat(continuousRenderingRule.name()).isEqualTo("Idleness: Continuous Rendering");
assertThat(continuousRenderingRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(continuousRenderingRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule keepVoiceAwakeRule = repository.rule("EC511");
+ Rule keepVoiceAwakeRule = repository.rule("GCI511");
assertThat(keepVoiceAwakeRule).isNotNull();
assertThat(keepVoiceAwakeRule.name()).isEqualTo("Idleness: Keep Voice Awake");
assertThat(keepVoiceAwakeRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(keepVoiceAwakeRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule cameraLeakRule = repository.rule("EC512");
+ Rule cameraLeakRule = repository.rule("GCI512");
assertThat(cameraLeakRule).isNotNull();
assertThat(cameraLeakRule.name()).isEqualTo("Leakage: Camera Leak");
assertThat(cameraLeakRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(cameraLeakRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule locationLeakRule = repository.rule("EC513");
+ Rule locationLeakRule = repository.rule("GCI513");
assertThat(locationLeakRule).isNotNull();
assertThat(locationLeakRule.name()).isEqualTo("Leakage: Location Leak");
assertThat(locationLeakRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(locationLeakRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule sensorManagerLeakRule = repository.rule("EC514");
+ Rule sensorManagerLeakRule = repository.rule("GCI514");
assertThat(sensorManagerLeakRule).isNotNull();
assertThat(sensorManagerLeakRule.name()).isEqualTo("Leakage: SensorManager Leak");
assertThat(sensorManagerLeakRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(sensorManagerLeakRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule mediaLeakMediaRecorderLeakRule = repository.rule("EC515");
+ Rule mediaLeakMediaRecorderLeakRule = repository.rule("GCI515");
assertThat(mediaLeakMediaRecorderLeakRule).isNotNull();
assertThat(mediaLeakMediaRecorderLeakRule.name()).isEqualTo("Leakage: Media Leak (MediaRecorder)");
assertThat(mediaLeakMediaRecorderLeakRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(mediaLeakMediaRecorderLeakRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule mediaLeakMediaPlayerLeakRule = repository.rule("EC516");
+ Rule mediaLeakMediaPlayerLeakRule = repository.rule("GCI516");
assertThat(mediaLeakMediaPlayerLeakRule).isNotNull();
assertThat(mediaLeakMediaPlayerLeakRule.name()).isEqualTo("Leakage: Media Leak (MediaPlayer)");
assertThat(mediaLeakMediaPlayerLeakRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(mediaLeakMediaPlayerLeakRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule fusedLocationRule = repository.rule("EC517");
+ Rule fusedLocationRule = repository.rule("GCI517");
assertThat(fusedLocationRule).isNotNull();
assertThat(fusedLocationRule.name()).isEqualTo("Optimized API: Fused Location");
assertThat(fusedLocationRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(fusedLocationRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule bluetoothLowEnergyRule = repository.rule("EC518");
+ Rule bluetoothLowEnergyRule = repository.rule("GCI518");
assertThat(bluetoothLowEnergyRule).isNotNull();
assertThat(bluetoothLowEnergyRule.name()).isEqualTo("Optimized API: Bluetooth Low-Energy");
assertThat(bluetoothLowEnergyRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(bluetoothLowEnergyRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule chargeAwarenessRule = repository.rule("EC519");
+ Rule chargeAwarenessRule = repository.rule("GCI519");
assertThat(chargeAwarenessRule).isNotNull();
assertThat(chargeAwarenessRule.name()).isEqualTo("Power: Charge Awareness");
assertThat(chargeAwarenessRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(chargeAwarenessRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule saveModeAwareness = repository.rule("EC520");
+ Rule saveModeAwareness = repository.rule("GCI520");
assertThat(saveModeAwareness).isNotNull();
assertThat(saveModeAwareness.name()).isEqualTo("Power: Save Mode Awareness");
assertThat(saveModeAwareness.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(saveModeAwareness.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyMotionSensorRule = repository.rule("EC521");
+ Rule thriftyMotionSensorRule = repository.rule("GCI521");
assertThat(thriftyMotionSensorRule).isNotNull();
assertThat(thriftyMotionSensorRule.name()).isEqualTo("Sobriety: Thrifty Motion Sensor");
assertThat(thriftyMotionSensorRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyMotionSensorRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule brightnessOverrideRule = repository.rule("EC522");
+ Rule brightnessOverrideRule = repository.rule("GCI522");
assertThat(brightnessOverrideRule).isNotNull();
assertThat(brightnessOverrideRule.name()).isEqualTo("Sobriety: Brightness Override");
assertThat(brightnessOverrideRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(brightnessOverrideRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyGeolocationMinTimeRule = repository.rule("EC523");
+ Rule thriftyGeolocationMinTimeRule = repository.rule("GCI523");
assertThat(thriftyGeolocationMinTimeRule).isNotNull();
assertThat(thriftyGeolocationMinTimeRule.name()).isEqualTo("Sobriety: Thrifty Geolocation (minTime)");
assertThat(thriftyGeolocationMinTimeRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyGeolocationMinTimeRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyGeolocationCriteriaRule = repository.rule("EC524");
+ Rule thriftyGeolocationCriteriaRule = repository.rule("GCI524");
assertThat(thriftyGeolocationCriteriaRule).isNotNull();
assertThat(thriftyGeolocationCriteriaRule.name()).isEqualTo("Sobriety: Thrifty Geolocation Criteria");
assertThat(thriftyGeolocationCriteriaRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyGeolocationCriteriaRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyBluetoothLowEnergySetAdvertiseMode = repository.rule("EC525");
+ Rule thriftyBluetoothLowEnergySetAdvertiseMode = repository.rule("GCI525");
assertThat(thriftyBluetoothLowEnergySetAdvertiseMode).isNotNull();
assertThat(thriftyBluetoothLowEnergySetAdvertiseMode.name()).isEqualTo("Sobriety: Thrifty Bluetooth Low Energy (setAdvertiseMode)");
assertThat(thriftyBluetoothLowEnergySetAdvertiseMode.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyBluetoothLowEnergySetAdvertiseMode.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyBluetoothLowEnergyRequestConnectionPriority = repository.rule("EC526");
+ Rule thriftyBluetoothLowEnergyRequestConnectionPriority = repository.rule("GCI526");
assertThat(thriftyBluetoothLowEnergyRequestConnectionPriority).isNotNull();
assertThat(thriftyBluetoothLowEnergyRequestConnectionPriority.name()).isEqualTo("Sobriety: Thrifty Bluetooth Low Energy (requestConnectionPriority)");
assertThat(thriftyBluetoothLowEnergyRequestConnectionPriority.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyBluetoothLowEnergyRequestConnectionPriority.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyGeolocationMinDistanceRule = repository.rule("EC527");
+ Rule thriftyGeolocationMinDistanceRule = repository.rule("GCI527");
assertThat(thriftyGeolocationMinDistanceRule).isNotNull();
assertThat(thriftyGeolocationMinDistanceRule.name()).isEqualTo("Sobriety: Thrifty Geolocation (minDistance)");
assertThat(thriftyGeolocationMinDistanceRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyGeolocationMinDistanceRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule vibrationFreeRule = repository.rule("EC528");
+ Rule vibrationFreeRule = repository.rule("GCI528");
assertThat(vibrationFreeRule).isNotNull();
assertThat(vibrationFreeRule.name()).isEqualTo("Sobriety: Vibration Free");
assertThat(vibrationFreeRule.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(vibrationFreeRule.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule thriftyNotification = repository.rule("EC529");
+ Rule thriftyNotification = repository.rule("GCI529");
assertThat(thriftyNotification).isNotNull();
assertThat(thriftyNotification.name()).isEqualTo("Sobriety: Thrifty Notification");
assertThat(thriftyNotification.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(thriftyNotification.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule torchFree = repository.rule("EC530");
+ Rule torchFree = repository.rule("GCI530");
assertThat(torchFree).isNotNull();
assertThat(torchFree.name()).isEqualTo("Sobriety: Torch Free");
assertThat(torchFree.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
assertThat(torchFree.type()).isEqualTo(RuleType.CODE_SMELL);
- Rule highFrameRate = repository.rule("EC531");
+ Rule highFrameRate = repository.rule("GCI531");
assertThat(highFrameRate).isNotNull();
assertThat(highFrameRate.name()).isEqualTo("Sobriety: High Frame Rate");
assertThat(highFrameRate.debtRemediationFunction().type()).isEqualTo(Type.CONSTANT_ISSUE);
diff --git a/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java b/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java
index f3738826..0d11ae7f 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java
+++ b/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java
@@ -35,39 +35,39 @@ public void test() {
assertThat(repository.language()).isEqualTo(Xml.KEY);
assertThat(repository.rules()).hasSize(XmlCheckList.getXmlChecks().size());
- RulesDefinition.Rule serviceBootTimeXmlRule = repository.rule("EC540");
+ RulesDefinition.Rule serviceBootTimeXmlRule = repository.rule("GCI540");
assertThat(serviceBootTimeXmlRule).isNotNull();
assertThat(serviceBootTimeXmlRule.name()).isEqualTo("Batch: Service Boot Time");
- RulesDefinition.Rule keepScreenOnXmlRule = repository.rule("EC541");
+ RulesDefinition.Rule keepScreenOnXmlRule = repository.rule("GCI541");
assertThat(keepScreenOnXmlRule).isNotNull();
assertThat(keepScreenOnXmlRule.name()).isEqualTo("Idleness: Keep Screen On");
- RulesDefinition.Rule keepCpuOnXmlRule = repository.rule("EC542");
+ RulesDefinition.Rule keepCpuOnXmlRule = repository.rule("GCI542");
assertThat(keepCpuOnXmlRule).isNotNull();
assertThat(keepCpuOnXmlRule.name()).isEqualTo("Idleness: Keep CPU On");
- RulesDefinition.Rule compagnionInBackgroundXmlRule = repository.rule("EC543");
+ RulesDefinition.Rule compagnionInBackgroundXmlRule = repository.rule("GCI543");
assertThat(compagnionInBackgroundXmlRule).isNotNull();
assertThat(compagnionInBackgroundXmlRule.name()).isEqualTo("Power: Compagnion In Background");
- RulesDefinition.Rule ignoreBatteryOptimizationsXmlRule = repository.rule("EC544");
+ RulesDefinition.Rule ignoreBatteryOptimizationsXmlRule = repository.rule("GCI544");
assertThat(ignoreBatteryOptimizationsXmlRule).isNotNull();
assertThat(ignoreBatteryOptimizationsXmlRule.name()).isEqualTo("Power: Ignore Battery Optimizations");
- RulesDefinition.Rule chargeAwarenessXmlRule = repository.rule("EC545");
+ RulesDefinition.Rule chargeAwarenessXmlRule = repository.rule("GCI545");
assertThat(chargeAwarenessXmlRule).isNotNull();
assertThat(chargeAwarenessXmlRule.name()).isEqualTo("Power: Charge Awareness");
- RulesDefinition.Rule DarkUIBrightColorsXmlRule = repository.rule("EC547");
+ RulesDefinition.Rule DarkUIBrightColorsXmlRule = repository.rule("GCI547");
assertThat(DarkUIBrightColorsXmlRule).isNotNull();
assertThat(DarkUIBrightColorsXmlRule.name()).isEqualTo("Sobriety: Dark UI (Bright Colors)");
- RulesDefinition.Rule DarkUIThemeXmlRule = repository.rule("EC548");
+ RulesDefinition.Rule DarkUIThemeXmlRule = repository.rule("GCI548");
assertThat(DarkUIThemeXmlRule).isNotNull();
assertThat(DarkUIThemeXmlRule.name()).isEqualTo("Sobriety: Dark UI (Theme)");
- RulesDefinition.Rule saveModeAwarenessXml = repository.rule("EC546");
+ RulesDefinition.Rule saveModeAwarenessXml = repository.rule("GCI546");
assertThat(saveModeAwarenessXml).isNotNull();
assertThat(saveModeAwarenessXml.name()).isEqualTo("Power: Save Mode Awareness");
diff --git a/codenarc-converter/CodeNarc/build.gradle b/codenarc-converter/CodeNarc/build.gradle
index 50e3b8df..eab46dec 100644
--- a/codenarc-converter/CodeNarc/build.gradle
+++ b/codenarc-converter/CodeNarc/build.gradle
@@ -14,7 +14,7 @@ shadowJar {
group = 'org.codenarc'
archivesBaseName = 'CodeNarc'
-version = '2.2.5'
+version = '3.5.0'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
diff --git a/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRules.groovy.txt b/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRules.groovy.txt
index 85979380..6a7c9117 100644
--- a/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRules.groovy.txt
+++ b/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRules.groovy.txt
@@ -87,7 +87,7 @@ ruleset {
DuplicateNumberLiteral
DuplicateSetValue
DuplicateStringLiteral
- EC5001
+ GCI5001
ElseBlockBraces
EmptyCatchBlock
EmptyClass
@@ -402,4 +402,4 @@ ruleset {
WaitOutsideOfWhileLoop
WhileStatementBraces
-}
\ No newline at end of file
+}
diff --git a/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRulesByCategory.groovy.txt b/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRulesByCategory.groovy.txt
index 35488472..003b04ae 100644
--- a/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRulesByCategory.groovy.txt
+++ b/codenarc-converter/CodeNarc/docs/StarterRuleSet-AllRulesByCategory.groovy.txt
@@ -166,8 +166,8 @@ ruleset {
DuplicateStringLiteral
// rulesets/ecocode.xml
- EC5001
- EC5003
+ GCI5001
+ GCI5003
// rulesets/enhanced.xml
CloneWithoutCloneable
@@ -451,4 +451,4 @@ ruleset {
UnusedVariable
-}
\ No newline at end of file
+}
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md b/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
index 2c117951..c05b0333 100644
--- a/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
+++ b/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
@@ -89,7 +89,7 @@ title: CodeNarc - Rule Index by Name
* [DuplicateNumberLiteral](./codenarc-rules-dry.html#duplicatenumberliteral-rule)
* [DuplicateSetValue](./codenarc-rules-basic.html#duplicatesetvalue-rule)
* [DuplicateStringLiteral](./codenarc-rules-dry.html#duplicatestringliteral-rule)
-* [EC5001](./codenarc-rules-ecocode.html#EC5001-rule)
+* [GCI5001](./codenarc-rules-ecocode.html#GCI5001-rule)
* [ElseBlockBraces](./codenarc-rules-braces.html#elseblockbraces-rule)
* [EmptyCatchBlock](./codenarc-rules-basic.html#emptycatchblock-rule)
* [EmptyClass](./codenarc-rules-basic.html#emptyclass-rule)
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md b/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
index 616375b1..f9e532a5 100644
--- a/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
+++ b/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
@@ -167,7 +167,7 @@ title: CodeNarc - Rule Index
* [DuplicateStringLiteral](./codenarc-rules-dry.html#duplicatestringliteral-rule)
## [Ecocode](./codenarc-rules-ecocode.html)
-* [EC5001](./codenarc-rules-ecocode.html#EC5001-rule)
+* [GCI5001](./codenarc-rules-ecocode.html#GCI5001-rule)
## [Enhanced](./codenarc-rules-enhanced.html)
* [CloneWithoutCloneable](./codenarc-rules-enhanced.html#clonewithoutcloneable-rule)
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md b/codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md
index 6280f050..e31dd1cc 100644
--- a/codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md
+++ b/codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md
@@ -5,7 +5,7 @@ title: CodeNarc - Ecocode Rules
# Ecocode Rules ("*rulesets/ecocode.xml*")
-## EC5001 Rule
+## GCI5001 Rule
*Since CodeNarc 2.2.1*
@@ -45,7 +45,7 @@ Example of violations:
}
```
-## EC5003 Rule
+## GCI5003 Rule
*Since CodeNarc 2.2.3*
diff --git a/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/EC5001.groovy b/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/GCI5001.groovy
similarity index 92%
rename from codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/EC5001.groovy
rename to codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/GCI5001.groovy
index e91f40df..c1738655 100644
--- a/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/EC5001.groovy
+++ b/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/GCI5001.groovy
@@ -29,14 +29,14 @@ import org.codenarc.util.AstUtil
*
* @author Leboulanger Mickael
*/
-class EC5001 extends AbstractAstVisitorRule {
+class GCI5001 extends AbstractAstVisitorRule {
- String name = 'EC5001'
+ String name = 'GCI5001'
int priority = 2
- Class astVisitorClass = EC5001AstVisitor
+ Class astVisitorClass = GCI5001AstVisitor
}
-class EC5001AstVisitor extends AbstractAstVisitor {
+class GCI5001AstVisitor extends AbstractAstVisitor {
@Override
void visitMethodCallExpression(MethodCallExpression methodCallExpression) {
diff --git a/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-messages.properties b/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-messages.properties
index 4d8ad6b2..2663cd2d 100644
--- a/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-messages.properties
+++ b/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-messages.properties
@@ -1,6 +1,6 @@
-EC5001.description=Using "multiDexEnabled true" goes against the overall reduction of the weight of the apps and hence must be avoided.
-EC5001.description.html=Using "multiDexEnabled true" goes against the overall reduction of the weight of the apps and hence must be avoided.
+GCI5001.description=Using "multiDexEnabled true" goes against the overall reduction of the weight of the apps and hence must be avoided.
+GCI5001.description.html=Using "multiDexEnabled true" goes against the overall reduction of the weight of the apps and hence must be avoided.
ParameterAssignmentInFilterClosure.description=An assignment operator was used on a parameter in a filtering closure. This is usually a typo, and the comparison operator (==) was intended.
ParameterAssignmentInFilterClosure.description.html=An assignment operator was used on a parameter in a filtering closure. This is usually a typo, and the comparison operator (==) was intended.
diff --git a/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-rules.properties b/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-rules.properties
index ec4b6d7d..b8c60f85 100644
--- a/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-rules.properties
+++ b/codenarc-converter/CodeNarc/src/main/resources/codenarc-base-rules.properties
@@ -80,7 +80,7 @@ DuplicateMapLiteral = org.codenarc.rule.dry.DuplicateMapLiteralRule
DuplicateNumberLiteral = org.codenarc.rule.dry.DuplicateNumberLiteralRule
DuplicateSetValue = org.codenarc.rule.basic.DuplicateSetValueRule
DuplicateStringLiteral = org.codenarc.rule.dry.DuplicateStringLiteralRule
-EC5001 = org.codenarc.rule.ecocode.EC5001
+GCI5001 = org.codenarc.rule.ecocode.GCI5001
ElseBlockBraces = org.codenarc.rule.braces.ElseBlockBracesRule
EmptyCatchBlock = org.codenarc.rule.basic.EmptyCatchBlockRule
EmptyClass = org.codenarc.rule.basic.EmptyClassRule
diff --git a/codenarc-converter/CodeNarc/src/main/resources/codenarc-version.txt b/codenarc-converter/CodeNarc/src/main/resources/codenarc-version.txt
index 21bb5e15..1545d966 100644
--- a/codenarc-converter/CodeNarc/src/main/resources/codenarc-version.txt
+++ b/codenarc-converter/CodeNarc/src/main/resources/codenarc-version.txt
@@ -1 +1 @@
-2.2.5
+3.5.0
diff --git a/codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml b/codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml
index ef702037..f2b6f6b2 100644
--- a/codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml
+++ b/codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml
@@ -7,5 +7,5 @@
EcoCode rule set.
-
+
diff --git a/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/EC5001Test.groovy b/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/GCI5001Test.groovy
similarity index 97%
rename from codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/EC5001Test.groovy
rename to codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/GCI5001Test.groovy
index 2563fc6e..6ad34a59 100644
--- a/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/EC5001Test.groovy
+++ b/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/GCI5001Test.groovy
@@ -19,16 +19,16 @@ import org.junit.Test
import org.codenarc.rule.AbstractRuleTestCase
/**
- * Tests for EC5001 (Fat App Rule)
+ * Tests for GCI5001 (Fat App Rule)
*
* @author Leboulanger Mickael
*/
-class EC5001Test extends AbstractRuleTestCase {
+class GCI5001Test extends AbstractRuleTestCase {
@Test
void test_RuleProperties() {
assert rule.priority == 2
- assert rule.name == 'EC5001'
+ assert rule.name == 'GCI5001'
}
@Test
@@ -212,8 +212,8 @@ class EC5001Test extends AbstractRuleTestCase {
}
@Override
- protected EC5001 createRule() {
- new EC5001()
+ protected GCI5001 createRule() {
+ new GCI5001()
}
private String getViolationMessage() {
return 'Using "multiDexEnabled true" goes against the overall reduction of the weight of the apps and hence must be avoided.'
diff --git a/codenarc-converter/pom.xml b/codenarc-converter/pom.xml
index 8e4f65c8..ea02976a 100644
--- a/codenarc-converter/pom.xml
+++ b/codenarc-converter/pom.xml
@@ -16,7 +16,7 @@
https://github.com/green-code-initiative/ecocode-android/tree/main/codenarc-converter
- 2.2.5
+ 3.5.0
1.8.2
true
diff --git a/tool_prepare-codenarc.bat b/tool_prepare-codenarc.bat
index c5223c9d..48fff796 100644
--- a/tool_prepare-codenarc.bat
+++ b/tool_prepare-codenarc.bat
@@ -1,5 +1,5 @@
REM == Define CodeNarc version
-set codenarc_version=2.2.5
+set codenarc_version=3.5.0
REM == Build CodeNarc
cd codenarc-converter/CodeNarc
diff --git a/tool_prepare-codenarc.sh b/tool_prepare-codenarc.sh
index 993baf85..058f7494 100755
--- a/tool_prepare-codenarc.sh
+++ b/tool_prepare-codenarc.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# Define CodeNarc version
-codenarcVersion="2.2.5"
+codenarcVersion="3.5.0"
# Build CodeNarc
cd codenarc-converter/CodeNarc
From 077289f0193f33da88941d20848611f98d8770da Mon Sep 17 00:00:00 2001
From: Vincent Marmin <3215889+vincent314@users.noreply.github.com>
Date: Tue, 17 Dec 2024 09:23:30 +0100
Subject: [PATCH 2/2] chore: rename files and in files matches of ecoCode to
creedengo
---
.github/workflows/build.yml | 2 +-
.github/workflows/build_container.yml | 4 +--
.github/workflows/tag_release.yml | 8 ++---
CITATION.cff | 2 +-
CODE_STYLE.md | 2 +-
CONTRIBUTING.md | 2 +-
Dockerfile | 6 ++--
INSTALL.md | 8 ++---
README.md | 20 ++++++------
android-plugin/CONTRIBUTING.md | 4 +--
android-plugin/NOTICE.txt | 4 +--
android-plugin/README.md | 24 +++++++-------
android-plugin/docker-compose.yml | 8 ++---
android-plugin/pom.xml | 14 ++++----
.../creedengo/CreedengoRulesPlugin.java} | 26 +++++++--------
.../creedengo}/java/Java.java | 16 +++++-----
.../creedengo}/java/JavaCheckList.java | 32 +++++++++----------
.../creedengo/java/JavaCreedengoProfile.java} | 14 ++++----
.../java/JavaFileCheckRegistrar.java | 6 ++--
.../creedengo}/java/JavaRulesDefinition.java | 6 ++--
.../environment/batch/JobCoalesceRule.java | 6 ++--
.../environment/batch/SensorCoalesceRule.java | 8 ++---
.../bottleneck/InternetInTheLoopRule.java | 6 ++--
.../UncompressedDataTransmissionRule.java | 8 ++---
.../bottleneck/WifiMulticastLockRule.java | 8 ++---
.../idleness/ContinuousRenderingRule.java | 8 ++---
.../idleness/DurableWakeLockRule.java | 6 ++--
.../environment/idleness/KeepCpuOnRule.java | 8 ++---
.../idleness/KeepScreenOnAddFlagsRule.java | 8 ++---
.../idleness/KeepScreenOnSetFlagsRule.java | 8 ++---
.../idleness/KeepVoiceAwakeRule.java | 8 ++---
.../environment/idleness/RigidAlarmRule.java | 8 ++---
.../environment/leakage/CameraLeakRule.java | 8 ++---
.../environment/leakage/LocationLeakRule.java | 8 ++---
.../leakage/MediaLeakMediaPlayerRule.java | 8 ++---
.../leakage/MediaLeakMediaRecorderRule.java | 8 ++---
.../leakage/SensorManagerLeakRule.java | 8 ++---
.../optimized_api/BluetoothLowEnergyRule.java | 8 ++---
.../optimized_api/FusedLocationRule.java | 8 ++---
.../power/ChargeAwarenessRule.java | 6 ++--
.../power/SaveModeAwarenessRule.java | 6 ++--
.../sobriety/BrightnessOverrideRule.java | 6 ++--
.../sobriety/HighFrameRateRule.java | 8 ++---
...owEnergyRequestConnectionPriorityRule.java | 8 ++---
...luetoothLowEnergySetAdvertiseModeRule.java | 8 ++---
.../ThriftyGeolocationCriteriaRule.java | 6 ++--
.../ThriftyGeolocationMinDistanceRule.java | 8 ++---
.../ThriftyGeolocationMinTimeRule.java | 8 ++---
.../sobriety/ThriftyMotionSensorRule.java | 8 ++---
.../sobriety/ThriftyNotificationRule.java | 6 ++--
.../environment/sobriety/TorchFreeRule.java | 8 ++---
.../sobriety/VibrationFreeRule.java | 10 +++---
.../CheckArgumentComplexTypeUtils.java | 6 ++--
.../helpers/ConstructorBeforeMethodCheck.java | 6 ++--
.../helpers/OpeningClosingMethodCheck.java | 6 ++--
.../checks/helpers/SpecificMethodCheck.java | 8 ++---
.../java/checks/helpers/TreeHelper.java | 6 ++--
.../constant/ArgumentValueOnMethodCheck.java | 8 ++---
.../constant/ConstantOnMethodCheck.java | 6 ++--
.../helpers/constant/FlagOnMethodCheck.java | 6 ++--
.../checks/helpers/constant/MethodSpecs.java | 6 ++--
.../social/privacy/GoogleTrackerRule.java | 8 ++---
.../creedengo}/xml/Xml.java | 16 +++++-----
.../creedengo}/xml/XmlCheckList.java | 24 +++++++-------
.../creedengo/xml/XmlCreedengoProfile.java} | 14 ++++----
.../creedengo}/xml/XmlRulesDefinition.java | 6 ++--
.../creedengo}/xml/XmlSensor.java | 8 ++---
.../creedengo}/xml/checks/XPathCheck.java | 6 ++--
.../xml/checks/XPathSimpleCheck.java | 6 ++--
.../checks/batch/ServiceBootTimeXmlRule.java | 12 +++----
.../checks/helpers/CheckPermissionsRule.java | 8 ++---
.../xml/checks/idleness/KeepCpuOnXmlRule.java | 10 +++---
.../checks/idleness/KeepScreenOnXmlRule.java | 12 +++----
.../checks/power/ChargeAwarenessXmlRule.java | 12 +++----
.../power/CompagnionInBackgroundXmlRule.java | 12 +++----
.../IgnoreBatteryOptimizationsXmlRule.java | 12 +++----
.../power/SaveModeAwarenessXmlRule.java | 12 +++----
.../sobriety/DarkUIBrightColorsXmlRule.java | 10 +++---
.../checks/sobriety/DarkUIThemeXmlRule.java | 8 ++---
.../codenarc/CodeNarcRulesDefinition.java | 2 +-
.../plugins/groovy/foundation/Groovy.java | 2 +-
.../android/java/creedengo_java_profile.json} | 2 +-
.../android/xml/creedengo_xml_profile.json} | 2 +-
.../creedengo}/rules/java/GCI500.html | 0
.../creedengo}/rules/java/GCI500.json | 0
.../creedengo}/rules/java/GCI501.html | 0
.../creedengo}/rules/java/GCI501.json | 0
.../creedengo}/rules/java/GCI502.html | 0
.../creedengo}/rules/java/GCI502.json | 0
.../creedengo}/rules/java/GCI503.html | 0
.../creedengo}/rules/java/GCI503.json | 0
.../creedengo}/rules/java/GCI504.html | 0
.../creedengo}/rules/java/GCI504.json | 0
.../creedengo}/rules/java/GCI505.html | 0
.../creedengo}/rules/java/GCI505.json | 0
.../creedengo}/rules/java/GCI506.html | 0
.../creedengo}/rules/java/GCI506.json | 0
.../creedengo}/rules/java/GCI507.html | 0
.../creedengo}/rules/java/GCI507.json | 0
.../creedengo}/rules/java/GCI508.html | 0
.../creedengo}/rules/java/GCI508.json | 0
.../creedengo}/rules/java/GCI509.html | 0
.../creedengo}/rules/java/GCI509.json | 0
.../creedengo}/rules/java/GCI510.html | 0
.../creedengo}/rules/java/GCI510.json | 0
.../creedengo}/rules/java/GCI511.html | 0
.../creedengo}/rules/java/GCI511.json | 0
.../creedengo}/rules/java/GCI512.html | 0
.../creedengo}/rules/java/GCI512.json | 0
.../creedengo}/rules/java/GCI513.html | 0
.../creedengo}/rules/java/GCI513.json | 0
.../creedengo}/rules/java/GCI514.html | 0
.../creedengo}/rules/java/GCI514.json | 0
.../creedengo}/rules/java/GCI515.html | 0
.../creedengo}/rules/java/GCI515.json | 0
.../creedengo}/rules/java/GCI516.html | 0
.../creedengo}/rules/java/GCI516.json | 0
.../creedengo}/rules/java/GCI517.html | 0
.../creedengo}/rules/java/GCI517.json | 0
.../creedengo}/rules/java/GCI518.html | 0
.../creedengo}/rules/java/GCI518.json | 0
.../creedengo}/rules/java/GCI519.html | 0
.../creedengo}/rules/java/GCI519.json | 0
.../creedengo}/rules/java/GCI520.html | 0
.../creedengo}/rules/java/GCI520.json | 0
.../creedengo}/rules/java/GCI521.html | 0
.../creedengo}/rules/java/GCI521.json | 0
.../creedengo}/rules/java/GCI522.html | 0
.../creedengo}/rules/java/GCI522.json | 0
.../creedengo}/rules/java/GCI523.html | 0
.../creedengo}/rules/java/GCI523.json | 0
.../creedengo}/rules/java/GCI524.html | 0
.../creedengo}/rules/java/GCI524.json | 0
.../creedengo}/rules/java/GCI525.html | 0
.../creedengo}/rules/java/GCI525.json | 0
.../creedengo}/rules/java/GCI526.html | 0
.../creedengo}/rules/java/GCI526.json | 0
.../creedengo}/rules/java/GCI527.html | 0
.../creedengo}/rules/java/GCI527.json | 0
.../creedengo}/rules/java/GCI528.html | 0
.../creedengo}/rules/java/GCI528.json | 0
.../creedengo}/rules/java/GCI529.html | 0
.../creedengo}/rules/java/GCI529.json | 0
.../creedengo}/rules/java/GCI530.html | 0
.../creedengo}/rules/java/GCI530.json | 0
.../creedengo}/rules/java/GCI531.html | 0
.../creedengo}/rules/java/GCI531.json | 0
.../creedengo}/rules/java/GCI532.html | 0
.../creedengo}/rules/java/GCI532.json | 0
.../creedengo}/rules/java/README.md | 4 +--
.../creedengo}/rules/xml/GCI540.html | 0
.../creedengo}/rules/xml/GCI540.json | 0
.../creedengo}/rules/xml/GCI541.html | 0
.../creedengo}/rules/xml/GCI541.json | 0
.../creedengo}/rules/xml/GCI542.html | 0
.../creedengo}/rules/xml/GCI542.json | 0
.../creedengo}/rules/xml/GCI543.html | 0
.../creedengo}/rules/xml/GCI543.json | 0
.../creedengo}/rules/xml/GCI544.html | 0
.../creedengo}/rules/xml/GCI544.json | 0
.../creedengo}/rules/xml/GCI545.html | 0
.../creedengo}/rules/xml/GCI545.json | 0
.../creedengo}/rules/xml/GCI546.html | 0
.../creedengo}/rules/xml/GCI546.json | 0
.../creedengo}/rules/xml/GCI547.html | 0
.../creedengo}/rules/xml/GCI547.json | 0
.../creedengo}/rules/xml/GCI548.html | 0
.../creedengo}/rules/xml/GCI548.json | 0
.../creedengo}/rules/xml/README.md | 4 +--
.../batch/JobCoalesceCheckAlarmManager.java | 6 ++--
.../batch/JobCoalesceCheckSyncAdapter.java | 6 ++--
.../batch/SensorCoalesceCheck.java | 6 ++--
.../bottleneck/InternetInTheLoopCheck.java | 4 +--
.../UncompressedDataTransmissionCheck.java | 4 +--
.../bottleneck/WifiMulticastLockCheck.java | 4 +--
.../WifiMulticastLockNoIssueCheck.java | 4 +--
.../idleness/ContinuousRenderingCheck.java | 4 +--
.../idleness/DurableWakeLockCheck.java | 4 +--
.../environment/idleness/KeepCpuOnCheck.java | 4 +--
.../idleness/KeepScreenOnAddFlagsCheck.java | 6 ++--
.../idleness/KeepScreenOnSetFlagsCheck.java | 6 ++--
.../idleness/KeepVoiceAwakeCheck.java | 4 +--
.../KeepVoiceAwakeNotPresentCheck.java | 4 +--
.../idleness/KeepVoiceAwakeToFalseCheck.java | 4 +--
.../environment/idleness/RigidAlarmCheck.java | 4 +--
.../leakage/CameraLeakCheckIssue.java | 6 ++--
.../leakage/CameraLeakCheckNoIssue.java | 6 ++--
.../leakage/LocationLeakCheckIssue.java | 6 ++--
.../leakage/LocationLealCheckNoIssue.java | 6 ++--
.../MediaLeakMediaPlayerCheckIssue.java | 6 ++--
.../MediaLeakMediaPlayerCheckNoIssue.java | 6 ++--
.../MediaLeakMediaRecorderCheckIssue.java | 6 ++--
.../MediaLeakMediaRecorderCheckNoIssue.java | 6 ++--
.../leakage/SensorManagerLeakCheckIssue.java | 4 +--
.../SensorManagerLeakCheckNoIssue.java | 6 ++--
.../BluetoothLowEnergyCheckBothBleBc.java | 4 +--
.../BluetoothLowEnergyCheckOnlyBc.java | 4 +--
.../BluetoothLowEnergyCheckOnlyBle.java | 4 +--
.../BluetoothLowEnergyCheckWildcard.java | 4 +--
.../optimized_api/FusedLocationCheck.java | 4 +--
.../FusedLocationCheckNoIssue.java | 4 +--
.../power/ChargeAwarenessCheck.java | 6 ++--
.../SaveModeAwarenessCheckIntentFilter.java | 6 ++--
.../SaveModeAwarenessCheckPowerManager.java | 6 ++--
.../sobriety/BrightnessOverrideCheck.java | 4 +--
.../sobriety/HighFrameRateCheck.java | 6 ++--
...wEnergyRequestConnectionPriorityCheck.java | 4 +--
...uetoothLowEnergySetAdvertiseModeCheck.java | 4 +--
.../sobriety/ThriftyGeolocationCheck.java | 4 +--
...ftyGeolocationCriteriaCheckNoCriteria.java | 4 +--
...hriftyGeolocationCriteriaCheckNoIssue.java | 4 +--
...tyGeolocationCriteriaCheckOnlyRequest.java | 4 +--
...GeolocationCriteriaCheckWrongCriteria.java | 4 +--
.../sobriety/ThriftyMotionSensorCheck.java | 4 +--
.../ThriftyNotificationCheckBuilder.java | 6 ++--
.../ThriftyNotificationCheckChannel.java | 4 +--
.../environment/sobriety/TorchFreeCheck.java | 4 +--
.../sobriety/VibrationFreeCheckActivity.java | 6 ++--
.../sobriety/VibrationFreeCheckContext.java | 6 ++--
.../privacy/GoogleTrackerFirebaseCheck.java | 4 +--
.../GoogleTrackerGoogleAndFirebaseCheck.java | 4 +--
.../privacy/GoogleTrackerGoogleCheck.java | 4 +--
.../creedengo/CreedengoRulesPluginTest.java} | 6 ++--
.../java/JavaCreedengoProfileTest.java} | 10 +++---
.../java/JavaRulesDefinitionTest.java | 6 ++--
.../batch/JobCoalesceRuleTest.java | 6 ++--
.../batch/SensorCoalesceRuleTest.java | 6 ++--
.../bottleneck/InternetInTheLoopRuleTest.java | 6 ++--
...UncompressedDataTransmissionRulesTest.java | 6 ++--
.../bottleneck/WifiMulticastLockRuleTest.java | 6 ++--
.../idleness/ContinuousRenderingTest.java | 6 ++--
.../idleness/DurableWakeLockRuleTest.java | 6 ++--
.../idleness/KeepCpuOnRuleTest.java | 6 ++--
.../KeepScreenOnAddFlagsRuleTest.java | 6 ++--
.../KeepScreenOnSetFlagsRuleTest.java | 6 ++--
.../idleness/KeepVoiceAwakeTest.java | 6 ++--
.../idleness/RigidAlarmRuleTest.java | 6 ++--
.../leakage/CameraLeakRuleTest.java | 6 ++--
.../leakage/LocationLeakRuleTest.java | 6 ++--
.../leakage/MediaLeakMediaPlayerRuleTest.java | 6 ++--
.../MediaLeakMediaRecorderRuleTest.java | 6 ++--
.../leakage/SensorManagerLeakRuleTest.java | 6 ++--
.../BluetoothLowEnergyRuleTest.java | 6 ++--
.../optimized_api/FusedLocationCheckTest.java | 6 ++--
.../power/ChargeAwarenessRuleTest.java | 6 ++--
.../power/SaveModeAwarenessRuleTest.java | 8 ++---
.../sobriety/BrightnessOverrideRuleTest.java | 6 ++--
.../sobriety/HighFrameRateCheckTest.java | 8 ++---
...ergyRequestConnectionPriorityRuleTest.java | 6 ++--
...oothLowEnergySetAdvertiseModeRuleTest.java | 6 ++--
.../sobriety/ThriftyGeolocationCheckTest.java | 6 ++--
.../ThriftyGeolocationCriteriaTest.java | 6 ++--
.../sobriety/ThriftyMotionSensorRuleTest.java | 6 ++--
.../sobriety/ThriftyNotificationRuleTest.java | 6 ++--
.../sobriety/TorchFreeRuleTest.java | 6 ++--
.../sobriety/VibrationFreeRuleTest.java | 6 ++--
.../social/privacy/GoogleTrackerRuleTest.java | 7 ++--
.../xml/XmlCreedengoProfileTest.java} | 10 +++---
.../xml/XmlRulesDefinitionTest.java | 6 ++--
.../batch/ServiceBootTimeXmlRuleTest.java | 6 ++--
.../checks/idleness/KeepCpuOnXmlRuleTest.java | 6 ++--
.../idleness/KeepScreenOnXmlRuleTest.java | 6 ++--
.../power/ChargeAwarenessXmlRuleTest.java | 6 ++--
.../CompagnionInBackgroundXmlRuleTest.java | 6 ++--
...IgnoreBatteryOptimizationsXmlRuleTest.java | 6 ++--
.../power/SaveModeAwarenessXmlRuleTest.java | 8 ++---
.../DarkUIBrightColorsXmlRuleTest.java | 6 ++--
.../sobriety/DarkUIThemeXmlRuleTest.java | 6 ++--
.../docs/codenarc-rule-index-by-name.md | 2 +-
.../CodeNarc/docs/codenarc-rule-index.md | 4 +--
...ecocode.md => codenarc-rules-creedengo.md} | 0
.../{ecocode => creedengo}/GCI5001.groovy | 0
.../rulesets/{ecocode.xml => creedengo.xml} | 0
.../{ecocode => creedengo}/GCI5001Test.groovy | 0
codenarc-converter/README.md | 2 +-
codenarc-converter/pom.xml | 6 ++--
.../parser/markdown/MarkdownParser.java | 2 +-
docker-compose.yml | 8 ++---
pom.xml | 20 ++++++------
279 files changed, 654 insertions(+), 655 deletions(-)
rename android-plugin/src/main/java/{io/ecocode/EcoCodeRulesPlugin.java => org/greencodeinitiative/creedengo/CreedengoRulesPlugin.java} (71%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/Java.java (54%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/JavaCheckList.java (69%)
rename android-plugin/src/main/java/{io/ecocode/java/JavaEcoCodeProfile.java => org/greencodeinitiative/creedengo/java/JavaCreedengoProfile.java} (60%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/JavaFileCheckRegistrar.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/JavaRulesDefinition.java (95%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/batch/JobCoalesceRule.java (93%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/batch/SensorCoalesceRule.java (91%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/InternetInTheLoopRule.java (91%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java (93%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/WifiMulticastLockRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/ContinuousRenderingRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/DurableWakeLockRule.java (88%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepCpuOnRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepVoiceAwakeRule.java (94%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/RigidAlarmRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/CameraLeakRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/LocationLeakRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/SensorManagerLeakRule.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java (94%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/optimized_api/FusedLocationRule.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/power/ChargeAwarenessRule.java (94%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/power/SaveModeAwarenessRule.java (94%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/BrightnessOverrideRule.java (95%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/HighFrameRateRule.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java (82%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java (81%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java (95%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java (92%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java (91%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyMotionSensorRule.java (79%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyNotificationRule.java (92%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/TorchFreeRule.java (83%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/VibrationFreeRule.java (82%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/CheckArgumentComplexTypeUtils.java (88%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/ConstructorBeforeMethodCheck.java (92%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/OpeningClosingMethodCheck.java (93%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/SpecificMethodCheck.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/TreeHelper.java (96%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java (93%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/constant/ConstantOnMethodCheck.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/constant/FlagOnMethodCheck.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/helpers/constant/MethodSpecs.java (87%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/social/privacy/GoogleTrackerRule.java (94%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/Xml.java (56%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/XmlCheckList.java (56%)
rename android-plugin/src/main/java/{io/ecocode/xml/XmlEcoCodeProfile.java => org/greencodeinitiative/creedengo/xml/XmlCreedengoProfile.java} (60%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/XmlRulesDefinition.java (87%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/XmlSensor.java (92%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/XPathCheck.java (92%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/XPathSimpleCheck.java (80%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/batch/ServiceBootTimeXmlRule.java (75%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/helpers/CheckPermissionsRule.java (82%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/idleness/KeepCpuOnXmlRule.java (76%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/idleness/KeepScreenOnXmlRule.java (72%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/ChargeAwarenessXmlRule.java (81%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/CompagnionInBackgroundXmlRule.java (74%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java (73%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/SaveModeAwarenessXmlRule.java (76%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java (89%)
rename android-plugin/src/main/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/sobriety/DarkUIThemeXmlRule.java (92%)
rename android-plugin/src/main/resources/{io/ecocode/android/java/ecocode_java_profile.json => org/greencodeinitiative/creedengo/android/java/creedengo_java_profile.json} (93%)
rename android-plugin/src/main/resources/{io/ecocode/android/xml/ecocode_xml_profile.json => org/greencodeinitiative/creedengo/android/xml/creedengo_xml_profile.json} (81%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI500.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI500.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI501.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI501.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI502.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI502.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI503.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI503.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI504.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI504.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI505.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI505.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI506.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI506.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI507.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI507.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI508.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI508.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI509.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI509.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI510.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI510.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI511.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI511.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI512.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI512.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI513.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI513.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI514.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI514.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI515.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI515.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI516.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI516.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI517.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI517.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI518.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI518.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI519.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI519.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI520.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI520.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI521.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI521.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI522.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI522.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI523.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI523.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI524.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI524.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI525.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI525.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI526.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI526.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI527.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI527.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI528.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI528.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI529.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI529.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI530.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI530.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI531.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI531.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI532.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/GCI532.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/java/README.md (76%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI540.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI540.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI541.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI541.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI542.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI542.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI543.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI543.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI544.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI544.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI545.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI545.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI546.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI546.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI547.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI547.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI548.html (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/GCI548.json (100%)
rename android-plugin/src/main/resources/{io/ecocode => org/greencodeinitiative/creedengo}/rules/xml/README.md (76%)
rename android-plugin/src/test/java/{io/ecocode/EcoCodeRulesPluginTest.java => org/greencodeinitiative/creedengo/CreedengoRulesPluginTest.java} (82%)
rename android-plugin/src/test/java/{io/ecocode/java/JavaEcoCodeProfileTest.java => org/greencodeinitiative/creedengo/java/JavaCreedengoProfileTest.java} (81%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/JavaRulesDefinitionTest.java (98%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/batch/JobCoalesceRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/batch/SensorCoalesceRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/ContinuousRenderingTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/DurableWakeLockRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepCpuOnRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/KeepVoiceAwakeTest.java (85%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/idleness/RigidAlarmRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/CameraLeakRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/LocationLeakRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java (83%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java (83%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/leakage/SensorManagerLeakRuleTest.java (83%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java (86%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/optimized_api/FusedLocationCheckTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/power/ChargeAwarenessRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/power/SaveModeAwarenessRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/HighFrameRateCheckTest.java (78%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java (80%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java (80%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java (80%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java (87%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/TorchFreeRuleTest.java (78%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/environment/sobriety/VibrationFreeRuleTest.java (80%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/java/checks/social/privacy/GoogleTrackerRuleTest.java (83%)
rename android-plugin/src/test/java/{io/ecocode/xml/XmlEcoCodeProfileTest.java => org/greencodeinitiative/creedengo/xml/XmlCreedengoProfileTest.java} (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/XmlRulesDefinitionTest.java (93%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/batch/ServiceBootTimeXmlRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/idleness/KeepCpuOnXmlRuleTest.java (81%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/idleness/KeepScreenOnXmlRuleTest.java (81%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/ChargeAwarenessXmlRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java (82%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/power/SaveModeAwarenessXmlRuleTest.java (79%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java (81%)
rename android-plugin/src/test/java/{io/ecocode => org/greencodeinitiative/creedengo}/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java (81%)
rename codenarc-converter/CodeNarc/docs/{codenarc-rules-ecocode.md => codenarc-rules-creedengo.md} (100%)
rename codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/{ecocode => creedengo}/GCI5001.groovy (100%)
rename codenarc-converter/CodeNarc/src/main/resources/rulesets/{ecocode.xml => creedengo.xml} (100%)
rename codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/{ecocode => creedengo}/GCI5001Test.groovy (100%)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3edee872..2ed31ffe 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -64,4 +64,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- run: mvn -e -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=green-code-initiative_ecocode-android
+ run: mvn -e -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=green-code-initiative_creedengo-android
diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml
index ab582731..b0bb55b6 100644
--- a/.github/workflows/build_container.yml
+++ b/.github/workflows/build_container.yml
@@ -14,9 +14,9 @@ on:
env:
# github.repository as /
- IMAGE_NAME: sonarqube-ecocode-android
+ IMAGE_NAME: sonarqube-creedengo-android
IMAGES: |
- ghcr.io/${{ github.repository_owner }}/sonarqube-ecocode-android
+ ghcr.io/${{ github.repository_owner }}/sonarqube-creedengo-android
PLATFORMS: linux/amd64,linux/arm64/v8
jobs:
Build:
diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml
index b0ae8217..e6ea0f18 100644
--- a/.github/workflows/tag_release.yml
+++ b/.github/workflows/tag_release.yml
@@ -46,7 +46,7 @@ jobs:
id: export_jar_files
uses: actions/upload-artifact@v3
with:
- name: ecocode-plugins
+ name: creedengo-plugins
path: lib
- name: Export UPLOAD_URL
id: export_upload_url
@@ -60,7 +60,7 @@ jobs:
id: import_jar_files
uses: actions/download-artifact@v3
with:
- name: ecocode-plugins
+ name: creedengo-plugins
path: lib
- name: Upload Release Asset - Android Plugin
id: upload-release-asset
@@ -69,7 +69,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.build.outputs.upload_url}}
- asset_path: lib/ecocode-android-${{ github.ref_name }}.jar
- asset_name: ecocode-android-${{ github.ref_name }}.jar
+ asset_path: lib/creedengo-android-${{ github.ref_name }}.jar
+ asset_name: creedengo-android-${{ github.ref_name }}.jar
asset_content_type: application/zip
diff --git a/CITATION.cff b/CITATION.cff
index af6ea552..ff1d227e 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -12,6 +12,6 @@ preferred-citation:
orcid: "https://orcid.org/0000-0001-5405-1688"
- family-names: "Hertout"
given-names: "Julien"
- title: "ecoCode: A SonarQube Plugin to Remove Energy Smells from Android Projects"
+ title: "creedengo: A SonarQube Plugin to Remove Energy Smells from Android Projects"
doi: 10.1145/3551349.3559518
year: 2022
diff --git a/CODE_STYLE.md b/CODE_STYLE.md
index 86b0ab3f..c46ab38c 100644
--- a/CODE_STYLE.md
+++ b/CODE_STYLE.md
@@ -1 +1 @@
-Please read common [CODE_STYLE.md](https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/CODE_STYLE.md) in `ecoCode-common` repository.
+Please read common [CODE_STYLE.md](https://github.com/green-code-initiative/creedengo-common/blob/main/doc/CODE_STYLE.md) in `creedengo-common` repository.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 89c87ff2..aeeae916 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1 +1 @@
-Please read common [CONTRIBUTING.md](https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/CONTRIBUTING.md) in `ecoCode-common` repository.
\ No newline at end of file
+Please read common [CONTRIBUTING.md](https://github.com/green-code-initiative/creedengo-common/blob/main/doc/CONTRIBUTING.md) in `creedengo-common` repository.
diff --git a/Dockerfile b/Dockerfile
index 8f8de484..c37a2d41 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,13 @@
FROM maven:3.8-openjdk-11 AS builder
-COPY . /usr/src/ecocode
+COPY . /usr/src/creedengo
-WORKDIR /usr/src/ecocode
+WORKDIR /usr/src/creedengo
RUN ./tool_prepare-codenarc.sh
RUN ./tool_build.sh
FROM sonarqube:10.3.0-community
USER root
-COPY --from=builder /usr/src/ecocode/lib/* /opt/sonarqube/extensions/plugins/
+COPY --from=builder /usr/src/creedengo/lib/* /opt/sonarqube/extensions/plugins/
USER sonarqube
diff --git a/INSTALL.md b/INSTALL.md
index 7ec0be93..1890c378 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,14 +1,14 @@
- [Common installation notes / requirements](#common-installation-notes--requirements)
- [Special points for Android plugins](#special-points-for-android-plugins)
- [Project structure](#project-structure)
- - [Howto build the SonarQube ecoCode plugins](#howto-build-the-sonarqube-ecocode-plugins)
+ - [Howto build the SonarQube creedengo plugins](#howto-build-the-sonarqube-creedengo-plugins)
- [Preliminary steps (only Android)](#preliminary-steps-only-android)
- [Others steps](#others-steps)
Common installation notes / requirements
========================================
-Please read common [INSTALL.md](https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/INSTALL.md) in `ecoCode-common` repository.
+Please read common [INSTALL.md](https://github.com/green-code-initiative/creedengo-common/blob/main/doc/INSTALL.md) in `creedengo-common` repository.
Special points for Android plugins
=================================
@@ -19,7 +19,7 @@ Project structure
Here is a preview of project tree :
```txt
-ecocode-android # Root directory
+creedengo-android # Root directory
|
+--android-plugin # Android
|
@@ -30,7 +30,7 @@ ecocode-android # Root directory
You will find more information about the plugins’ architecture in their folders
-Howto build the SonarQube ecoCode plugins
+Howto build the SonarQube creedengo plugins
-----------------------------------------
### Preliminary steps (only Android)
diff --git a/README.md b/README.md
index e4f22457..ce1dfdb5 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
![Logo](docs/resources/5ekko.png)
======================================
-Mobile apps running on top of battery-limited, android-powered devices are more than others concerned by the reduction of their environmental footprint. Hence, we created `ecoCode android`, the version of ecoCode project fully dedicated to the Android platform. It provides static code analyzers to highlight code structures that may have a negative ecological impact: energy over-consumption, "fatware", shortening devices' lifespan, etc.
+Mobile apps running on top of battery-limited, android-powered devices are more than others concerned by the reduction of their environmental footprint. Hence, we created `creedengo android`, the version of creedengo project fully dedicated to the Android platform. It provides static code analyzers to highlight code structures that may have a negative ecological impact: energy over-consumption, "fatware", shortening devices' lifespan, etc.
-ecoCode android is based on an evolving catalog of [best practices for Android](https://github.com/cnumr/best-practices-mobile#-android-platform). A SonarQube plugin then implements this catalog as rules for scanning your native Android projects **written in Java only**. To learn more, take a look at the [complete presentation](docs/resources/devfest-2022.pdf) (:fr:) or the [presentation in a nutshell](docs/resources/apidays-2022.pdf). A hands-on [tutorial](https://olegoaer.perso.univ-pau.fr/green-it-summer-school/ecoCode/lab.html) and free demo access is also available (:fr:).
+creedengo android is based on an evolving catalog of [best practices for Android](https://github.com/cnumr/best-practices-mobile#-android-platform). A SonarQube plugin then implements this catalog as rules for scanning your native Android projects **written in Java only**. To learn more, take a look at the [complete presentation](docs/resources/devfest-2022.pdf) (:fr:) or the [presentation in a nutshell](docs/resources/apidays-2022.pdf). A hands-on [tutorial](https://olegoaer.perso.univ-pau.fr/green-it-summer-school/creedengo/lab.html) and free demo access is also available (:fr:).
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
@@ -17,15 +17,15 @@ ecoCode android is based on an evolving catalog of [best practices for Android](
🚀 Quickstart
-------------
-A SonarQube container image with ecoCode Android embedded exists !
+A SonarQube container image with creedengo Android embedded exists !
```bash
docker run -ti --rm \
- -v sq_ecocode_android_logs:/opt/sonarqube/logs \
- -v sq_ecocode_android_data:/opt/sonarqube/data \
+ -v sq_creedengo_android_logs:/opt/sonarqube/logs \
+ -v sq_creedengo_android_data:/opt/sonarqube/data \
-p 9000:9000 \
- --name sonarqube-ecocode-android \
- ghcr.io/green-code-initiative/sonarqube-ecocode-android:latest
+ --name sonarqube-creedengo-android \
+ ghcr.io/green-code-initiative/sonarqube-creedengo-android:latest
```
Wait a little bit during first start initialization, and go to [http://localhost:9000](http://localhost:9000). Default credentials are `admin`/`admin`
@@ -42,12 +42,12 @@ Wait a little bit during first start initialization, and go to [http://localhost
📢 Cite this work
------------------
-If you use ecoCode in an academic work we would be really glad if you cite our seminal paper using the following bibtex entry:
+If you use creedengo in an academic work we would be really glad if you cite our seminal paper using the following bibtex entry:
```bibtex
@inproceedings{10.1145/3551349.3559518,
author = {Le Goaer, Olivier and Hertout, Julien},
- title = {ecoCode: A SonarQube Plugin to Remove Energy Smells from Android Projects},
+ title = {creedengo: A SonarQube Plugin to Remove Energy Smells from Android Projects},
year = {2023},
isbn = {9781450394758},
publisher = {Association for Computing Machinery},
@@ -66,7 +66,7 @@ If you use ecoCode in an academic work we would be really glad if you cite our s
🛒 Distribution
---------------
-Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/ecocode-android/releases).
+Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/creedengo-android/releases).
🧩 Plugins version compatibility
------------------
diff --git a/android-plugin/CONTRIBUTING.md b/android-plugin/CONTRIBUTING.md
index 5daed169..69a3aa2c 100644
--- a/android-plugin/CONTRIBUTING.md
+++ b/android-plugin/CONTRIBUTING.md
@@ -4,7 +4,7 @@ Contributing Guidelines
Contributions are welcome!
**Before spending lots of time on something, ask for feedback on your idea first.**
-Contact us at to be sure that we are interested with your contribution idea.
+Contact us at to be sure that we are interested with your contribution idea.
To avoid frustration, please discuss before submitting any contributions.
@@ -36,4 +36,4 @@ Choose a rule within the [table of unimplemented android-specific rules](RULES.m
Before submitting an Android-specific SonarQube custom rule, please take a look at our [naming conventions](https://doc.rules.ecocode.io/#how-to-specify-rules).
### Avoid doing things the hard way
-Idealy, take also a look at the [helpers fonctions](./src/main/java/io/ecocode/java/checks/helpers).
+Idealy, take also a look at the [helpers fonctions](src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers).
diff --git a/android-plugin/NOTICE.txt b/android-plugin/NOTICE.txt
index f19ec54a..cfb86126 100644
--- a/android-plugin/NOTICE.txt
+++ b/android-plugin/NOTICE.txt
@@ -1,3 +1,3 @@
-ecoCode SonarQube plugin
+creedengo SonarQube plugin
Copyright (C) 2020-2021 Snapp' - Université de Pau et des Pays de l'Adour
-mailto: contact@ecocode.io
+mailto: contact@green-code-initiative.org
diff --git a/android-plugin/README.md b/android-plugin/README.md
index a46b90e8..297c0e3a 100644
--- a/android-plugin/README.md
+++ b/android-plugin/README.md
@@ -1,9 +1,9 @@
-ecoCode Android SonarQube plugin
+creedengo Android SonarQube plugin
================================
![Logo Ekko](docs/ekko-sonar.png)
-ecoCode Android SonarQube plugin is an "eco-responsibility" static code analyzer for native Android projects written in Java (Kotlin unsupported yet). Its aim is to detect code smells to indicate weither the source code can be improved to reduce their environmental and social impact.
+creedengo Android SonarQube plugin is an "eco-responsibility" static code analyzer for native Android projects written in Java (Kotlin unsupported yet). Its aim is to detect code smells to indicate weither the source code can be improved to reduce their environmental and social impact.
Build and deploy the plugin
---------------------------
@@ -39,8 +39,8 @@ where `FusedLocationCheckTest` is the test to run.
Tests are located under:
-- [/src/test/java/io/ecocode/java](./src/test/java/io/ecocode/java)
-- [/src/test/java/io/ecocode/xml](./src/test/java/io/ecocode/xml)
+- [/src/test/java/org/greencodeinitiative/creedengo/java](./src/test/java/org/greencodeinitiative/creedengo/java)
+- [/src/test/java/org/greencodeinitiative/creedengo/xml](./src/test/java/org/greencodeinitiative/creedengo/xml)
### Plugin build
@@ -90,7 +90,7 @@ Plugin usage
------------
The plugin contains two sets of rules, one for Java and one for XML. They can be found in the **Quality profiles** section of
-SonarQube (*ecoCode* profiles).
+SonarQube (*creedengo* profiles).
Do not forget to set them as "DEFAULT" or to configure your Android project on SonarQube to use these profiles before performing an
analysis.
@@ -103,16 +103,16 @@ Plugin development
For Java rules:
-- Java rules’ code can be found in: [./src/main/java/io/ecocode/java](./src/main/java/io/ecocode/java)
+- Java rules’ code can be found in: [./src/main/java/org/greencodeinitiative/creedengo/java](src/main/java/org/greencodeinitiative/creedengo/java)
- Java rules’ definition can be found in: [./src/main/resources/org/sonar/l10n/java/rules/squid](./src/main/resources/org/sonar/l10n/java/rules/squid).
Please do not add / or modify rules here since the code is generated. To update or add a rule, please reach us though our mail
- , prior to submitting any code change.
-- Java rules’ tests can be found in: [./src/test/java/io/ecocode/java](./src/test/java/io/ecocode/java). One file = one rule.
+ , prior to submitting any code change.
+- Java rules’ tests can be found in: [./src/test/java/org/greencodeinitiative/creedengo/java](./src/test/java/org/greencodeinitiative/creedengo/java). One file = one rule.
For XML rules:
-- XML rules’ code can be found in: [./src/main/java/io/ecocode/xml](./src/main/java/io/ecocode/xml)
-- XML rules’ definition can be found in: [./src/main/resources/io/ecocode/xml/rules](./src/main/resources/io/ecocode/xml/rules).
+- XML rules’ code can be found in: [./src/main/java/org/greencodeinitiative/creedengo/xml](./src/main/java/org/greencodeinitiative/creedengo/xml)
+- XML rules’ definition can be found in: [./src/main/resources/org/greencodeinitiative/creedengo/xml/rules](./src/main/resources/org/greencodeinitiative/creedengo/xml/rules).
Please do not add / or modifiy rules here since the code is generated. To update or add a rule, please reach us though our mail
- , prior to submitting any code change.
-- XML rules’ tests can be found in: [./src/test/java/io/ecocode/xml](./src/test/java/io/ecocode/xml). One file = one rule.
+ , prior to submitting any code change.
+- XML rules’ tests can be found in: [./src/test/java/org/greencodeinitiative/creedengo/xml](./src/test/java/org/greencodeinitiative/creedengo/xml). One file = one rule.
diff --git a/android-plugin/docker-compose.yml b/android-plugin/docker-compose.yml
index 9cc7ce14..5490a230 100644
--- a/android-plugin/docker-compose.yml
+++ b/android-plugin/docker-compose.yml
@@ -2,7 +2,7 @@ version: "3.3"
services:
sonar:
image: sonarqube:9.9-community
- container_name: sonar_ecocode_android
+ container_name: sonar_creedengo_android
ports:
- "9000:9000"
networks:
@@ -16,14 +16,14 @@ services:
SONAR_ES_BOOTSTRAP_CHECKS_DISABLE: 'true'
volumes:
- type: bind
- source: ./target/ecocode-android-1.1.1-SNAPSHOT.jar
- target: /opt/sonarqube/extensions/plugins/ecocode-android-1.1.1-SNAPSHOT.jar
+ source: ./target/creedengo-android-1.1.1-SNAPSHOT.jar
+ target: /opt/sonarqube/extensions/plugins/creedengo-android-1.1.1-SNAPSHOT.jar
- "logs:/opt/sonarqube/logs"
- "data:/opt/sonarqube/data"
db:
image: postgres:12
- container_name: postgresql_ecocode_android
+ container_name: postgresql_creedengo_android
networks:
- sonarnet
volumes:
diff --git a/android-plugin/pom.xml b/android-plugin/pom.xml
index ebee0b56..2872d6c1 100644
--- a/android-plugin/pom.xml
+++ b/android-plugin/pom.xml
@@ -3,18 +3,18 @@
4.0.0
- io.ecocode
- ecocode-android-parent
+ org.green-code-initiative
+ creedengo-android-parent
1.1.1-SNAPSHOT
- ecocode-android
+ creedengo-android
sonar-plugin
- ecoCode Android plugin
+ creedengo Android plugin
Help the earth, adopt this green plugin for your applications
2020
- https://github.com/green-code-initiative/ecocode-android/tree/main/android-plugin
+ https://github.com/green-code-initiative/creedengo-android/tree/main/android-plugin
1.21
@@ -222,9 +222,9 @@
sonar-packaging-maven-plugin
true
- ecocodeandroid
+ creedengoandroid
${project.name}
- io.ecocode.EcoCodeRulesPlugin
+ org.greencodeinitiative.creedengo.CreedengoRulesPlugin
true
${sonarqube.version}
${java.version}
diff --git a/android-plugin/src/main/java/io/ecocode/EcoCodeRulesPlugin.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/CreedengoRulesPlugin.java
similarity index 71%
rename from android-plugin/src/main/java/io/ecocode/EcoCodeRulesPlugin.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/CreedengoRulesPlugin.java
index 85c97bbc..c195eed5 100644
--- a/android-plugin/src/main/java/io/ecocode/EcoCodeRulesPlugin.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/CreedengoRulesPlugin.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,14 +15,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode;
+package org.greencodeinitiative.creedengo;
-import io.ecocode.java.JavaEcoCodeProfile;
-import io.ecocode.java.JavaFileCheckRegistrar;
-import io.ecocode.java.JavaRulesDefinition;
-import io.ecocode.xml.XmlEcoCodeProfile;
-import io.ecocode.xml.XmlRulesDefinition;
-import io.ecocode.xml.XmlSensor;
+import org.greencodeinitiative.creedengo.java.JavaCreedengoProfile;
+import org.greencodeinitiative.creedengo.java.JavaFileCheckRegistrar;
+import org.greencodeinitiative.creedengo.java.JavaRulesDefinition;
+import org.greencodeinitiative.creedengo.xml.XmlCreedengoProfile;
+import org.greencodeinitiative.creedengo.xml.XmlRulesDefinition;
+import org.greencodeinitiative.creedengo.xml.XmlSensor;
import org.sonar.api.Plugin;
import org.sonar.api.config.PropertyDefinition;
import org.sonar.api.resources.Qualifiers;
@@ -33,9 +33,9 @@
/**
* Entry point of your plugin containing your custom rules
*/
-public class EcoCodeRulesPlugin implements Plugin {
+public class CreedengoRulesPlugin implements Plugin {
- public static final String FILE_SUFFIXES_KEY = "ecocode.xml.file.suffixes";
+ public static final String FILE_SUFFIXES_KEY = "creedengo.xml.file.suffixes";
@Override
public void define(Context context) {
@@ -46,7 +46,7 @@ public void define(Context context) {
// batch extensions -> objects are instantiated during code analysis
context.addExtension(JavaFileCheckRegistrar.class);
// === Add Java rules profile ===
- context.addExtension(JavaEcoCodeProfile.class);
+ context.addExtension(JavaCreedengoProfile.class);
// === Add XML rules extension ===
context.addExtensions(
PropertyDefinition.builder(FILE_SUFFIXES_KEY)
@@ -58,7 +58,7 @@ public void define(Context context) {
.onQualifiers(Qualifiers.PROJECT)
.build(),
XmlRulesDefinition.class,
- XmlEcoCodeProfile.class,
+ XmlCreedengoProfile.class,
XmlSensor.class);
// === Add Groovy rules extension ===
context.addExtensions(Groovy.getExtensions())
diff --git a/android-plugin/src/main/java/io/ecocode/java/Java.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/Java.java
similarity index 54%
rename from android-plugin/src/main/java/io/ecocode/java/Java.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/Java.java
index 3a8fdd5a..935c14b0 100644
--- a/android-plugin/src/main/java/io/ecocode/java/Java.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/Java.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,13 +15,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
public interface Java { //NOSONAR - we use the interface for constant without inheriting it
- String REPOSITORY_NAME = "ecoCode (Android)";
+ String REPOSITORY_NAME = "creedengo (Android)";
String KEY = "java";
- String REPOSITORY_KEY = "ecocode-android-java";
- String RULES_SPECIFICATIONS_JAVA_PATH = "/io/ecocode/rules/java"; //NOSONAR - this URI is the same everywhere
- String PROFILE_NAME = "ecoCode (Android)";
- String PROFILE_PATH = "io/ecocode/android/java/ecocode_java_profile.json";
+ String REPOSITORY_KEY = "creedengo-android-java";
+ String RULES_SPECIFICATIONS_JAVA_PATH = "/org/greencodeinitiative/creedengo/rules/java"; //NOSONAR - this URI is the same everywhere
+ String PROFILE_NAME = "creedengo (Android)";
+ String PROFILE_PATH = "org/greencodeinitiative/creedengo/android/java/creedengo_java_profile.json";
}
diff --git a/android-plugin/src/main/java/io/ecocode/java/JavaCheckList.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCheckList.java
similarity index 69%
rename from android-plugin/src/main/java/io/ecocode/java/JavaCheckList.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCheckList.java
index 5dd2f46d..12133976 100644
--- a/android-plugin/src/main/java/io/ecocode/java/JavaCheckList.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCheckList.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,21 +15,21 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
-import io.ecocode.java.checks.environment.batch.JobCoalesceRule;
-import io.ecocode.java.checks.environment.batch.SensorCoalesceRule;
-import io.ecocode.java.checks.environment.bottleneck.InternetInTheLoopRule;
-import io.ecocode.java.checks.environment.bottleneck.UncompressedDataTransmissionRule;
-import io.ecocode.java.checks.environment.bottleneck.WifiMulticastLockRule;
-import io.ecocode.java.checks.environment.idleness.*;
-import io.ecocode.java.checks.environment.leakage.*;
-import io.ecocode.java.checks.environment.optimized_api.BluetoothLowEnergyRule;
-import io.ecocode.java.checks.environment.optimized_api.FusedLocationRule;
-import io.ecocode.java.checks.environment.power.SaveModeAwarenessRule;
-import io.ecocode.java.checks.environment.power.ChargeAwarenessRule;
-import io.ecocode.java.checks.environment.sobriety.*;
-import io.ecocode.java.checks.social.privacy.GoogleTrackerRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.batch.JobCoalesceRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.batch.SensorCoalesceRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.bottleneck.InternetInTheLoopRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.bottleneck.UncompressedDataTransmissionRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.bottleneck.WifiMulticastLockRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.idleness.*;
+import org.greencodeinitiative.creedengo.java.checks.environment.leakage.*;
+import org.greencodeinitiative.creedengo.java.checks.environment.optimized_api.BluetoothLowEnergyRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.optimized_api.FusedLocationRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.power.SaveModeAwarenessRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.power.ChargeAwarenessRule;
+import org.greencodeinitiative.creedengo.java.checks.environment.sobriety.*;
+import org.greencodeinitiative.creedengo.java.checks.social.privacy.GoogleTrackerRule;
import org.sonar.plugins.java.api.JavaCheck;
import java.util.ArrayList;
diff --git a/android-plugin/src/main/java/io/ecocode/java/JavaEcoCodeProfile.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfile.java
similarity index 60%
rename from android-plugin/src/main/java/io/ecocode/java/JavaEcoCodeProfile.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfile.java
index 56a50987..712cb5fa 100644
--- a/android-plugin/src/main/java/io/ecocode/java/JavaEcoCodeProfile.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfile.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,17 +15,17 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
import org.sonar.api.server.profile.BuiltInQualityProfilesDefinition;
import org.sonarsource.analyzer.commons.BuiltInQualityProfileJsonLoader;
-public class JavaEcoCodeProfile implements BuiltInQualityProfilesDefinition {
+public class JavaCreedengoProfile implements BuiltInQualityProfilesDefinition {
@Override
public void define(Context context) {
- NewBuiltInQualityProfile ecoCodeProfile = context.createBuiltInQualityProfile(Java.PROFILE_NAME, Java.KEY);
- BuiltInQualityProfileJsonLoader.load(ecoCodeProfile, Java.REPOSITORY_KEY, Java.PROFILE_PATH);
- ecoCodeProfile.done();
+ NewBuiltInQualityProfile creedengoProfile = context.createBuiltInQualityProfile(Java.PROFILE_NAME, Java.KEY);
+ BuiltInQualityProfileJsonLoader.load(creedengoProfile, Java.REPOSITORY_KEY, Java.PROFILE_PATH);
+ creedengoProfile.done();
}
}
diff --git a/android-plugin/src/main/java/io/ecocode/java/JavaFileCheckRegistrar.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaFileCheckRegistrar.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/JavaFileCheckRegistrar.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaFileCheckRegistrar.java
index c9a72e20..f82c0d70 100644
--- a/android-plugin/src/main/java/io/ecocode/java/JavaFileCheckRegistrar.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaFileCheckRegistrar.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
import java.util.ArrayList;
import java.util.List;
diff --git a/android-plugin/src/main/java/io/ecocode/java/JavaRulesDefinition.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinition.java
similarity index 95%
rename from android-plugin/src/main/java/io/ecocode/java/JavaRulesDefinition.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinition.java
index 8e8f662f..baa426ec 100644
--- a/android-plugin/src/main/java/io/ecocode/java/JavaRulesDefinition.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinition.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
import com.google.gson.Gson;
import java.io.BufferedReader;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/JobCoalesceRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRule.java
similarity index 93%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/JobCoalesceRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRule.java
index fed1caf7..c0099ca8 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/JobCoalesceRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.batch;
+package org.greencodeinitiative.creedengo.java.checks.environment.batch;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRule.java
similarity index 91%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRule.java
index d692bc3a..5f2055e3 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.batch;
+package org.greencodeinitiative.creedengo.java.checks.environment.batch;
-import io.ecocode.java.checks.helpers.CheckArgumentComplexTypeUtils;
+import org.greencodeinitiative.creedengo.java.checks.helpers.CheckArgumentComplexTypeUtils;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
import org.sonar.plugins.java.api.semantic.MethodMatchers;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRule.java
similarity index 91%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRule.java
index 7276e134..19df97f0 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java
similarity index 93%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java
index f80f7108..50b1187d 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
import java.util.List;
@@ -32,7 +32,7 @@
import org.sonar.plugins.java.api.tree.Tree;
import org.sonar.plugins.java.api.tree.VariableTree;
-import io.ecocode.java.checks.helpers.CheckArgumentComplexTypeUtils;
+import org.greencodeinitiative.creedengo.java.checks.helpers.CheckArgumentComplexTypeUtils;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
/**
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRule.java
index f1cb2e0e..13457ab1 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
-import io.ecocode.java.checks.helpers.OpeningClosingMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.OpeningClosingMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingRule.java
index db1f4e90..7a668964 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.constant.FlagOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.FlagOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRule.java
similarity index 88%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRule.java
index b298ebc3..eadcc102 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRule.java
index 343ff9c1..579e8034 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.SpecificMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.SpecificMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java
index 56b1319e..d89b76e6 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.constant.FlagOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.FlagOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java
index d76097ee..6129a64f 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.constant.FlagOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.FlagOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeRule.java
similarity index 94%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeRule.java
index de45e2eb..afbc0719 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.CheckArgumentComplexTypeUtils;
+import org.greencodeinitiative.creedengo.java.checks.helpers.CheckArgumentComplexTypeUtils;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
import org.sonar.check.Rule;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRule.java
index 0192c0f8..9481f86c 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
-import io.ecocode.java.checks.helpers.SpecificMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.SpecificMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/CameraLeakRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/CameraLeakRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRule.java
index f522242a..e121db2b 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/CameraLeakRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
-import io.ecocode.java.checks.helpers.OpeningClosingMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.OpeningClosingMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/LocationLeakRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/LocationLeakRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRule.java
index 9f6147a3..b1704738 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/LocationLeakRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
-import io.ecocode.java.checks.helpers.OpeningClosingMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.OpeningClosingMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java
index 71f9695b..ee37fc3b 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
-import io.ecocode.java.checks.helpers.ConstructorBeforeMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.ConstructorBeforeMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java
index fd9ecdbf..248ba1ce 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
-import io.ecocode.java.checks.helpers.ConstructorBeforeMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.ConstructorBeforeMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRule.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRule.java
index 44d22d03..b305fe4d 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
-import io.ecocode.java.checks.helpers.OpeningClosingMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.OpeningClosingMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java
similarity index 94%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java
index bc166850..7328f7e6 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.optimized_api;
+package org.greencodeinitiative.creedengo.java.checks.environment.optimized_api;
-import io.ecocode.java.checks.helpers.TreeHelper;
+import org.greencodeinitiative.creedengo.java.checks.helpers.TreeHelper;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.JavaFileScanner;
import org.sonar.plugins.java.api.JavaFileScannerContext;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationRule.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationRule.java
index 9c7c6bc6..4324f601 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.optimized_api;
+package org.greencodeinitiative.creedengo.java.checks.environment.optimized_api;
-import io.ecocode.java.checks.helpers.TreeHelper;
+import org.greencodeinitiative.creedengo.java.checks.helpers.TreeHelper;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
import org.sonar.plugins.java.api.JavaFileScannerContext;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRule.java
similarity index 94%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRule.java
index c1304b81..336420af 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.power;
+package org.greencodeinitiative.creedengo.java.checks.environment.power;
import java.util.List;
import java.util.Optional;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRule.java
similarity index 94%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRule.java
index 8b51684e..b4fedb80 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.power;
+package org.greencodeinitiative.creedengo.java.checks.environment.power;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRule.java
similarity index 95%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRule.java
index d6e19a70..7d1199fe 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateRule.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateRule.java
index 017d2c3e..dbdc5d39 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.CheckArgumentComplexTypeUtils;
+import org.greencodeinitiative.creedengo.java.checks.helpers.CheckArgumentComplexTypeUtils;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
import org.sonar.plugins.java.api.semantic.MethodMatchers;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java
similarity index 82%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java
index 617f49e5..c2fb7ef7 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.constant.ConstantOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.ConstantOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java
similarity index 81%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java
index 4777dc98..2c3ff036 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.constant.ConstantOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.ConstantOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java
similarity index 95%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java
index 49dae9bd..f7df3036 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import java.util.ArrayList;
import java.util.List;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java
index 566f9ec2..e649efb6 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinDistanceRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.TreeHelper;
+import org.greencodeinitiative.creedengo.java.checks.helpers.TreeHelper;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
import org.sonar.check.Rule;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java
similarity index 91%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java
index fe180098..8ce92f98 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationMinTimeRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.TreeHelper;
+import org.greencodeinitiative.creedengo.java.checks.helpers.TreeHelper;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
import org.sonar.check.Rule;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRule.java
similarity index 79%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRule.java
index 8b35daa0..865f5e16 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.constant.FlagOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.FlagOnMethodCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRule.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRule.java
index f236dbb7..310be08f 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRule.java
similarity index 83%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRule.java
index 5220bc65..5f3b0986 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.constant.ArgumentValueOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.ArgumentValueOnMethodCheck;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.tree.Tree;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRule.java
similarity index 82%
rename from android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRule.java
index d3f0694c..2dacf1bb 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,10 +15,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
-import io.ecocode.java.checks.helpers.constant.ArgumentValueOnMethodCheck;
-import io.ecocode.java.checks.helpers.constant.MethodSpecs;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.ArgumentValueOnMethodCheck;
+import org.greencodeinitiative.creedengo.java.checks.helpers.constant.MethodSpecs;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.tree.Tree;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/CheckArgumentComplexTypeUtils.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/CheckArgumentComplexTypeUtils.java
similarity index 88%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/CheckArgumentComplexTypeUtils.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/CheckArgumentComplexTypeUtils.java
index b9f66ba7..fa73bfa1 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/CheckArgumentComplexTypeUtils.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/CheckArgumentComplexTypeUtils.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers;
+package org.greencodeinitiative.creedengo.java.checks.helpers;
import org.sonar.plugins.java.api.tree.ExpressionTree;
import org.sonar.plugins.java.api.tree.MemberSelectExpressionTree;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/ConstructorBeforeMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/ConstructorBeforeMethodCheck.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/ConstructorBeforeMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/ConstructorBeforeMethodCheck.java
index c686fef8..87cbdf8b 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/ConstructorBeforeMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/ConstructorBeforeMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers;
+package org.greencodeinitiative.creedengo.java.checks.helpers;
import com.google.common.collect.ImmutableList;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/OpeningClosingMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/OpeningClosingMethodCheck.java
similarity index 93%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/OpeningClosingMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/OpeningClosingMethodCheck.java
index 12b7e813..25be7998 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/OpeningClosingMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/OpeningClosingMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers;
+package org.greencodeinitiative.creedengo.java.checks.helpers;
import com.google.common.collect.ImmutableList;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/SpecificMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/SpecificMethodCheck.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/SpecificMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/SpecificMethodCheck.java
index d66d4e00..1f0641b4 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/SpecificMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/SpecificMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers;
+package org.greencodeinitiative.creedengo.java.checks.helpers;
import com.google.common.collect.ImmutableList;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
@@ -61,4 +61,4 @@ public void visitNode(Tree tree) {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/TreeHelper.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/TreeHelper.java
similarity index 96%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/TreeHelper.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/TreeHelper.java
index 9890e8ca..cf56a157 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/TreeHelper.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/TreeHelper.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers;
+package org.greencodeinitiative.creedengo.java.checks.helpers;
import java.util.List;
import java.util.Optional;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java
similarity index 93%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java
index 4b7dfa87..ded036db 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ArgumentValueOnMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,10 +15,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers.constant;
+package org.greencodeinitiative.creedengo.java.checks.helpers.constant;
import com.google.common.collect.ImmutableList;
-import io.ecocode.java.checks.helpers.CheckArgumentComplexTypeUtils;
+import org.greencodeinitiative.creedengo.java.checks.helpers.CheckArgumentComplexTypeUtils;
import org.sonar.plugins.java.api.IssuableSubscriptionVisitor;
import org.sonar.plugins.java.api.semantic.MethodMatchers;
import org.sonar.plugins.java.api.tree.ExpressionTree;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ConstantOnMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ConstantOnMethodCheck.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ConstantOnMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ConstantOnMethodCheck.java
index 2cfa1aae..f43ac0d0 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/ConstantOnMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/ConstantOnMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers.constant;
+package org.greencodeinitiative.creedengo.java.checks.helpers.constant;
import org.sonar.plugins.java.api.tree.Tree;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/FlagOnMethodCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/FlagOnMethodCheck.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/FlagOnMethodCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/FlagOnMethodCheck.java
index da5a6b6e..45c9d881 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/FlagOnMethodCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/FlagOnMethodCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers.constant;
+package org.greencodeinitiative.creedengo.java.checks.helpers.constant;
import org.sonar.plugins.java.api.tree.Tree;
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/MethodSpecs.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/MethodSpecs.java
similarity index 87%
rename from android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/MethodSpecs.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/MethodSpecs.java
index d649f6ac..c713e6f1 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/helpers/constant/MethodSpecs.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/helpers/constant/MethodSpecs.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.helpers.constant;
+package org.greencodeinitiative.creedengo.java.checks.helpers.constant;
/**
* Class used to create method matchers easily.
diff --git a/android-plugin/src/main/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRule.java
similarity index 94%
rename from android-plugin/src/main/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRule.java
index ac0eab87..f43ca0e8 100644
--- a/android-plugin/src/main/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.social.privacy;
+package org.greencodeinitiative.creedengo.java.checks.social.privacy;
-import io.ecocode.java.checks.helpers.TreeHelper;
+import org.greencodeinitiative.creedengo.java.checks.helpers.TreeHelper;
import org.sonar.check.Rule;
import org.sonar.plugins.java.api.JavaFileScanner;
import org.sonar.plugins.java.api.JavaFileScannerContext;
diff --git a/android-plugin/src/main/java/io/ecocode/xml/Xml.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/Xml.java
similarity index 56%
rename from android-plugin/src/main/java/io/ecocode/xml/Xml.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/Xml.java
index 30668146..3d71e43c 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/Xml.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/Xml.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,13 +15,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
public interface Xml { //NOSONAR - we use the interface for constant without inheriting it
- String REPOSITORY_NAME = "ecoCode (Android)";
+ String REPOSITORY_NAME = "creedengo (Android)";
String KEY = "xml";
- String REPOSITORY_KEY = "ecocode-android-xml";
- String RULES_SPECIFICATIONS_XML_PATH = "io/ecocode/rules/xml";
- String PROFILE_NAME = "ecoCode (Android)";
- String PROFILE_PATH = "io/ecocode/android/xml/ecocode_xml_profile.json";
+ String REPOSITORY_KEY = "creedengo-android-xml";
+ String RULES_SPECIFICATIONS_XML_PATH = "org/greencodeinitiative/creedengo/rules/xml";
+ String PROFILE_NAME = "creedengo (Android)";
+ String PROFILE_PATH = "org/greencodeinitiative/creedengo/android/xml/creedengo_xml_profile.json";
}
diff --git a/android-plugin/src/main/java/io/ecocode/xml/XmlCheckList.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCheckList.java
similarity index 56%
rename from android-plugin/src/main/java/io/ecocode/xml/XmlCheckList.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCheckList.java
index 387de3b2..dc975254 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/XmlCheckList.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCheckList.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,17 +15,17 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
-import io.ecocode.xml.checks.batch.ServiceBootTimeXmlRule;
-import io.ecocode.xml.checks.power.ChargeAwarenessXmlRule;
-import io.ecocode.xml.checks.power.SaveModeAwarenessXmlRule;
-import io.ecocode.xml.checks.sobriety.DarkUIBrightColorsXmlRule;
-import io.ecocode.xml.checks.idleness.KeepCpuOnXmlRule;
-import io.ecocode.xml.checks.idleness.KeepScreenOnXmlRule;
-import io.ecocode.xml.checks.sobriety.DarkUIThemeXmlRule;
-import io.ecocode.xml.checks.power.CompagnionInBackgroundXmlRule;
-import io.ecocode.xml.checks.power.IgnoreBatteryOptimizationsXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.batch.ServiceBootTimeXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.power.ChargeAwarenessXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.power.SaveModeAwarenessXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.sobriety.DarkUIBrightColorsXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.idleness.KeepCpuOnXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.idleness.KeepScreenOnXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.sobriety.DarkUIThemeXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.power.CompagnionInBackgroundXmlRule;
+import org.greencodeinitiative.creedengo.xml.checks.power.IgnoreBatteryOptimizationsXmlRule;
import java.util.Arrays;
import java.util.List;
diff --git a/android-plugin/src/main/java/io/ecocode/xml/XmlEcoCodeProfile.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfile.java
similarity index 60%
rename from android-plugin/src/main/java/io/ecocode/xml/XmlEcoCodeProfile.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfile.java
index 27622dff..3701340f 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/XmlEcoCodeProfile.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfile.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,18 +15,18 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
import org.sonar.api.server.profile.BuiltInQualityProfilesDefinition;
import org.sonarsource.analyzer.commons.BuiltInQualityProfileJsonLoader;
-public final class XmlEcoCodeProfile implements BuiltInQualityProfilesDefinition {
+public final class XmlCreedengoProfile implements BuiltInQualityProfilesDefinition {
@Override
public void define(Context context) {
- NewBuiltInQualityProfile ecoCodeProfile = context.createBuiltInQualityProfile(Xml.PROFILE_NAME, Xml.KEY);
- BuiltInQualityProfileJsonLoader.load(ecoCodeProfile, Xml.REPOSITORY_KEY, Xml.PROFILE_PATH);
- ecoCodeProfile.done();
+ NewBuiltInQualityProfile creedengoProfile = context.createBuiltInQualityProfile(Xml.PROFILE_NAME, Xml.KEY);
+ BuiltInQualityProfileJsonLoader.load(creedengoProfile, Xml.REPOSITORY_KEY, Xml.PROFILE_PATH);
+ creedengoProfile.done();
}
}
diff --git a/android-plugin/src/main/java/io/ecocode/xml/XmlRulesDefinition.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinition.java
similarity index 87%
rename from android-plugin/src/main/java/io/ecocode/xml/XmlRulesDefinition.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinition.java
index 5e2f7eb7..93fee43c 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/XmlRulesDefinition.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinition.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
import org.sonar.api.SonarEdition;
import org.sonar.api.SonarQubeSide;
diff --git a/android-plugin/src/main/java/io/ecocode/xml/XmlSensor.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlSensor.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/xml/XmlSensor.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlSensor.java
index cf8f5e3c..f11605bc 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/XmlSensor.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/XmlSensor.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
import com.google.common.annotations.VisibleForTesting;
import org.sonar.api.batch.fs.FilePredicate;
@@ -52,7 +52,7 @@ public XmlSensor(CheckFactory checkFactory) {
@Override
public void describe(SensorDescriptor descriptor) {
- descriptor.name("EcoCodeXmlSensor").onlyWhenConfiguration(configuration -> !checks.all().isEmpty());
+ descriptor.name("CreedengoXmlSensor").onlyWhenConfiguration(configuration -> !checks.all().isEmpty());
}
@Override
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/XPathCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathCheck.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/XPathCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathCheck.java
index 4053dac0..6038308e 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/XPathCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks;
+package org.greencodeinitiative.creedengo.xml.checks;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/XPathSimpleCheck.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathSimpleCheck.java
similarity index 80%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/XPathSimpleCheck.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathSimpleCheck.java
index 0596fbb3..4282fb58 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/XPathSimpleCheck.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/XPathSimpleCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks;
+package org.greencodeinitiative.creedengo.xml.checks;
import org.w3c.dom.Node;
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRule.java
similarity index 75%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRule.java
index 94efecb4..271a27c8 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.batch;
+package org.greencodeinitiative.creedengo.xml.checks.batch;
-import io.ecocode.xml.checks.XPathSimpleCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathSimpleCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -25,8 +25,8 @@
* Checks manifest intent-filter statement: if the action is BOOT_COMPLETED, report a bad practice
*/
@Rule(key = "GCI540")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC540")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EBAT001")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC540")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EBAT001")
public class ServiceBootTimeXmlRule extends XPathSimpleCheck {
private static final String SERVICE_BOOT_TIME_ATTRIBUTE = "//manifest/application/receiver/intent-filter/action/@name[. = \"android.intent.action.BOOT_COMPLETED\"]";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/helpers/CheckPermissionsRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/helpers/CheckPermissionsRule.java
similarity index 82%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/helpers/CheckPermissionsRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/helpers/CheckPermissionsRule.java
index cdc62a39..f3b23357 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/helpers/CheckPermissionsRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/helpers/CheckPermissionsRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.helpers;
+package org.greencodeinitiative.creedengo.xml.checks.helpers;
-import io.ecocode.xml.checks.XPathCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathCheck;
import org.w3c.dom.Node;
/**
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRule.java
similarity index 76%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRule.java
index 5eb94131..bd4c8c40 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.idleness;
+package org.greencodeinitiative.creedengo.xml.checks.idleness;
-import io.ecocode.xml.checks.helpers.CheckPermissionsRule;
+import org.greencodeinitiative.creedengo.xml.checks.helpers.CheckPermissionsRule;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -26,7 +26,7 @@
* if the permissions "android.permission.WAKE_LOCK" is found, report an issue.
*/
@Rule(key = "GCI542")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC542")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC542")
@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EIDL005")
public class KeepCpuOnXmlRule extends CheckPermissionsRule {
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRule.java
similarity index 72%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRule.java
index 9ff7fe90..aa80cb83 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,15 +15,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.idleness;
+package org.greencodeinitiative.creedengo.xml.checks.idleness;
-import io.ecocode.xml.checks.XPathSimpleCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathSimpleCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@Rule(key = "GCI541")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC541")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EIDL003")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC541")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EIDL003")
public class KeepScreenOnXmlRule extends XPathSimpleCheck {
private static final String KEEP_SCREEN_ON_XML_ATTRIBUTE = "//*[contains(@keepScreenOn, 'true')]/@keepScreenOn";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRule.java
similarity index 81%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRule.java
index 1f905ed9..0b26d759 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
-import io.ecocode.xml.checks.XPathSimpleCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathSimpleCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -26,8 +26,8 @@
* BATTERY_OKAY or BATTERY_LOW report a good practice.
*/
@Rule(key = "GCI545")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC545")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EPOW005")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC545")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EPOW005")
public class ChargeAwarenessXmlRule extends XPathSimpleCheck {
private String xPathActionPowerConnected = "//manifest/application/receiver/intent-filter/action/@name[.=\"android.intent.action.ACTION_POWER_CONNECTED\"]";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRule.java
similarity index 74%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRule.java
index 938ad495..45f781f3 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
-import io.ecocode.xml.checks.helpers.CheckPermissionsRule;
+import org.greencodeinitiative.creedengo.xml.checks.helpers.CheckPermissionsRule;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -26,8 +26,8 @@
* if the permission "android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND" is found, report an issue.
*/
@Rule(key = "GCI543")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC543")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EPOW002")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC543")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EPOW002")
public class CompagnionInBackgroundXmlRule extends CheckPermissionsRule {
private static final String PERMISSION_NAME = "android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java
similarity index 73%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java
index fae6d376..eae4fcd1 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
-import io.ecocode.xml.checks.helpers.CheckPermissionsRule;
+import org.greencodeinitiative.creedengo.xml.checks.helpers.CheckPermissionsRule;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -26,8 +26,8 @@
* if the permission "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" is found, report an issue.
*/
@Rule(key = "GCI544")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC544")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EPOW003")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC544")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EPOW003")
public class IgnoreBatteryOptimizationsXmlRule extends CheckPermissionsRule {
private static final String PERMISSION_NAME = "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRule.java
similarity index 76%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRule.java
index a1cdf6e7..2da5170b 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
-import io.ecocode.xml.checks.XPathSimpleCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathSimpleCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
@@ -26,8 +26,8 @@
* if the permission "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" is found, report an issue.
*/
@Rule(key = "GCI546")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC546")
-@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "EPOW007")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC546")
+@DeprecatedRuleKey(repositoryKey = "creedengo-xml", ruleKey = "EPOW007")
public class SaveModeAwarenessXmlRule extends XPathSimpleCheck {
private static final String ACTION_POWER_CHANGED_XPATH = "//manifest/application/receiver/intent-filter/action/@name[.=\"android.intent.action.BATTERY_CHANGED\"]";
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java
similarity index 89%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java
index fd3f842a..cb71c9b0 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.sobriety;
+package org.greencodeinitiative.creedengo.xml.checks.sobriety;
-import io.ecocode.xml.checks.XPathCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
import org.w3c.dom.Node;
@@ -36,7 +36,7 @@
*
*/
@Rule(key = "GCI547")
-@DeprecatedRuleKey(repositoryKey = "ecocode-android-xml", ruleKey = "EC547")
+@DeprecatedRuleKey(repositoryKey = "creedengo-android-xml", ruleKey = "EC547")
@DeprecatedRuleKey(repositoryKey = "ecoCode-xml", ruleKey = "ESOB003")
public class DarkUIBrightColorsXmlRule extends XPathCheck {
diff --git a/android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRule.java b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRule.java
similarity index 92%
rename from android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRule.java
rename to android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRule.java
index 9ea988e7..3d6dddce 100644
--- a/android-plugin/src/main/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRule.java
+++ b/android-plugin/src/main/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRule.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.sobriety;
+package org.greencodeinitiative.creedengo.xml.checks.sobriety;
-import io.ecocode.xml.checks.XPathSimpleCheck;
+import org.greencodeinitiative.creedengo.xml.checks.XPathSimpleCheck;
import org.sonar.check.Rule;
import org.sonarsource.analyzer.commons.annotations.DeprecatedRuleKey;
diff --git a/android-plugin/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcRulesDefinition.java b/android-plugin/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcRulesDefinition.java
index c9c5ad06..35a5d2a7 100644
--- a/android-plugin/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcRulesDefinition.java
+++ b/android-plugin/src/main/java/org/sonar/plugins/groovy/codenarc/CodeNarcRulesDefinition.java
@@ -34,7 +34,7 @@
public class CodeNarcRulesDefinition implements RulesDefinition {
- public static final String REPOSITORY_KEY = "ecocode-android-groovy";
+ public static final String REPOSITORY_KEY = "creedengo-android-groovy";
public static final String REPOSITORY_NAME = Groovy.PROFILE_NAME;
private static final String COST_FILE_PATH = "/org/sonar/plugins/groovy/cost.csv";
diff --git a/android-plugin/src/main/java/org/sonar/plugins/groovy/foundation/Groovy.java b/android-plugin/src/main/java/org/sonar/plugins/groovy/foundation/Groovy.java
index d66b4118..2875db9a 100644
--- a/android-plugin/src/main/java/org/sonar/plugins/groovy/foundation/Groovy.java
+++ b/android-plugin/src/main/java/org/sonar/plugins/groovy/foundation/Groovy.java
@@ -31,7 +31,7 @@ public class Groovy extends AbstractLanguage {
public static final String KEY = "groovy_gradle";
public static final String NAME = "Groovy (Gradle)";
- public static final String PROFILE_NAME = "ecoCode (Android)";
+ public static final String PROFILE_NAME = "creedengo (Android)";
public static final String FILE_SUFFIXES_KEY = "sonar.gradle.file.suffixes";
static final String DEFAULT_FILE_SUFFIXES = ".gradle";
diff --git a/android-plugin/src/main/resources/io/ecocode/android/java/ecocode_java_profile.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/java/creedengo_java_profile.json
similarity index 93%
rename from android-plugin/src/main/resources/io/ecocode/android/java/ecocode_java_profile.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/java/creedengo_java_profile.json
index f3f8c76f..311668e4 100644
--- a/android-plugin/src/main/resources/io/ecocode/android/java/ecocode_java_profile.json
+++ b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/java/creedengo_java_profile.json
@@ -1,5 +1,5 @@
{
- "name": "ecoCode Android",
+ "name": "creedengo Android",
"ruleKeys": [
"GCI500",
"GCI501",
diff --git a/android-plugin/src/main/resources/io/ecocode/android/xml/ecocode_xml_profile.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/xml/creedengo_xml_profile.json
similarity index 81%
rename from android-plugin/src/main/resources/io/ecocode/android/xml/ecocode_xml_profile.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/xml/creedengo_xml_profile.json
index e6ed8963..318322cf 100644
--- a/android-plugin/src/main/resources/io/ecocode/android/xml/ecocode_xml_profile.json
+++ b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/android/xml/creedengo_xml_profile.json
@@ -1,5 +1,5 @@
{
- "name": "ecoCode Android",
+ "name": "creedengo Android",
"ruleKeys": [
"GCI540",
"GCI541",
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI500.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI500.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI500.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI500.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI500.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI500.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI500.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI500.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI501.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI501.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI501.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI501.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI501.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI501.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI501.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI501.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI502.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI502.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI502.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI502.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI502.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI502.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI502.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI502.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI503.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI503.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI503.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI503.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI503.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI503.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI503.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI503.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI504.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI504.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI504.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI504.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI504.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI504.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI504.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI504.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI505.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI505.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI505.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI505.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI505.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI505.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI505.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI505.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI506.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI506.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI506.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI506.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI506.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI506.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI506.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI506.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI507.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI507.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI507.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI507.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI507.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI507.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI507.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI507.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI508.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI508.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI508.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI508.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI508.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI508.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI508.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI508.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI509.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI509.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI509.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI509.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI509.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI509.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI509.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI509.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI510.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI510.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI510.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI510.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI510.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI510.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI510.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI510.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI511.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI511.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI511.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI511.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI511.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI511.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI511.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI511.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI512.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI512.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI512.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI512.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI512.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI512.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI512.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI512.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI513.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI513.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI513.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI513.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI513.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI513.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI513.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI513.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI514.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI514.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI514.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI514.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI514.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI514.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI514.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI514.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI515.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI515.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI515.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI515.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI515.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI515.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI515.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI515.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI516.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI516.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI516.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI516.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI516.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI516.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI516.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI516.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI517.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI517.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI517.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI517.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI517.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI517.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI517.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI517.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI518.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI518.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI518.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI518.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI518.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI518.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI518.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI518.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI519.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI519.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI519.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI519.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI519.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI519.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI519.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI519.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI520.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI520.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI520.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI520.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI520.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI520.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI520.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI520.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI521.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI521.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI521.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI521.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI521.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI521.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI521.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI521.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI522.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI522.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI522.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI522.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI522.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI522.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI522.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI522.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI523.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI523.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI523.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI523.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI523.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI523.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI523.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI523.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI524.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI524.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI524.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI524.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI524.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI524.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI524.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI524.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI525.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI525.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI525.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI525.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI525.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI525.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI525.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI525.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI526.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI526.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI526.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI526.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI526.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI526.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI526.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI526.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI527.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI527.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI527.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI527.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI527.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI527.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI527.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI527.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI528.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI528.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI528.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI528.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI528.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI528.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI528.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI528.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI529.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI529.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI529.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI529.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI529.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI529.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI529.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI529.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI530.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI530.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI530.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI530.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI530.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI530.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI530.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI530.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI531.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI531.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI531.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI531.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI531.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI531.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI531.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI531.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI532.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI532.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI532.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI532.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/GCI532.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI532.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/GCI532.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/GCI532.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/java/README.md b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/README.md
similarity index 76%
rename from android-plugin/src/main/resources/io/ecocode/rules/java/README.md
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/README.md
index 15f8dfc1..3e07eda6 100644
--- a/android-plugin/src/main/resources/io/ecocode/rules/java/README.md
+++ b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/java/README.md
@@ -13,7 +13,7 @@ If you want to:
* adjust rule metadata;
* etc.
-Then, please reach us though our mail , prior to submitting any code change.
+Then, please reach us though our mail , prior to submitting any code change.
Thanks,
-*The ecoCode Team*
+*The creedengo Team*
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI540.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI540.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI540.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI540.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI540.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI540.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI540.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI540.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI541.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI541.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI541.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI541.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI541.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI541.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI541.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI541.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI542.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI542.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI542.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI542.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI542.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI542.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI542.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI542.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI543.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI543.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI543.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI543.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI543.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI543.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI543.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI543.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI544.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI544.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI544.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI544.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI544.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI544.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI544.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI544.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI545.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI545.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI545.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI545.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI545.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI545.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI545.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI545.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI546.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI546.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI546.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI546.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI546.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI546.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI546.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI546.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI547.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI547.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI547.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI547.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI547.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI547.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI547.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI547.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI548.html b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI548.html
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI548.html
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI548.html
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/GCI548.json b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI548.json
similarity index 100%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/GCI548.json
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/GCI548.json
diff --git a/android-plugin/src/main/resources/io/ecocode/rules/xml/README.md b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/README.md
similarity index 76%
rename from android-plugin/src/main/resources/io/ecocode/rules/xml/README.md
rename to android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/README.md
index 15f8dfc1..3e07eda6 100644
--- a/android-plugin/src/main/resources/io/ecocode/rules/xml/README.md
+++ b/android-plugin/src/main/resources/org/greencodeinitiative/creedengo/rules/xml/README.md
@@ -13,7 +13,7 @@ If you want to:
* adjust rule metadata;
* etc.
-Then, please reach us though our mail , prior to submitting any code change.
+Then, please reach us though our mail , prior to submitting any code change.
Thanks,
-*The ecoCode Team*
+*The creedengo Team*
diff --git a/android-plugin/src/test/files/environment/batch/JobCoalesceCheckAlarmManager.java b/android-plugin/src/test/files/environment/batch/JobCoalesceCheckAlarmManager.java
index 2279ce72..03b7c3fd 100644
--- a/android-plugin/src/test/files/environment/batch/JobCoalesceCheckAlarmManager.java
+++ b/android-plugin/src/test/files/environment/batch/JobCoalesceCheckAlarmManager.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -90,4 +90,4 @@ private AlarmManager setWindow(int type, long triggerAtMillis, long intervalMill
private void listener() {
return null;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/batch/JobCoalesceCheckSyncAdapter.java b/android-plugin/src/test/files/environment/batch/JobCoalesceCheckSyncAdapter.java
index a4605f91..4dfedd16 100644
--- a/android-plugin/src/test/files/environment/batch/JobCoalesceCheckSyncAdapter.java
+++ b/android-plugin/src/test/files/environment/batch/JobCoalesceCheckSyncAdapter.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -52,4 +52,4 @@ private abstract void onPerformSync(Account account,
ContentProviderClient contentProviderClient,
SyncResult syncResult) {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/batch/SensorCoalesceCheck.java b/android-plugin/src/test/files/environment/batch/SensorCoalesceCheck.java
index fd184f26..8ad3e3b4 100644
--- a/android-plugin/src/test/files/environment/batch/SensorCoalesceCheck.java
+++ b/android-plugin/src/test/files/environment/batch/SensorCoalesceCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -93,4 +93,4 @@ private SensorManager registerListener(SensorEventListener sensorEventListener,
private SensorManager registerListener(SensorEventListener sensorEventListener, Sensor gyroscope, int delay, int latency, Handler handler) {
return null;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/bottleneck/InternetInTheLoopCheck.java b/android-plugin/src/test/files/environment/bottleneck/InternetInTheLoopCheck.java
index c2dc0f5e..fd01c816 100644
--- a/android-plugin/src/test/files/environment/bottleneck/InternetInTheLoopCheck.java
+++ b/android-plugin/src/test/files/environment/bottleneck/InternetInTheLoopCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/bottleneck/UncompressedDataTransmissionCheck.java b/android-plugin/src/test/files/environment/bottleneck/UncompressedDataTransmissionCheck.java
index 850dcdcc..4df6bc9b 100644
--- a/android-plugin/src/test/files/environment/bottleneck/UncompressedDataTransmissionCheck.java
+++ b/android-plugin/src/test/files/environment/bottleneck/UncompressedDataTransmissionCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockCheck.java b/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockCheck.java
index 16fbe3b0..fd6318ff 100644
--- a/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockCheck.java
+++ b/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockNoIssueCheck.java b/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockNoIssueCheck.java
index 388f3e4b..f26aef5e 100644
--- a/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockNoIssueCheck.java
+++ b/android-plugin/src/test/files/environment/bottleneck/WifiMulticastLockNoIssueCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/ContinuousRenderingCheck.java b/android-plugin/src/test/files/environment/idleness/ContinuousRenderingCheck.java
index d4e95d48..127f1f55 100644
--- a/android-plugin/src/test/files/environment/idleness/ContinuousRenderingCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/ContinuousRenderingCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/DurableWakeLockCheck.java b/android-plugin/src/test/files/environment/idleness/DurableWakeLockCheck.java
index 0add4ff6..da7a85b3 100644
--- a/android-plugin/src/test/files/environment/idleness/DurableWakeLockCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/DurableWakeLockCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/KeepCpuOnCheck.java b/android-plugin/src/test/files/environment/idleness/KeepCpuOnCheck.java
index add8da40..7f25bc94 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepCpuOnCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepCpuOnCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/KeepScreenOnAddFlagsCheck.java b/android-plugin/src/test/files/environment/idleness/KeepScreenOnAddFlagsCheck.java
index 802238bd..4de3adb9 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepScreenOnAddFlagsCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepScreenOnAddFlagsCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -73,4 +73,4 @@ public final class InnerFinalClass {
public static final int FLAG_TO_CHECK = 0x00000080;
private static final int OTHER_FLAG = 0x00000002;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/idleness/KeepScreenOnSetFlagsCheck.java b/android-plugin/src/test/files/environment/idleness/KeepScreenOnSetFlagsCheck.java
index de53a770..3f66c893 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepScreenOnSetFlagsCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepScreenOnSetFlagsCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -80,4 +80,4 @@ public final class InnerFinalClass {
public static final int FLAG_TO_CHECK = 0x00000080;
private static final int OTHER_FLAG = 0x00000002;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeCheck.java b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeCheck.java
index 917c6fbd..a72d0568 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeNotPresentCheck.java b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeNotPresentCheck.java
index c343fce8..250d0963 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeNotPresentCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeNotPresentCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeToFalseCheck.java b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeToFalseCheck.java
index a979ef24..e7a0213e 100644
--- a/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeToFalseCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/KeepVoiceAwakeToFalseCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/idleness/RigidAlarmCheck.java b/android-plugin/src/test/files/environment/idleness/RigidAlarmCheck.java
index 3bdb54b4..c82026f0 100644
--- a/android-plugin/src/test/files/environment/idleness/RigidAlarmCheck.java
+++ b/android-plugin/src/test/files/environment/idleness/RigidAlarmCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/leakage/CameraLeakCheckIssue.java b/android-plugin/src/test/files/environment/leakage/CameraLeakCheckIssue.java
index 6fe4cce1..69dc3018 100644
--- a/android-plugin/src/test/files/environment/leakage/CameraLeakCheckIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/CameraLeakCheckIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,4 +29,4 @@ public boolean open() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/CameraLeakCheckNoIssue.java b/android-plugin/src/test/files/environment/leakage/CameraLeakCheckNoIssue.java
index 20077e9c..492f28a0 100644
--- a/android-plugin/src/test/files/environment/leakage/CameraLeakCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/CameraLeakCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,4 +30,4 @@ public boolean open() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/LocationLeakCheckIssue.java b/android-plugin/src/test/files/environment/leakage/LocationLeakCheckIssue.java
index 1c164598..c22fddb2 100644
--- a/android-plugin/src/test/files/environment/leakage/LocationLeakCheckIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/LocationLeakCheckIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,4 +29,4 @@ public boolean requestLocationUpdates() {
public void removeUpdates() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/LocationLealCheckNoIssue.java b/android-plugin/src/test/files/environment/leakage/LocationLealCheckNoIssue.java
index f6febbbe..a712519b 100644
--- a/android-plugin/src/test/files/environment/leakage/LocationLealCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/LocationLealCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,4 +30,4 @@ public boolean requestLocationUpdates() {
public void removeUpdates() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckIssue.java b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckIssue.java
index 14cdd48a..042783fb 100644
--- a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,4 +28,4 @@ public MediaPlayer() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckNoIssue.java b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckNoIssue.java
index 08e54f7c..689a40b4 100644
--- a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaPlayerCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,4 +29,4 @@ public MediaPlayer() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckIssue.java b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckIssue.java
index 54d34c67..d6029cd1 100644
--- a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,4 +28,4 @@ public MediaRecorder() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckNoIssue.java b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckNoIssue.java
index d9cc0ac2..2ad97d36 100644
--- a/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/MediaLeakMediaRecorderCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,4 +29,4 @@ public MediaRecorder() {
public void release() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckIssue.java b/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckIssue.java
index 215e39ee..b6aba263 100644
--- a/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckNoIssue.java b/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckNoIssue.java
index 4cdad435..bcd43f07 100644
--- a/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/leakage/SensorManagerLeakCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,4 +30,4 @@ public boolean registerListener() {
public void unregisterListener() {
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckBothBleBc.java b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckBothBleBc.java
index f9e6cdcb..9f83d6a1 100644
--- a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckBothBleBc.java
+++ b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckBothBleBc.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBc.java b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBc.java
index a7af9b14..46507954 100644
--- a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBc.java
+++ b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBc.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBle.java b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBle.java
index fc03aec1..387f275a 100644
--- a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBle.java
+++ b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckOnlyBle.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckWildcard.java b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckWildcard.java
index 021a3746..0bb3d190 100644
--- a/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckWildcard.java
+++ b/android-plugin/src/test/files/environment/optimized_api/BluetoothLowEnergyCheckWildcard.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheck.java b/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheck.java
index c3f32698..46daa164 100644
--- a/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheck.java
+++ b/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheckNoIssue.java b/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheckNoIssue.java
index bffed24f..eff9bd95 100644
--- a/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/optimized_api/FusedLocationCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/power/ChargeAwarenessCheck.java b/android-plugin/src/test/files/environment/power/ChargeAwarenessCheck.java
index c627d000..38e384ea 100644
--- a/android-plugin/src/test/files/environment/power/ChargeAwarenessCheck.java
+++ b/android-plugin/src/test/files/environment/power/ChargeAwarenessCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -62,4 +62,4 @@ public static IntentFilter create(String action, String dataType) {
throw new RuntimeException("Bad MIME type", e);
}
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckIntentFilter.java b/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckIntentFilter.java
index a196886e..a723d012 100644
--- a/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckIntentFilter.java
+++ b/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckIntentFilter.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -51,4 +51,4 @@ public static IntentFilter create(String action, String dataType) {
throw new RuntimeException("Bad MIME type", e);
}
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckPowerManager.java b/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckPowerManager.java
index 5fb3f2d5..f6a967af 100644
--- a/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckPowerManager.java
+++ b/android-plugin/src/test/files/environment/power/SaveModeAwarenessCheckPowerManager.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,4 +29,4 @@ public void test() {
public final bool isPowerSaveMode() {
return true;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/sobriety/BrightnessOverrideCheck.java b/android-plugin/src/test/files/environment/sobriety/BrightnessOverrideCheck.java
index 3bee5c64..be2779e9 100644
--- a/android-plugin/src/test/files/environment/sobriety/BrightnessOverrideCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/BrightnessOverrideCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/HighFrameRateCheck.java b/android-plugin/src/test/files/environment/sobriety/HighFrameRateCheck.java
index 4b812fea..9b968d0f 100644
--- a/android-plugin/src/test/files/environment/sobriety/HighFrameRateCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/HighFrameRateCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -70,4 +70,4 @@ public void setFrameRate(float frameRate, int compatibility, int changeFrameRate
return;
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityCheck.java b/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityCheck.java
index d443f62d..6fa49f4e 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeCheck.java b/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeCheck.java
index 2c3275ac..88c49c9a 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCheck.java b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCheck.java
index cf4480ca..017b50c0 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoCriteria.java b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoCriteria.java
index 1e47f307..0e74fe07 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoCriteria.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoCriteria.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoIssue.java b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoIssue.java
index 4860dcfb..c86295b1 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoIssue.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckNoIssue.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckOnlyRequest.java b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckOnlyRequest.java
index 30c27973..1607896f 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckOnlyRequest.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckOnlyRequest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckWrongCriteria.java b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckWrongCriteria.java
index 693769c6..2e77e0c5 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckWrongCriteria.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyGeolocationCriteriaCheckWrongCriteria.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyMotionSensorCheck.java b/android-plugin/src/test/files/environment/sobriety/ThriftyMotionSensorCheck.java
index 32b84a0c..cf0b859f 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyMotionSensorCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyMotionSensorCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckBuilder.java b/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckBuilder.java
index 10011ee3..76902962 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckBuilder.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckBuilder.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -52,4 +52,4 @@ private Builder setSound(Uri soundUrl, int streamType) {
}
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckChannel.java b/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckChannel.java
index 87768336..89bd9e8a 100644
--- a/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckChannel.java
+++ b/android-plugin/src/test/files/environment/sobriety/ThriftyNotificationCheckChannel.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/TorchFreeCheck.java b/android-plugin/src/test/files/environment/sobriety/TorchFreeCheck.java
index 3930165a..4be22831 100644
--- a/android-plugin/src/test/files/environment/sobriety/TorchFreeCheck.java
+++ b/android-plugin/src/test/files/environment/sobriety/TorchFreeCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckActivity.java b/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckActivity.java
index 2b82dd64..92403462 100644
--- a/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckActivity.java
+++ b/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckActivity.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,4 +34,4 @@ public final class Sensor {
public static final String VIBRATOR_MANAGER_SERVICE = "vibrator_manager";
public static final String VIBRATOR_SERVICE = "vibrator";
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckContext.java b/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckContext.java
index b0b22977..edaed845 100644
--- a/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckContext.java
+++ b/android-plugin/src/test/files/environment/sobriety/VibrationFreeCheckContext.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,4 +34,4 @@ public final class Sensor {
public static final String VIBRATOR_MANAGER_SERVICE = "vibrator_manager";
public static final String VIBRATOR_SERVICE = "vibrator";
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/files/social/privacy/GoogleTrackerFirebaseCheck.java b/android-plugin/src/test/files/social/privacy/GoogleTrackerFirebaseCheck.java
index 16f1cf93..fee06b0d 100644
--- a/android-plugin/src/test/files/social/privacy/GoogleTrackerFirebaseCheck.java
+++ b/android-plugin/src/test/files/social/privacy/GoogleTrackerFirebaseCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleAndFirebaseCheck.java b/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleAndFirebaseCheck.java
index 7ff06d2f..55f4bdac 100644
--- a/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleAndFirebaseCheck.java
+++ b/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleAndFirebaseCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleCheck.java b/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleCheck.java
index 89aa685d..030fe2ac 100644
--- a/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleCheck.java
+++ b/android-plugin/src/test/files/social/privacy/GoogleTrackerGoogleCheck.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/android-plugin/src/test/java/io/ecocode/EcoCodeRulesPluginTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/CreedengoRulesPluginTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/EcoCodeRulesPluginTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/CreedengoRulesPluginTest.java
index 4cc3ed80..8b65936d 100644
--- a/android-plugin/src/test/java/io/ecocode/EcoCodeRulesPluginTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/CreedengoRulesPluginTest.java
@@ -1,4 +1,4 @@
-package io.ecocode;
+package org.greencodeinitiative.creedengo;
import org.junit.Test;
import org.sonar.api.Plugin;
@@ -10,13 +10,13 @@
import static org.assertj.core.api.Assertions.assertThat;
-public class EcoCodeRulesPluginTest {
+public class CreedengoRulesPluginTest {
public static final Version VERSION_10_3 = Version.create(10, 3);
@Test
public void testExtensions() {
- EcoCodeRulesPlugin plugin = new EcoCodeRulesPlugin();
+ CreedengoRulesPlugin plugin = new CreedengoRulesPlugin();
SonarRuntime runtime =
SonarRuntimeImpl.forSonarQube(VERSION_10_3, SonarQubeSide.SCANNER, SonarEdition.COMMUNITY);
Plugin.Context context = new Plugin.Context(runtime);
diff --git a/android-plugin/src/test/java/io/ecocode/java/JavaEcoCodeProfileTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfileTest.java
similarity index 81%
rename from android-plugin/src/test/java/io/ecocode/java/JavaEcoCodeProfileTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfileTest.java
index 827cbb59..57d07775 100644
--- a/android-plugin/src/test/java/io/ecocode/java/JavaEcoCodeProfileTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaCreedengoProfileTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
import org.junit.Test;
import org.sonar.api.server.profile.BuiltInQualityProfilesDefinition;
@@ -23,7 +23,7 @@
import static org.assertj.core.api.Assertions.assertThat;
-public class JavaEcoCodeProfileTest {
+public class JavaCreedengoProfileTest {
@Test
public void should_create_sonar_way_profile() {
@@ -31,7 +31,7 @@ public void should_create_sonar_way_profile() {
BuiltInQualityProfilesDefinition.Context context = new BuiltInQualityProfilesDefinition.Context();
- JavaEcoCodeProfile definition = new JavaEcoCodeProfile();
+ JavaCreedengoProfile definition = new JavaCreedengoProfile();
definition.define(context);
BuiltInQualityProfilesDefinition.BuiltInQualityProfile profile = context.profile(Java.KEY, Java.PROFILE_NAME);
diff --git a/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinitionTest.java
similarity index 98%
rename from android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinitionTest.java
index bb099ddc..91422303 100644
--- a/android-plugin/src/test/java/io/ecocode/java/JavaRulesDefinitionTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/JavaRulesDefinitionTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java;
+package org.greencodeinitiative.creedengo.java;
import org.junit.Test;
import org.sonar.api.rules.RuleType;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/JobCoalesceRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/JobCoalesceRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRuleTest.java
index 96f9abeb..ab613204 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/JobCoalesceRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/JobCoalesceRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.batch;
+package org.greencodeinitiative.creedengo.java.checks.environment.batch;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRuleTest.java
index 4aa75ad8..359f1603 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/batch/SensorCoalesceRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/batch/SensorCoalesceRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.batch;
+package org.greencodeinitiative.creedengo.java.checks.environment.batch;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java
index 7ebd599b..cc8cf3d4 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/InternetInTheLoopRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java
index e3b568af..516d1e5a 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/UncompressedDataTransmissionRulesTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java
index f324cb43..f03ed4e6 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/bottleneck/WifiMulticastLockRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.bottleneck;
+package org.greencodeinitiative.creedengo.java.checks.environment.bottleneck;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingTest.java
index b48ef0c5..d81e9169 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/ContinuousRenderingTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/ContinuousRenderingTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRuleTest.java
index dc9af981..bb6a7c9b 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/DurableWakeLockRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/DurableWakeLockRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRuleTest.java
index e95642c1..4f053284 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepCpuOnRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepCpuOnRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java
index 3d1d9281..fb371d42 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnAddFlagsRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java
index 493dc913..01df0c38 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepScreenOnSetFlagsRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeTest.java
similarity index 85%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeTest.java
index 9ab72a58..fcc0ceef 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/KeepVoiceAwakeTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/KeepVoiceAwakeTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRuleTest.java
index 82c1e29e..8a340325 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/idleness/RigidAlarmRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/idleness/RigidAlarmRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.idleness;
+package org.greencodeinitiative.creedengo.java.checks.environment.idleness;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/CameraLeakRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/CameraLeakRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRuleTest.java
index 761c9bc8..8db0bd19 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/CameraLeakRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/CameraLeakRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/LocationLeakRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/LocationLeakRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRuleTest.java
index 94eddf3a..1b8c6cc8 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/LocationLeakRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/LocationLeakRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java
similarity index 83%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java
index 1f142e6f..9eb62b6a 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaPlayerRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java
similarity index 83%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java
index 3c06682f..e159cff3 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/MediaLeakMediaRecorderRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRuleTest.java
similarity index 83%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRuleTest.java
index a0a3c358..f07d275b 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/leakage/SensorManagerLeakRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/leakage/SensorManagerLeakRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.leakage;
+package org.greencodeinitiative.creedengo.java.checks.environment.leakage;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java
similarity index 86%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java
index 1e440fef..5cfe0ab5 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/BluetoothLowEnergyRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.optimized_api;
+package org.greencodeinitiative.creedengo.java.checks.environment.optimized_api;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationCheckTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationCheckTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationCheckTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationCheckTest.java
index f81da7bd..b08bf8f1 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/optimized_api/FusedLocationCheckTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/optimized_api/FusedLocationCheckTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.optimized_api;
+package org.greencodeinitiative.creedengo.java.checks.environment.optimized_api;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRuleTest.java
index fb4b01a1..ab3bada9 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/power/ChargeAwarenessRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/ChargeAwarenessRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.power;
+package org.greencodeinitiative.creedengo.java.checks.environment.power;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRuleTest.java
index 8d89074b..d01585a2 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/power/SaveModeAwarenessRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/power/SaveModeAwarenessRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.power;
+package org.greencodeinitiative.creedengo.java.checks.environment.power;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
@@ -32,4 +32,4 @@ public void verify() {
.withCheck(new SaveModeAwarenessRule())
.verifyIssues();
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java
index d5453ec2..d75e6b72 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/BrightnessOverrideRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateCheckTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateCheckTest.java
similarity index 78%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateCheckTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateCheckTest.java
index 8fcbf2d7..9f315d45 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/HighFrameRateCheckTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/HighFrameRateCheckTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
@@ -29,4 +29,4 @@ public void verify() {
.verifyIssues();
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java
similarity index 80%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java
index 1a057790..6e9c010f 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergyRequestConnectionPriorityRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java
similarity index 80%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java
index 0ea46e49..ae033289 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyBluetoothLowEnergySetAdvertiseModeRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java
similarity index 80%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java
index 36153cfd..c4c9f3e5 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCheckTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java
similarity index 87%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java
index a62c3ef1..31e25d90 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyGeolocationCriteriaTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java
index aab59e8f..fdeb7c49 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyMotionSensorRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java
index 588b32bf..a1015243 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/ThriftyNotificationRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRuleTest.java
similarity index 78%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRuleTest.java
index a41936a2..6fb43427 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/TorchFreeRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/TorchFreeRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRuleTest.java
similarity index 80%
rename from android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRuleTest.java
index 3d97ecd5..cb5d585b 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/environment/sobriety/VibrationFreeRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/environment/sobriety/VibrationFreeRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.environment.sobriety;
+package org.greencodeinitiative.creedengo.java.checks.environment.sobriety;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRuleTest.java
similarity index 83%
rename from android-plugin/src/test/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRuleTest.java
index e2472ea5..61834d66 100644
--- a/android-plugin/src/test/java/io/ecocode/java/checks/social/privacy/GoogleTrackerRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/java/checks/social/privacy/GoogleTrackerRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,9 +15,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.java.checks.social.privacy;
+package org.greencodeinitiative.creedengo.java.checks.social.privacy;
-import io.ecocode.java.checks.social.privacy.GoogleTrackerRule;
import org.junit.Test;
import org.sonar.java.checks.verifier.CheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/XmlEcoCodeProfileTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfileTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/xml/XmlEcoCodeProfileTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfileTest.java
index 4df46bbe..ea171c0d 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/XmlEcoCodeProfileTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlCreedengoProfileTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
import org.junit.Test;
import org.sonar.api.server.profile.BuiltInQualityProfilesDefinition;
@@ -23,7 +23,7 @@
import static org.assertj.core.api.Assertions.assertThat;
-public class XmlEcoCodeProfileTest {
+public class XmlCreedengoProfileTest {
@Test
public void should_create_sonar_way_profile() {
@@ -31,7 +31,7 @@ public void should_create_sonar_way_profile() {
BuiltInQualityProfilesDefinition.Context context = new BuiltInQualityProfilesDefinition.Context();
- XmlEcoCodeProfile definition = new XmlEcoCodeProfile();
+ XmlCreedengoProfile definition = new XmlCreedengoProfile();
definition.define(context);
BuiltInQualityProfilesDefinition.BuiltInQualityProfile profile = context.profile(Xml.KEY, Xml.PROFILE_NAME);
diff --git a/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinitionTest.java
similarity index 93%
rename from android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinitionTest.java
index 0d11ae7f..e56c0e8b 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/XmlRulesDefinitionTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/XmlRulesDefinitionTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml;
+package org.greencodeinitiative.creedengo.xml;
import org.junit.Test;
import org.sonar.api.server.rule.RulesDefinition;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRuleTest.java
index 994e96b0..23246960 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/batch/ServiceBootTimeXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/batch/ServiceBootTimeXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.batch;
+package org.greencodeinitiative.creedengo.xml.checks.batch;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRuleTest.java
similarity index 81%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRuleTest.java
index b0ea5224..d0e1fe00 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepCpuOnXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepCpuOnXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.idleness;
+package org.greencodeinitiative.creedengo.xml.checks.idleness;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRuleTest.java
similarity index 81%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRuleTest.java
index 36318fb0..522c4892 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/idleness/KeepScreenOnXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/idleness/KeepScreenOnXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.idleness;
+package org.greencodeinitiative.creedengo.xml.checks.idleness;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRuleTest.java
index 6394be66..d64d7477 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/power/ChargeAwarenessXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/ChargeAwarenessXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java
index c4bbddfe..c514621e 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/CompagnionInBackgroundXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java
similarity index 82%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java
index 2c269116..f02640bf 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/IgnoreBatteryOptimizationsXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRuleTest.java
similarity index 79%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRuleTest.java
index a3e274a0..46dcbad7 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/power/SaveModeAwarenessXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/power/SaveModeAwarenessXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.power;
+package org.greencodeinitiative.creedengo.xml.checks.power;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
@@ -27,4 +27,4 @@ public void attributePresentTrue() {
SonarXmlCheckVerifier.verifyIssues("SaveModeAwarenessXmlCheck.xml", new SaveModeAwarenessXmlRule());
}
-}
\ No newline at end of file
+}
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java
similarity index 81%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java
index 414372dc..a7375ec7 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIBrightColorsXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.sobriety;
+package org.greencodeinitiative.creedengo.xml.checks.sobriety;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java
similarity index 81%
rename from android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java
rename to android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java
index 12a48d35..3fbbd261 100644
--- a/android-plugin/src/test/java/io/ecocode/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java
+++ b/android-plugin/src/test/java/org/greencodeinitiative/creedengo/xml/checks/sobriety/DarkUIThemeXmlRuleTest.java
@@ -1,6 +1,6 @@
/*
- * ecoCode Android plugin - Provides rules to reduce the environmental footprint of your Android applications
- * Copyright © 2020 Green Code Initiative (contact@ecocode.io)
+ * creedengo Android plugin - Provides rules to reduce the environmental footprint of your Android applications
+ * Copyright © 2020 Green Code Initiative (contact@green-code-initiative.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-package io.ecocode.xml.checks.sobriety;
+package org.greencodeinitiative.creedengo.xml.checks.sobriety;
import org.junit.Test;
import org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheckVerifier;
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md b/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
index c05b0333..a17f4037 100644
--- a/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
+++ b/codenarc-converter/CodeNarc/docs/codenarc-rule-index-by-name.md
@@ -89,7 +89,7 @@ title: CodeNarc - Rule Index by Name
* [DuplicateNumberLiteral](./codenarc-rules-dry.html#duplicatenumberliteral-rule)
* [DuplicateSetValue](./codenarc-rules-basic.html#duplicatesetvalue-rule)
* [DuplicateStringLiteral](./codenarc-rules-dry.html#duplicatestringliteral-rule)
-* [GCI5001](./codenarc-rules-ecocode.html#GCI5001-rule)
+* [GCI5001](./codenarc-rules-creedengo.html#GCI5001-rule)
* [ElseBlockBraces](./codenarc-rules-braces.html#elseblockbraces-rule)
* [EmptyCatchBlock](./codenarc-rules-basic.html#emptycatchblock-rule)
* [EmptyClass](./codenarc-rules-basic.html#emptyclass-rule)
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md b/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
index f9e532a5..90d8a595 100644
--- a/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
+++ b/codenarc-converter/CodeNarc/docs/codenarc-rule-index.md
@@ -166,8 +166,8 @@ title: CodeNarc - Rule Index
* [DuplicateNumberLiteral](./codenarc-rules-dry.html#duplicatenumberliteral-rule)
* [DuplicateStringLiteral](./codenarc-rules-dry.html#duplicatestringliteral-rule)
-## [Ecocode](./codenarc-rules-ecocode.html)
-* [GCI5001](./codenarc-rules-ecocode.html#GCI5001-rule)
+## [Ecocode](./codenarc-rules-creedengo.html)
+* [GCI5001](./codenarc-rules-creedengo.html#GCI5001-rule)
## [Enhanced](./codenarc-rules-enhanced.html)
* [CloneWithoutCloneable](./codenarc-rules-enhanced.html#clonewithoutcloneable-rule)
diff --git a/codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md b/codenarc-converter/CodeNarc/docs/codenarc-rules-creedengo.md
similarity index 100%
rename from codenarc-converter/CodeNarc/docs/codenarc-rules-ecocode.md
rename to codenarc-converter/CodeNarc/docs/codenarc-rules-creedengo.md
diff --git a/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/GCI5001.groovy b/codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/creedengo/GCI5001.groovy
similarity index 100%
rename from codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/ecocode/GCI5001.groovy
rename to codenarc-converter/CodeNarc/src/main/groovy/org/codenarc/rule/creedengo/GCI5001.groovy
diff --git a/codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml b/codenarc-converter/CodeNarc/src/main/resources/rulesets/creedengo.xml
similarity index 100%
rename from codenarc-converter/CodeNarc/src/main/resources/rulesets/ecocode.xml
rename to codenarc-converter/CodeNarc/src/main/resources/rulesets/creedengo.xml
diff --git a/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/GCI5001Test.groovy b/codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/creedengo/GCI5001Test.groovy
similarity index 100%
rename from codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/ecocode/GCI5001Test.groovy
rename to codenarc-converter/CodeNarc/src/test/groovy/org/codenarc/rule/creedengo/GCI5001Test.groovy
diff --git a/codenarc-converter/README.md b/codenarc-converter/README.md
index 40b40bc1..2229b4a8 100644
--- a/codenarc-converter/README.md
+++ b/codenarc-converter/README.md
@@ -32,7 +32,7 @@ You will be asked a few questions that will modify documentation files in `[...]
- `/CHANGELOG.md`: changelist.
- `/docs/codenarc-base-messages.properties`: rules description.
-- `/docs/codenarc-rules-ecocode.md`: rules documentation.
+- `/docs/codenarc-rules-creedengo.md`: rules documentation.
- `/src/main/resources/rulesets/ecocode.xmlecocode.xml`: rules list.
and generates rule files:
diff --git a/codenarc-converter/pom.xml b/codenarc-converter/pom.xml
index ea02976a..18b16aff 100644
--- a/codenarc-converter/pom.xml
+++ b/codenarc-converter/pom.xml
@@ -3,8 +3,8 @@
4.0.0
- io.ecocode
- ecocode-android-parent
+ org.green-code-initiative
+ creedengo-android-parent
1.1.1-SNAPSHOT
@@ -13,7 +13,7 @@
Sonar CodeNarc Converter
Help the earth, adopt this green plugin for your applications
2020
- https://github.com/green-code-initiative/ecocode-android/tree/main/codenarc-converter
+ https://github.com/green-code-initiative/creedengo-android/tree/main/codenarc-converter
3.5.0
diff --git a/codenarc-converter/src/main/java/org/sonar/plugins/groovy/codenarc/parser/markdown/MarkdownParser.java b/codenarc-converter/src/main/java/org/sonar/plugins/groovy/codenarc/parser/markdown/MarkdownParser.java
index cf76b6cf..653f7b72 100644
--- a/codenarc-converter/src/main/java/org/sonar/plugins/groovy/codenarc/parser/markdown/MarkdownParser.java
+++ b/codenarc-converter/src/main/java/org/sonar/plugins/groovy/codenarc/parser/markdown/MarkdownParser.java
@@ -68,7 +68,7 @@ public MarkdownParser(RuleRegistry registry, Parser parser, HtmlRenderer htmlRen
@Override
public RuleParserResult parse(Path source) throws IOException, ReflectiveOperationException {
File docsFolder = getSourceFolder(source).toFile();
- File[] docs = docsFolder.listFiles((dir, name) -> name.startsWith("codenarc-rules-ecocode"));
+ File[] docs = docsFolder.listFiles((dir, name) -> name.startsWith("codenarc-rules-creedengo"));
if (docs == null) {
throw new FileNotFoundException(String.format("%s does not contain any files matching pattern codenarc-rules-*", docsFolder.getAbsolutePath()));
}
diff --git a/docker-compose.yml b/docker-compose.yml
index 87114bdc..458dec20 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,7 +4,7 @@ services:
build:
dockerfile: Dockerfile
context: .
- container_name: sonar_ecocode-android
+ container_name: sonar_creedengo-android
ports:
- "9000:9000"
networks:
@@ -18,14 +18,14 @@ services:
SONAR_ES_BOOTSTRAP_CHECKS_DISABLE: 'true'
volumes:
- type: bind
- source: ./android-plugin/target/ecocode-android-1.1.1-SNAPSHOT.jar
- target: /opt/sonarqube/extensions/plugins/ecocode-android-1.1.1-SNAPSHOT.jar
+ source: ./android-plugin/target/creedengo-android-1.1.1-SNAPSHOT.jar
+ target: /opt/sonarqube/extensions/plugins/creedengo-android-1.1.1-SNAPSHOT.jar
- "logs:/opt/sonarqube/logs"
- "data:/opt/sonarqube/data"
db:
image: postgres:12
- container_name: postgresql_ecocode-android
+ container_name: postgresql_creedengo-android
networks:
- sonarnet
volumes:
diff --git a/pom.xml b/pom.xml
index a78a34bc..f9619ac2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,14 +2,14 @@
4.0.0
- io.ecocode
- ecocode-android-parent
+ org.green-code-initiative
+ creedengo-android-parent
1.1.1-SNAPSHOT
pom
- ecoCode Android Sonar Plugins Project
+ creedengo Android Sonar Plugins Project
Provides rules to reduce the environmental footprint of your Android applications
- https://github.com/green-code-initiative/ecocode-android
+ https://github.com/green-code-initiative/creedengo-android
Green Code Initiative
https://collectif.greenit.fr
@@ -23,12 +23,12 @@
GitHub
- https://github.com/green-code-initiative/ecocode-android/issues
+ https://github.com/green-code-initiative/creedengo-android/issues
- scm:git:https://github.com/green-code-initiative/ecocode-android
- scm:git:https://github.com/green-code-initiative/ecocode-android
- https://github.com/green-code-initiative/ecocode-android
+ scm:git:https://github.com/green-code-initiative/creedengo-android
+ scm:git:https://github.com/green-code-initiative/creedengo-android
+ https://github.com/green-code-initiative/creedengo-android
HEAD
@@ -169,9 +169,9 @@
4.1
- ecoCode Android plugin
+ creedengo Android plugin
Provides rules to reduce the environmental footprint of your Android applications
- contact@ecocode.io
+ contact@green-code-initiative.org
2020