A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of ecoCode

ecoCode - Release 1.4.4

Changed

  • RULES.md upgrades
  • technical upgrade for maven central publication

Deleted

  • #182 disable java plugin beacasue moved to new repository ecoCode-java

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 1 year ago

ecoCode - Release 1.4.3

Added

  • #248 EC2 : Add tests to prove there is no problem with 'instanceof' operator

Changed

  • #123 Complete resources for EC7 rule for Python language
  • Update ecocode-rules-specifications to 0.0.10

Deleted

  • #4 Deprecate rule EC66 for Python because not applicable (see details inside issue)
  • #240 Deprecate rule EC53 for Java because of no good arguments and not enough green measures
  • #258 Deprecate rule EC63 for Java because there are already 3 native Sonarqube rules that cover the same use cases
  • #259 Deprecate rule EC75 for Java because not applicable since JDK8

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 1 year ago

ecoCode - Release 1.4.2

Added

  • #224 Add Swift rules from ecocode-ios to ecocode-rules-specifications

Changed

  • Update ecocode-rules-specifications to 0.0.9

Deleted

  • #243 Deprecate rule EC4 for Java because not applicable

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 1 year ago

ecoCode - Release 1.4.1

Changed

  • android#67 Move Android rules into centralized rules repository
  • ios#3 Move iOS rules into centralized rules repository
  • #103 Upgrade RULES.md: set proposed HTML rule "HTML page must contain a doctype tag" as refused with link to the justification
  • #106 Upgrade RULES.md : rule EC67 not relevant neither for Python nor Rust
  • #112 Updating EC1 rule to add controls on streams
  • #128 Adding EC35 rule for Python and PHP : EC35 rule replaces EC34 with a specific use case ("file not found" sepcific)
  • #132 Upgrade RULES.md: set proposed Python rule "Use numpy array instead of standard list" as refused with link to the justification
  • #136 Upgrade rule EC53 for Python : no implementation possible for python
  • #140 Upgrade rule EC3 for Python : no implementation possible for python
  • #185 Add build number to manifest
  • #216 Upgrade rule EC2 for Java : Multiple if-else statement improvment
  • #225 Upgrade licence system and licence headers of Java files
  • #247 Upgrade rule EC2 for Java : float and double types deleted because of non compatibility with rule

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 1 year ago

ecoCode - Release 1.4.0

Added

  • #205 compatibility with SonarQube 10.1
  • #210 Publish to Maven Central (module ecocode-rules-specifications)

Deleted

  • #182 Split repository : move Python module to new ecoCode-python repository
  • #182 Split repository : move Php module to new ecoCode-php repository

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 1 year ago

ecoCode - Release 1.3.1

Added

  • #207 Add release tag analyzis on SonarCloud

Changed

Deleted

  • #211 Move JavaScript plugin to its dedicated repository

Consumption - Computation and Communication - Java
Published by github-actions[bot] almost 2 years ago

ecoCode - Release 1.3.0

Added

  • #108 new Python rule EC66 : Use single quote (') instead of quotation mark (")
  • #109 new PHP rule EC3 : Getting the size of the collection in the loop. For further RULES.md file
  • #113 new Python rule EC10 : Use unoptimized vector images
  • #127 new Python rule EC404 : Usage of generator comprehension instead of list comprehension in for loop declaration
  • #190 Add Python rule: Use unoptimized vector images
  • #191 Update rule tags for Java, Python, and PHP plugins
  • #192 new Python rule EC203 : Detect unoptimized file formats
  • Add JavaScript rules from ecoCode ESLint plugin v0.2.0

Changed

  • #19 process changed for development environment installation : easier to initialize locally environment (check INSTALL.md file)
  • #187 upgrade librairies to SonarQube 10.0.0
  • #196 updating PHP files to make them following the coding standards (PSR-12)
  • #201 Clean-up plugins and dependencies
  • technical : upgrade of maven plugins versions

Consumption - Computation and Communication - Java
Published by github-actions[bot] almost 2 years ago

ecoCode - Release 1.2.1

Changed

  • #180 correction of SonarQube review for MarketPlace (sonar plugin)

Consumption - Computation and Communication - Java
Published by github-actions[bot] about 2 years ago

ecoCode - Release 1.2.0

Added

  • 171 Add migration mechanism to support "issue re-keying"

Changed

  • #161 Remove unnecessary junit dependencies in pom.xml
  • 166 Correction of wrong message of rule EC63
  • 167 Use same kind for rules across different languages
  • 173 Update issue description of rule EC34 (try-catch)

Deleted

Consumption - Computation and Communication - Java
Published by github-actions[bot] about 2 years ago

ecoCode - Release 1.1.0

Changed

  • #63 Update plugins to be compliant for SonarQube MarketPlace integration ( PR #79 )
  • #88 upgrade rules matrix with new ids + refactoring rules documentation (RULES.md)
    • WARNING : since this plugin version, ids of plugin rules changed. In consequence, if you have already made some issue checks in your SonarQube instance, you will have to do them again (example : false-positive issues will appear again)

Deleted

  • #85 Cleaning some useless classes on PHP plugin

Consumption - Computation and Communication - Java
Published by github-actions[bot] about 2 years ago

ecoCode - Release 1.0.0

Added

  • #44 Update the PHP description rules
  • #67 Add JavaScript plugin
  • add ecocode tag on all rules on Java, PHP, Python and javascript plugins

Changed

  • #40 Refactoring of package names (cnumr to greencodeinitiative)
  • #58 check and upgrade compatibility to SonarQube 9.9
  • move common init scripts to ecoCode-common repository
  • modifying documentation and move CONTRIBUTING.md, CODE_STYLE.md and INSTALL.md to common doc in ecoCode-common repository
  • security / performance optimizations : correction of sonarcloud.io security hotspots (java / php, python) and move Pattern compilation to static attribute
  • #65 Create a test project to check new plugin rule in real environment
  • #71 After an PHP analysis, no ecocode code smells appears in my Sonar project
  • #64 Python: ecoCode plugin with SonarQube, no code-smell detection
  • #55 rename eco-conception tag of rules to eco-design
  • #76 correction of SonarQube plugins homepage link broken
  • documentation upgrade

Deleted

  • cleaning old files (move them to ecoCode-archive repository)

Consumption - Computation and Communication - Java
Published by github-actions[bot] about 2 years ago

ecoCode - Release 0.2.2

Added

  • #23 Add images to the description files.
  • #46 Add CONTRIBUTING.MD, CODE_OF_CONDUCT.md and CODE_STYLE.md

Changed

  • #27 Fix [WARNING] Maven-shade-plugin overlapping classes and upgrade SonarRuntime.
  • #33 Update plugin description in code
  • #42 Fix Crash SonarQube analysis because of some ClassCast Exceptions
  • #48 correction SONAR issue info - delete public keyword on tests
  • Improve "build" Github actions to execute checks on branches from fork repositories

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 2 years ago

ecoCode - Release 0.2.1

Added

Changed

  • #22 Error when running sonar scan with ecocode

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 2 years ago

ecoCode - Release 0.2.0

Added

  • #15 Upgrade some versions + sonar version from 9.3 to 9.8
  • #17 improve releasing system
  • #25 Release management vs maven packaging (not the same
    version)

Changed

  • documentation upgrade (internal)

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 2 years ago

ecoCode - Release 0.1.1

Added

  • 161 adding tool to update tags of native rules with our custom tags

Changed

  • documentation upgrade (internal)
  • optimization/refactoring on pom.xml dependencies (internal)

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 2 years ago

ecoCode - Release 0.1.0

Consumption - Computation and Communication - Java
Published by github-actions[bot] over 2 years ago