Menu

#203 Rework string parser

v1.1.x
closed
None
v1.1.0
Change Request
2017-06-03
2017-05-19
Erik Hänel
No

The string parser has to be reworked because of its high cyclomatic complexity and bad reusability.

Analysis:
This change is quite huge. A handler function has to be implemented, which will call the actual string function (which is passed as a function handle) and the fitting parser routines based on the signature of the string function.To enhance versatility, the handler function should be able to cape with vectorial results.

Implementation:
Implementation was done as proposed by the analysis. Implementation tests were passed successfully, however for enhanced stability production tests are necessary.

Documentation:
Documentation not needed. Only enhanced functionality.

Tests:
All deviations, which were found during production tests, were fixed. No further deviations detected. Change implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-05-19
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-05-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The string parser has to be reworked because of its high cyclomatic complexity and bad reusability.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-05-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     The string parser has to be reworked because of its high cyclomatic complexity and bad reusability.
    
     **Analysis:**
    +This change is quite huge. A handler function has to be implemented, which will call the actual string function (which is passed as a function handle) and the fitting parser routines based on the signature of the string function.To enhance versatility, the handler function should be able to cape with vectorial results.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-05-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     This change is quite huge. A handler function has to be implemented, which will call the actual string function (which is passed as a function handle) and the fitting parser routines based on the signature of the string function.To enhance versatility, the handler function should be able to cape with vectorial results.
    
     **Implementation:**
    +Implementation was done as proposed by the analysis. Implementation tests were passed successfully, however for enhanced stability production tests are necessary.
    
     **Documentation:**
    +Documentation not needed. Only enhanced functionality.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-06-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     Documentation not needed. Only enhanced functionality.
    
     **Tests:**
    +All deviations, which were found during production tests, were fixed. No further deviations detected. Change implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB