Skip to content

Commit 2a22471

Browse files
author
Esben Sparre Andreasen
committed
JS: address review comments
1 parent ec58ccc commit 2a22471

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

javascript/extractor/src/com/semmle/js/extractor/ExtractionMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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. */

javascript/ql/src/semmle/javascript/meta/ExtractionMetrics.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)