-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from kusumotolab/modify
Modify
- Loading branch information
Showing
36 changed files
with
110 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...in/io/github/t45k/nil/entity/CodeBlock.kt → ...jp/ac/osaka_u/sdl/nil/entity/CodeBlock.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
/** | ||
* Code block is a single function. | ||
|
2 changes: 1 addition & 1 deletion
2
...ithub/t45k/nil/entity/HuntSzymanskiLCS.kt → ...saka_u/sdl/nil/entity/HuntSzymanskiLCS.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
/** | ||
* Time complexity is O(N log (N)). | ||
|
2 changes: 1 addition & 1 deletion
2
...o/github/t45k/nil/entity/InvertedIndex.kt → ...c/osaka_u/sdl/nil/entity/InvertedIndex.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
import kotlin.math.min | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...n/kotlin/io/github/t45k/nil/entity/LCS.kt → ...otlin/jp/ac/osaka_u/sdl/nil/entity/LCS.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
interface LCS { | ||
/** | ||
|
2 changes: 1 addition & 1 deletion
2
...kotlin/io/github/t45k/nil/entity/NGram.kt → ...lin/jp/ac/osaka_u/sdl/nil/entity/NGram.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
/** | ||
* NGram is a hash value of N-gram | ||
|
2 changes: 1 addition & 1 deletion
2
...lin/io/github/t45k/nil/entity/NaiveLCS.kt → .../jp/ac/osaka_u/sdl/nil/entity/NaiveLCS.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.entity | ||
package jp.ac.osaka_u.sdl.nil.entity | ||
|
||
import kotlin.math.max | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...o/github/t45k/nil/entity/TokenSequence.kt → ...c/osaka_u/sdl/nil/entity/TokenSequence.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...45k/nil/presenter/logger/LoggerWrapper.kt → ...sdl/nil/presenter/logger/LoggerWrapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../presenter/logger/LoggerWrapperFactory.kt → .../presenter/logger/LoggerWrapperFactory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...k/nil/presenter/logger/MFLoggerWrapper.kt → ...l/nil/presenter/logger/MFLoggerWrapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package io.github.t45k.nil.presenter.logger | ||
package jp.ac.osaka_u.sdl.nil.presenter.logger | ||
|
||
/** | ||
* This class is for Mutation Framework (https://github.com/jeffsvajlenko/MutationInjectionFramework). | ||
* When clone detectors are validated by Mutation framework, | ||
* the tools' standard output must be only their output file name. | ||
*/ | ||
class MFLoggerWrapper(private val outputFileName: String) : LoggerWrapper { | ||
override fun infoStart() {} // NOP | ||
override fun infoPreprocessCompletion(size: Int) {} // NOP | ||
override fun infoInvertedIndexCreationCompletion(partition: Int) {} // NOP | ||
override fun infoCloneDetectionCompletion(partition: Int) {} // NOP | ||
override fun infoStart() {} /* no-op */ | ||
override fun infoPreprocessCompletion(size: Int) {} /* no-op */ | ||
override fun infoInvertedIndexCreationCompletion(partition: Int) {} /* no-op */ | ||
override fun infoCloneDetectionCompletion(partition: Int) {} /* no-op */ | ||
|
||
override fun infoEnd(time: String) = print(outputFileName) | ||
} |
2 changes: 1 addition & 1 deletion
2
...l/presenter/logger/NormalLoggerWrapper.kt → ...l/presenter/logger/NormalLoggerWrapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ub/t45k/nil/presenter/output/BCEFormat.kt → ...a_u/sdl/nil/presenter/output/BCEFormat.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.t45k.nil.presenter.output | ||
package jp.ac.osaka_u.sdl.nil.presenter.output | ||
|
||
import java.io.File | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...o/github/t45k/nil/presenter/output/CSV.kt → ...c/osaka_u/sdl/nil/presenter/output/CSV.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ithub/t45k/nil/presenter/output/Format.kt → ...saka_u/sdl/nil/presenter/output/Format.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
.../usecase/cloneDetection/CloneDetection.kt → .../usecase/cloneDetection/CloneDetection.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../nil/usecase/cloneDetection/Filtration.kt → .../nil/usecase/cloneDetection/Filtration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...se/cloneDetection/LCSBasedVerification.kt → ...se/cloneDetection/LCSBasedVerification.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...5k/nil/usecase/cloneDetection/Location.kt → ...dl/nil/usecase/cloneDetection/Location.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...se/cloneDetection/NGramBasedFiltration.kt → ...se/cloneDetection/NGramBasedFiltration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...case/cloneDetection/NGramBasedLocation.kt → ...case/cloneDetection/NGramBasedLocation.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...il/usecase/cloneDetection/Verification.kt → ...il/usecase/cloneDetection/Verification.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../nil/usecase/preprocess/JavaPreprocess.kt → .../nil/usecase/preprocess/JavaPreprocess.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.