codeql-action/lib
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
..
actions-util.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
actions-util.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
actions-util.test.js Rewrite the ref to correctly point to refs/remotes 2021-03-25 13:08:55 +00:00
actions-util.test.js.map Rewrite the ref to correctly point to refs/remotes 2021-03-25 13:08:55 +00:00
analysis-paths.js Fix spelling errors 2021-03-18 09:40:47 -07:00
analysis-paths.js.map Run npm run lint-fix. 2020-10-05 12:44:58 +01:00
analysis-paths.test.js Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
analysis-paths.test.js.map Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
analyze-action.js Merge main into allow-override-temp. 2021-02-15 11:45:08 +00:00
analyze-action.js.map Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.js Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.js.map Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.test.js Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
analyze.test.js.map Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
api-client.js Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.js.map Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.test.js Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.test.js.map 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.js Allow overriding path of temporary files. 2021-02-01 15:34:13 +00:00
autobuild-action.js.map Allow overriding path of temporary files. 2021-02-01 15:34:13 +00:00
autobuild.js Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
autobuild.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
codeql.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
codeql.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
codeql.test.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
codeql.test.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
config-utils.js Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.js.map Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.test.js Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.test.js.map Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
count-loc.js Add baseline metrics for lines of code 2021-04-26 14:09:38 -07:00
count-loc.js.map 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.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.js.map Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.test.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.test.js.map Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
external-queries.js only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.js.map only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.test.js only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.test.js.map only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
fingerprints.js Merge branch 'main' into fix-typos 2020-11-20 14:32:12 +01:00
fingerprints.js.map Run npm run build 2020-11-19 23:03:45 +01:00
fingerprints.test.js Merge branch 'main' into fix-typos 2020-11-20 14:32:12 +01:00
fingerprints.test.js.map Run npm run build 2020-11-19 23:03:45 +01:00
init-action.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init-action.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
languages.js Check CODEQL_EXTRACTOR_GO_BUILD_TRACING 2020-10-30 16:44:11 +00:00
languages.js.map Check CODEQL_EXTRACTOR_GO_BUILD_TRACING 2020-10-30 16:44:11 +00:00
languages.test.js Run npm run build 2020-11-20 11:35:59 +01:00
languages.test.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
logging.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
logging.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
repository.js Running lint-fix 2020-09-14 10:44:43 +01:00
repository.js.map commit node_modules and generated files 2020-08-11 12:43:27 +01:00
runner.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
runner.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
shared-environment.js Running lint-fix 2020-09-14 10:44:43 +01:00
shared-environment.js.map remove should_abort method 2020-08-07 16:56:04 +01:00
testing-utils.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
testing-utils.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
toolcache.js fix typo 2021-04-23 10:01:50 +01:00
toolcache.js.map use safeWhich 2021-04-23 09:59:23 +01:00
toolrunner-error-catcher.js Run npm run build 2020-11-20 11:35:59 +01:00
toolrunner-error-catcher.js.map Run npm run build 2020-11-20 11:35:59 +01:00
toolrunner-error-catcher.test.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
toolrunner-error-catcher.test.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
tracer-config.js Fix spelling errors 2021-03-18 09:40:47 -07:00
tracer-config.js.map Add tests of CODEQL_RUNNER env var 2021-01-12 11:29:30 +00:00
tracer-config.test.js Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
tracer-config.test.js.map Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
upload-lib.js Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-lib.js.map Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-lib.test.js Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-lib.test.js.map Ignore non-string values in populateRunAutomationDetails 2021-04-20 12:53:16 +02:00
upload-sarif-action.js Remove parameters from uploadFromActions 2021-01-28 15:37:09 +00:00
upload-sarif-action.js.map Remove parameters from uploadFromActions 2021-01-28 15:37:09 +00:00
util.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
util.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
util.test.js Fix spelling errors 2021-03-18 09:40:47 -07:00
util.test.js.map Increase the default amount of RAM reserved for the OS 2021-02-16 15:10:19 -08:00