Python: Treat py/summary/lines-of-user-code as the primary summary metric

Move the `lines-of-code` tag from `py/summary/lines-of-code`.
Code Scanning will eventually look for this tag.

The intent is to treat the number of lines of user code for Python as the summary of
how much code was analysed, ignoring both external libraries and generated code.
This matches the current baseline metric the CodeQL Action computes for Python.
We'll revisit this decision, and the baseline, if necessary.
This commit is contained in:
Aditya Sharad
2021-05-27 13:20:22 -07:00
parent ab73b10869
commit b41a06a15c
2 changed files with 1 additions and 1 deletions

View File

@@ -5,7 +5,6 @@
* database. This query counts the lines of code, excluding whitespace or comments.
* @kind metric
* @tags summary
* lines-of-code
* @id py/summary/lines-of-code
*/

View File

@@ -7,6 +7,7 @@
* be counted as user written code.
* @kind metric
* @tags summary
* lines-of-code
* @id py/summary/lines-of-user-code
*/