mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Drop 'tech-inventory' and 'code duplication' queries from the standard query suites
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Duplicated lines in files
|
||||
* @description The number of lines in a file, including code, comment and whitespace lines,
|
||||
* which are duplicated in at least one other place.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Similar lines in files
|
||||
* @description The number of lines in a file, including code, comment and whitespace lines,
|
||||
* which are similar to lines in at least one other place.
|
||||
|
||||
@@ -7,10 +7,7 @@
|
||||
tags contain:
|
||||
- ide-contextual-queries/local-definitions
|
||||
- ide-contextual-queries/local-references
|
||||
- query: Metrics/Dependencies/ExternalDependencies.ql
|
||||
- query: Metrics/Dependencies/ExternalDependenciesSourceLinks.ql
|
||||
- query: Metrics/Files/FLinesOfCode.ql
|
||||
- query: Metrics/Files/FLinesOfCommentedCode.ql
|
||||
- query: Metrics/Files/FLinesOfComment.ql
|
||||
- query: Metrics/Files/FLinesOfDuplicatedCode.ql
|
||||
- query: Metrics/Files/FNumberOfTests.ql
|
||||
|
||||
1
java/ql/src/external/DuplicateAnonymous.ql
vendored
1
java/ql/src/external/DuplicateAnonymous.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Duplicate anonymous class
|
||||
* @description Duplicated anonymous classes indicate that refactoring is necessary.
|
||||
* @kind problem
|
||||
|
||||
1
java/ql/src/external/DuplicateBlock.ql
vendored
1
java/ql/src/external/DuplicateBlock.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Duplicate code
|
||||
* @description This block of code is duplicated elsewhere. If possible, the shared code should be refactored so there is only one occurrence left. It may not always be possible to address these issues; other duplicate code checks (such as duplicate function, duplicate class) give subsets of the results with higher confidence.
|
||||
* @kind problem
|
||||
|
||||
1
java/ql/src/external/DuplicateMethod.ql
vendored
1
java/ql/src/external/DuplicateMethod.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Duplicate method
|
||||
* @description Duplicated methods make code more difficult to understand and introduce a risk of
|
||||
* changes being made to only one copy.
|
||||
|
||||
1
java/ql/src/external/MostlyDuplicateClass.ql
vendored
1
java/ql/src/external/MostlyDuplicateClass.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Mostly duplicate class
|
||||
* @description Classes in which most of the methods are duplicated in another class make code more
|
||||
* difficult to understand and introduce a risk of changes being made to only one copy.
|
||||
|
||||
1
java/ql/src/external/MostlyDuplicateFile.ql
vendored
1
java/ql/src/external/MostlyDuplicateFile.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Mostly duplicate file
|
||||
* @description Files in which most of the lines are duplicated in another file make code more
|
||||
* difficult to understand and introduce a risk of changes being made to only one copy.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Mostly duplicate method
|
||||
* @description Methods in which most of the lines are duplicated in another method make code more
|
||||
* difficult to understand and introduce a risk of changes being made to only one copy.
|
||||
|
||||
1
java/ql/src/external/MostlySimilarFile.ql
vendored
1
java/ql/src/external/MostlySimilarFile.ql
vendored
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* @deprecated
|
||||
* @name Mostly similar file
|
||||
* @description Files in which most of the lines are similar to those in another file make code more
|
||||
* difficult to understand and introduce a risk of changes being made to only one copy.
|
||||
|
||||
Reference in New Issue
Block a user