Code modifications may be influenced by the comments being modified. As well as comment modifications being influenced by the code being modified
Example:
- System.out.println("Hello World!"); //This line tells the world hello really loud
+ System.out.println("Hello World!"); //This prints out Hello World
This line will show up as both a comment modification and a code modification. However it should only be counted as a comment modification.
Another example which highlights the problems it poses to calculating the modifications:
- System.out.println("Hello World!"); // This prints hello`
+ // This prints hello
+ System.out.println("Hello World!");
Will link both both the code and comment modification as:
- System.out.println("Hello World!"); // This prints hello
+ System.out.println("Hello World!");
Code modifications may be influenced by the comments being modified. As well as comment modifications being influenced by the code being modified
Example:
This line will show up as both a comment modification and a code modification. However it should only be counted as a comment modification.
Another example which highlights the problems it poses to calculating the modifications:
Will link both both the code and comment modification as: