You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python-commons/src/main/java/org/sonar/plugins/python/telemetry/collectors/TestFileTelemetry.java
+25-7Lines changed: 25 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,50 @@
20
20
* Telemetry data for tracking test file misclassification.
21
21
*
22
22
* @param totalMainFiles Total number of files classified as MAIN
23
-
* @param misclassifiedTestFiles Number of MAIN files that appear to be test files (import unittest/pytest or follow pytest patterns)
23
+
* @param importBasedMisclassifiedTestFiles Number of MAIN files that appear to be test files based on import heuristic (import unittest/pytest or follow pytest patterns)
24
24
* @param totalLines Total number of lines across all files (MAIN + TEST)
25
25
* @param totalMainLines Total number of lines across all MAIN files
26
26
* @param testLines Number of lines across all TEST files (as classified by the scanner engine)
27
-
* @param misclassifiedTestLines Number of lines across misclassified test files (subset of totalMainLines)
27
+
* @param importBasedMisclassifiedTestLines Number of lines across import-based misclassified test files (subset of totalMainLines)
28
+
* @param pathBasedMisclassifiedTestFiles Number of MAIN files that appear to be test files based on path heuristic (contains "test" or "tests" in path)
29
+
* @param pathBasedMisclassifiedTestLines Number of lines across path-based misclassified test files
30
+
* @param filesInImportBasedOnly Number of files detected by import-based heuristic but not by path-based heuristic
31
+
* @param filesInPathBasedOnly Number of files detected by path-based heuristic but not by import-based heuristic
32
+
* @param linesInImportBasedOnly Number of lines in files detected by import-based heuristic but not by path-based heuristic
33
+
* @param linesInPathBasedOnly Number of lines in files detected by path-based heuristic but not by import-based heuristic
Copy file name to clipboardExpand all lines: python-commons/src/main/java/org/sonar/plugins/python/telemetry/collectors/TestFileTelemetryCollector.java
0 commit comments