jdt-codemining icon indicating copy to clipboard operation
jdt-codemining copied to clipboard

Git code mining for methods should list the last modifier

Open vogella opened this issue 7 years ago • 2 comments

IMHO the code mining for a method should list the last modifier as most important one. For example, I'm looking at the following method.

@Test
public void testConvertsToBytePrimitive() throws Exception {
	converter = StringToByteConverter.toByte(numberFormat, true);
	Byte value = (byte) 1;
	Byte result = converter.convert(numberFormat.format(value));
	assertEquals(value, result);
}

This method as original developerd by Conrad but later modified by Jens.

IMHO Jens should be listed at the beginning and the time stamp should be last modified.

image

What do you think @thomaswolf?

vogella avatar Aug 16 '18 13:08 vogella

Would make sense. Would have to be implemented apparently in RevisionAuthorsCodeMining.java and in RevisionRecentChangeCodeMining.java. A user is probably most interested in knowing who touched the code last, and when.

tomaswolf avatar Aug 16 '18 13:08 tomaswolf

Any help are welcome @tomaswolf !

angelozerr avatar Aug 16 '18 14:08 angelozerr