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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ QLStat provides a comprehensive framework for large-scale empirical analysis of
31
31
32
32
Create your `stat.yaml` config file according to [`example.yaml`](./example.yaml), [`demo.yaml`](./demo.yaml) or YAML files in [`yaml-examples/`](./yaml-examples/). The configuration supports several key sections:
33
33
34
-
-`sources`: Define repository sources with prefixes and specific repositories
34
+
-`repositories`: Define repositories with URL prefixes and optional directory layout
35
35
-`language`: Specify the programming language for analysis (e.g., go)
36
36
-`buildGrps`: Configure build groups with timeout, build commands, and optional extgen scripts
37
37
-`queryconfig`: Set up query execution with parallelization options
dbRoot: codeql-db # dbRoot stores all databases created by codeql indexed by repository name
4
4
5
5
# clone
6
-
sources:
7
-
- prefix: https://test/# clone url prefix
8
-
fullnames:
6
+
repositories:
7
+
- dir: test/
8
+
repos:
9
9
- malloc_test
10
10
- batchmalloc
11
11
12
12
# build
13
13
language: go # language to analyze
14
14
buildTimeout: 3600# timeout for building repository
15
15
buildGrps:
16
-
- buildRepos: # "*" means all repositories. "-" means repositories defined in "sources" attribute. You can also specify fullname of repositories to force re-build. Note that repositories with same fullname in different source will be re-built also.
16
+
- buildRepos: # "*" means all repositories. "-" means repositories defined in the "repositories" section. You can also specify fullname of repositories to force re-build. Note that repositories with same fullname in different source will be re-built also.
dbRoot: codeql-db # dbRoot stores all databases created by codeql indexed by repository name
4
4
5
5
# clone
6
-
sources:
7
-
- prefix: https://test/# clone url prefix
8
-
fullnames:
6
+
repositories:
7
+
- dir: test/
8
+
repos:
9
9
- escape
10
10
- false-sharing
11
11
12
12
# build
13
13
language: go # language to analyze
14
14
buildTimeout: 3600# timeout for building repository
15
15
buildGrps:
16
-
- buildRepos: # "*" means all repositories. "-" means repositories defined in "sources" attribute. You can also specify fullname of repositories to force re-build. Note that repositories with same fullname in different source will be re-built also.
16
+
- buildRepos: # "*" means all repositories. "-" means repositories defined in the "repositories" section. You can also specify fullname of repositories to force re-build. Note that repositories with same fullname in different source will be re-built also.
17
17
- "-"
18
18
extgenScript: goescape
19
19
@@ -23,7 +23,7 @@ queryconfig:
23
23
queryRoot: qlsrc # query root. There should be codeql-pack.yaml in queryRoot directory
24
24
parallelCore: 20# parallel cores to run query
25
25
queryGrps:
26
-
- queryDBs: # "*" means all repositories. "-" means repositories defined in "sources" attribute. Otherwise, use fullnames. Note that repositories with same fullname in different source will be queried.
26
+
- queryDBs: # "*" means all repositories. "-" means repositories defined in the "repositories" section. Otherwise, use fullnames. Note that repositories with same fullname in different source will be queried.
0 commit comments