File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
ql/src/semmle/javascript/meta Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public enum ExtractionPhase {
4646 /** The label for the file that is being extracted. */
4747 private Label fileLabel ;
4848
49- /** The number of characters in the file that is being extracted. */
49+ /** The number of UTF16 code units in the file that is being extracted. */
5050 private int length ;
5151
5252 /** The previous time a CPU-time measure was performed. */
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ module ExtractionMetrics {
2525 float getWallclockTime ( ) { result = strictsum ( getTime ( _, 1 ) ) }
2626
2727 /**
28- * Gets the CPU time in nanoseconds it took to process phase `phaseName` during the extraction this file.
28+ * Gets the CPU time in nanoseconds it took to process phase `phaseName` during the extraction of this file.
2929 */
3030 float getCpuTime ( PhaseName phaseName ) { result = getTime ( phaseName , 0 ) }
3131
3232 /**
33- * Gets the wall-clock time in nanoseconds it took to process phase `phaseName` during the extraction this file.
33+ * Gets the wall-clock time in nanoseconds it took to process phase `phaseName` during the extraction of this file.
3434 */
3535 float getWallclockTime ( PhaseName phaseName ) { result = getTime ( phaseName , 1 ) }
3636
@@ -45,7 +45,7 @@ module ExtractionMetrics {
4545 string getCacheFile ( ) { extraction_data ( this , result , _, _) }
4646
4747 /**
48- * Gets the number of characters in this file.
48+ * Gets the number of UTF16 code units in this file.
4949 */
5050 int getLength ( ) { extraction_data ( this , _, _, result ) }
5151
You can’t perform that action at this time.
0 commit comments