Skip to content

Commit cafa9ed

Browse files
committed
JS: upgrade script, stats, version string
1 parent b4f67f2 commit cafa9ed

File tree

5 files changed

+2413
-8
lines changed

5 files changed

+2413
-8
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
package com.semmle.js.extractor;
22

3+
import java.io.File;
4+
import java.io.IOException;
5+
import java.util.ArrayList;
6+
import java.util.LinkedHashSet;
7+
import java.util.List;
8+
import java.util.Set;
9+
import java.util.regex.Pattern;
10+
311
import com.semmle.js.extractor.ExtractorConfig.HTMLHandling;
412
import com.semmle.js.extractor.ExtractorConfig.Platform;
513
import com.semmle.js.extractor.ExtractorConfig.SourceType;
@@ -23,21 +31,14 @@
2331
import com.semmle.util.process.ArgsParser;
2432
import com.semmle.util.process.ArgsParser.FileMode;
2533
import com.semmle.util.trap.TrapWriter;
26-
import java.io.File;
27-
import java.io.IOException;
28-
import java.util.ArrayList;
29-
import java.util.LinkedHashSet;
30-
import java.util.List;
31-
import java.util.Set;
32-
import java.util.regex.Pattern;
3334

3435
/** The main entry point of the JavaScript extractor. */
3536
public class Main {
3637
/**
3738
* A version identifier that should be updated every time the extractor changes in such a way that
3839
* it may produce different tuples for the same file under the same {@link ExtractorConfig}.
3940
*/
40-
public static final String EXTRACTOR_VERSION = "2019-09-13";
41+
public static final String EXTRACTOR_VERSION = "2019-09-18";
4142

4243
public static final Pattern NEWLINE = Pattern.compile("\n");
4344

javascript/ql/src/semmlecode.javascript.dbscheme.stats

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16715,6 +16715,69 @@
1671516715
</dependencies>
1671616716
</relation>
1671716717
<relation>
16718+
<name>declared_function_signature</name>
16719+
<cardinality>62664</cardinality>
16720+
<columnsizes>
16721+
<e>
16722+
<k>node</k>
16723+
<v>62664</v>
16724+
</e>
16725+
<e>
16726+
<k>sig</k>
16727+
<v>21731</v>
16728+
</e>
16729+
</columnsizes>
16730+
<dependencies>
16731+
<dep>
16732+
<src>node</src>
16733+
<trg>sig</trg>
16734+
<val>
16735+
<hist>
16736+
<budget>12</budget>
16737+
<bs>
16738+
<b>
16739+
<a>1</a>
16740+
<b>2</b>
16741+
<v>62664</v>
16742+
</b>
16743+
</bs>
16744+
</hist>
16745+
</val>
16746+
</dep>
16747+
<dep>
16748+
<src>sig</src>
16749+
<trg>node</trg>
16750+
<val>
16751+
<hist>
16752+
<budget>12</budget>
16753+
<bs>
16754+
<b>
16755+
<a>1</a>
16756+
<b>2</b>
16757+
<v>16826</v>
16758+
</b>
16759+
<b>
16760+
<a>2</a>
16761+
<b>3</b>
16762+
<v>2358</v>
16763+
</b>
16764+
<b>
16765+
<a>3</a>
16766+
<b>6</b>
16767+
<v>1683</v>
16768+
</b>
16769+
<b>
16770+
<a>6</a>
16771+
<b>10251</b>
16772+
<v>864</v>
16773+
</b>
16774+
</bs>
16775+
</hist>
16776+
</val>
16777+
</dep>
16778+
</dependencies>
16779+
</relation>
16780+
<relation>
1671816781
<name>invoke_expr_signature</name>
1671916782
<cardinality>140668</cardinality>
1672016783
<columnsizes>

0 commit comments

Comments
 (0)