Menu

#260 Add custom functions/caches to the duplicate code analysis

v1.1.x
closed
None
v1.1.0
Change Request
2017-12-11
2017-11-28
Erik Hänel
No

The duplicate code analysis cannot recognize, whether a code with different caches is duplicated. Add this feature.

Analysis:
This change has to be implemented in two locations:

  • The duplicate code dialog needs a (named) checkbox
  • In the actual analysis, this feature needs to be implemented: the function NumeReEditor::getSemanticLine() is used to convert a text line into a line with semantic replacements

Implementation:
Change was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
The necessary language string was added to the language files.

Tests:
Change was tested without any deviation. Change implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-11-28
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The duplicate code analysis cannot recognize, whether a code with different caches is duplicated. Add this feature.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,10 @@
     The duplicate code analysis cannot recognize, whether a code with different caches is duplicated. Add this feature.
    
     **Analysis:**
    +This change has to be implemented in two locations:
    +
    +- The duplicate code dialog needs a (named) checkbox
    +- In the actual analysis, this feature needs to be implemented: the function `NumeReEditor::getSemanticLine()` is used to convert a text line into a line with semantic replacements
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-11-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,7 +7,9 @@
    
     - In the actual analysis, this feature needs to be implemented: the function `NumeReEditor::getSemanticLine()` is used to convert a text line into a line with semantic replacements
    
     **Implementation:**
    +Change was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +The necessary language string was added to the language files.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-12-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -13,3 +13,4 @@
     The necessary language string was added to the language files.
    
     **Tests:**
    +Change was tested without any deviation. Change implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB