Optional Readonlyagainstpreviously exported indices: then only clones between the analyzed files and these are reported
Optional Readonlyalgorithmsthe algorithms to run, gst if omitted
Optional Readonlyconfigthresholds and options of the algorithms, merged into the defaults
Optional Readonlyexportalso return the clone index of the analyzed files, to store it and search against it later
Optional Readonlyperspectivehow the code is presented to the algorithms, canonical if omitted
Readonlytypeused to select the query type :)
Finds code clones in all files of the analysis with a configurable selection of algorithms. Keep in mind that:
configis merged into the defaults of DefaultCloneDetectionConfig, so state only what you changedataflowperspective needs the dataflow analysisagainstmust use the perspective of the query, otherwise the query throws, and with it only clones between the analyzed files and the stored ones are reportedagainstare markedexternaland are not part of the nodes this query involvesExample