codeql-action/src
Andrew Eisenberg 998f472183 Add baseline metrics for lines of code
This commit uses a third party library to estimate the lines of code in
a database that is to be analyzed by codeql.

The estimate uses the same includes and excludes globs for determining
which files should be counted.

The lines of code count is returned by language and injected into the
SARIF as `baseline` property in the `${language}/summary/lines-of-code`
metric.
2021-04-26 14:09:38 -07:00
..
testdata Use version information to construct payload 2020-11-30 16:45:18 +00:00
actions-util.test.ts Rewrite the ref to correctly point to refs/remotes 2021-03-25 13:08:55 +00:00
actions-util.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
analysis-paths.test.ts Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
analysis-paths.ts Fix spelling errors 2021-03-18 09:40:47 -07:00
analyze-action.ts Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.test.ts Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.ts Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
api-client.test.ts Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.ts Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-compatibility.json Update supported GitHub Enterprise Server versions. 2021-02-20 00:26:14 +00:00
autobuild-action.ts Allow overriding path of temporary files. 2021-02-01 15:34:13 +00:00
autobuild.ts Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
codeql.test.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
codeql.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
config-utils.test.ts Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.ts Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
count-loc.ts Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
defaults.json update bundle to 20210421 (CLI 2.5.2) 2021-04-21 17:31:57 +02:00
error-matcher.test.ts Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.ts Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
external-queries.test.ts only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.ts only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
fingerprints.test.ts Merge branch 'main' into fix-typos 2020-11-20 14:32:12 +01:00
fingerprints.ts Merge branch 'main' into fix-typos 2020-11-20 14:32:12 +01:00
init-action.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
languages.test.ts Fix typos in src 2020-11-20 11:00:55 +01:00
languages.ts Check CODEQL_EXTRACTOR_GO_BUILD_TRACING 2020-10-30 16:44:11 +00:00
logging.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
repository.ts Running lint-fix 2020-09-14 10:44:43 +01:00
runner.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
sarif_v2.1.0_schema.json Fixes a regex for language and locale recognition 2021-04-14 08:10:56 -07:00
shared-environment.ts Running lint-fix 2020-09-14 10:44:43 +01:00
testing-utils.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
toolcache.ts fix typo 2021-04-23 10:01:50 +01:00
toolrunner-error-catcher.test.ts Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
toolrunner-error-catcher.ts Fix typos in src 2020-11-20 11:00:55 +01:00
tracer-config.test.ts Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
tracer-config.ts Fix spelling errors 2021-03-18 09:40:47 -07:00
upload-lib.test.ts Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-lib.ts Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-sarif-action.ts Remove parameters from uploadFromActions 2021-01-28 15:37:09 +00:00
util.test.ts Fix spelling errors 2021-03-18 09:40:47 -07:00
util.ts Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00