Menu

#190 Add metrics to the code analyzer

v1.1.x
closed
None
v1.1.0
New Functionality
2017-05-06
2017-04-06
Erik Hänel
No

Add the following metrics to the code analyzer:

Analysis:
Four additional functions have to be added, which will be called by the code analyzer. The functions will get the first and the last line index and will perform their analysis right in between.

Implementation:
The new functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
A new documentation article for the code analyzer was created and the metrics were added to this article.

Tests:
The definition of the cyclomatic complexity using control graphs is more straight-forward. Therefore the internal calculation had to be adapted. No further deviations detected. Functionality implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-04-06
    • status: open --> accepted
     
  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -4,3 +4,11 @@
    
     - Lines of Code
     - Comment density
     - Duplicated code
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -6,6 +6,7 @@
    
     - Duplicated code
    
     **Analysis:**
    +Four additional functions have to be added, which will be called by the code analyzer. The functions will get the first and the last line index and will perform their analysis right in between.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-04-07
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,13 +3,14 @@
    
     - Cyclomatic complexity (see https://en.wikipedia.org/wiki/Cyclomatic_complexity)
     - Lines of Code
     - Comment density
    -- Duplicated code
    
     **Analysis:**
     Four additional functions have to be added, which will be called by the code analyzer. The functions will get the first and the last line index and will perform their analysis right in between.
    
     **Implementation:**
    +The new functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +A new documentation article for the code analyzer was created and the metrics were added to this article.
    
     **Tests:**
    
     
  • Erik Hänel

    Erik Hänel - 2017-04-07
    • status: implementing --> testing
     
  • Erik Hänel

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

    Diff:

    --- old
    +++ new
    @@ -14,3 +14,4 @@
     A new documentation article for the code analyzer was created and the metrics were added to this article.
    
     **Tests:**
    +The definition of the cyclomatic complexity using control graphs is more straight-forward. Therefore the internal calculation had to be adapted. No further deviations detected. Functionality implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB