All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- upgrade internal libraries versions
- #110 Correction of NullPointerException in GCI2 rule
- #82 Add rule GCI112 @dataclass(slots=True) should be declared on data classes
- #108 Add rule GCI109 Avoid using exceptions for control flow
- #109 Add rule GCI110 Avoid wildcard imports
- #122 Add rule GCI111 Logging format, prefer using %s
- #23 Correction of false positive in GCI4 with TypeVar
- compatibility updates for SonarQube 25.12.0
- upgrade libraries versions
- update integration tests system to use the new component "creedengo-integration-test"
- optimization of GCI101 rule implementation + correction of TI
- technical optimization for dynamic versionning in maven (for next releases)
- #73 Add rule GCI100 Disable Gradient For model eval, a rule specific to PyTorch and AI/ML
- #77 Add rule GCI104 AvoidCreatingTensorUsingNumpyOrNativePython, a rule specific to AI/ML code
- #70 Add rule GCI108 Prefer Append Left (a rule to prefer the use of
appendoverinsertfor list, using deques) - #78 Add rule GCI105 on String Concatenation. This rule may also apply to other rules
- #74 Add rule GCI101 Avoid Conv Bias Before Batch Normalization, a rule specific to Deeplearning
- #75 Add rule GCI102 avoid non pinned memory for dataloader. This rule is specific to PyTorch and so AI
- #68 Data : Add rule GCI107 Avoid Iterative Matrix Operations. Use vectorization by the usage of the built-in functions of TensorFlow, NumPy or Pandas
- #69 Data : Add rule GCI99 Avoid CSV Format
- #76 Add rule GCI103 Dictionary Items Unused. A rule specifying that dictionary iteration should consider the pertinence of the element used.
- #79 Add rule GCI106 Avoid SQRT in a loop
- #71 Data / AI : Add rule GCI96 Require Usecols Argument in Pandas Read Functions
- #72 Add rule GCI97 Optimize square computation (scalar vs vectorized method)
- compatibility updates for SonarQube 25.5.0
- upgrade libraries versions
- correction of technical problem with Integration tests (because of Maven format in technical answer to "sonar-orchestrator-junit5" library)
- update from jdk 11 to 17
- Add Lombok annotation processing inside
maven-compilerplugin, to fix compile error on Arm64 architecture
- #42 Correction of dead link
- update some libraries versions / TU corrections / README.md correction (compatibility)
- update sonarqube version to 25.3.0
- upgrade actions/upload-artifact and actions/download-artifact from v3 to v4
- #43 Strong renaming plugin from
ecocode-pythontocreedengo-python(and maven groupid fromio.ecocodetoorg.green-code-initiative)
- refactoring docker system
- #29 Add test to ensure all Rules are registered
- #24 Set correct required language because the plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND add support for > 10.5 Sonarqube version (up to 10.7.0)
- update some maven plugin versions and library versions to be up-to-date
- correction of SonarCloud issues
- deletion of EC69 rule because of already deprecated (see RULES.md file)
- #26 [EC89] Avoid unlimited cache
- #22 Depreciation of EC69 rule for python because not relevant (after analysis)
- #22 Delete deprecated EC66 rule for Python
- #18 Add support for SonarQube 10.4 " DownloadOnlyWhenRequired" feature
- Add Support for SonarQube 10.4.1
- #17 EC7 - correction setter problem on constructor method
- check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created)
- #14 Correction of error with deprecated EC34 rule
- Update ecocode-rules-specifications to 1.4.7
- Add 10.3 SonarQube compatibility
- #5 Upgrade licence system and licence headers of Java files
- #6 Adding EC35 rule : EC35 rule replaces EC34 with a specific use case ("file not found" specific)
- #7 Add build number to manifest
- #123 Improve unit tests for EC7 rule
- Update ecocode-rules-specifications to 1.4.6
- README.md upgrade : docker test environment
- #10 Correction of NullPointException in EC2 rule
- #4 Deprecate rule EC66 for Python because not applicable (see details inside issue)
- Python rules moved from
ecocoderepository to current repository - #142 new Python rule : Multiple if-else statement + refactoring implementation
- #205 compatibility with SonarQube 10.1
unreleased 2.3.0 2.2.0 2.1.0 2.0.1 2.0.0 1.5.0 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0