Skip to content

Commits

Commits on Aug 26, 2021

  1. Remove old baseline LoC injection

    Edoardo Pirovano committed Aug 26, 2021

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    2e71e02 View commit details

Commits on Jul 27, 2021

  1. Rebuild after TypeScript version bump

    Edoardo Pirovano committed Jul 27, 2021

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    d9849b8 View commit details

Commits on Jun 30, 2021

  1. Clarify missing LoC baseline message

    Andrew Eisenberg committed Jun 30, 2021

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    68f742b View commit details

Commits on May 21, 2021

  1. Add Ruby as a possible language

    Arthur Baars committed May 21, 2021
    Copy the full SHA
    c3633dc View commit details

Commits on May 13, 2021

  1. Change include path for lines of code counting

    Previously, we were always using `**` in the include path. the
    effect of this was to always count lines in the entire
    repository unless explicitly added to the paths-ignore. This
    was incorrect behaviour. Now we only using `**` if the include
    path is otherwise empty.
    Andrew Eisenberg committed May 13, 2021
    Copy the full SHA
    8e61fc2 View commit details
  2. Use the prefix id for keying into metrics rules

    Fixes a bug where we were looking for incorrect keys for metrics rules.
    Previously, we were using full language names in the keys. Now, we use
    the short language names in the metric ids. This is done through a
    simplification of the code.
    
    Also, this change does two smaller things:
    
    1. Prints out the baseline count to the logs
    2. Adds the `assertNever` function to ensure we never miss a case in
       a switch statement. This function is borrowed from vscode-codeql.
    Andrew Eisenberg committed May 13, 2021
    Copy the full SHA
    e8b2a98 View commit details

Commits on May 7, 2021

  1. Fix lines of code mapping

    We were inadvertently using codeql language ids instead of the action's
    language ids. There is now a 3-way mapping between the ids used by
    the lines counter library, the action, and codeql.
    Andrew Eisenberg committed May 7, 2021
    Copy the full SHA
    b6ae33f View commit details

Commits on May 5, 2021

  1. Clarify the missing baseline lines of code warning message

    Andrew Eisenberg committed May 5, 2021
    Copy the full SHA
    e04c62b View commit details

Commits on Apr 28, 2021

  1. Avoid analyzing excluded language files for line counting

    This change passes in a list of file types to the line counting
    analysis. These are the languages for the databases being analyzed.
    Line count analysis is restricted to these files.
    Andrew Eisenberg committed Apr 28, 2021
    Copy the full SHA
    ee23462 View commit details

Commits on Apr 26, 2021

  1. 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.
    Andrew Eisenberg committed Apr 26, 2021
    Copy the full SHA
    998f472 View commit details
End of commit history for this file