Skip to content

Lines of code counts whitespace #17

Description

@mattmcnabb

When counting lines of code in a script or function, I'd argue that it's most valuable to only consider significant lines of code. It appears that Get-FunctionLinesOfCode is already excluding comments from it's total count, but I think that blank lines should be excluded as well.

Have a look here to see this in practice. If acceptable, I'll submit a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions