Skip to content

Add Operation Support for Physical Lines of Code (LOC)#65

Open
kilo52 wants to merge 9 commits into
masterfrom
feature/loc-count
Open

Add Operation Support for Physical Lines of Code (LOC)#65
kilo52 wants to merge 9 commits into
masterfrom
feature/loc-count

Conversation

@kilo52

@kilo52 kilo52 commented Jun 20, 2026

Copy link
Copy Markdown
Member

Adds the rcnCountLinesOfCode() API function to count physical lines of code (classic LOC metric) in provided source text and adds LOC support in scount.

Added the rcnCountLinesOfCode() API function to count physical lines
of code in provided source text.
Added the corresponding options mode in the RcnCountOption enumeration.
Added LOC support in scount.
Changed test resources for expected output text to include LOC counts.

[CL]: Added operation support for physical lines of code (LOC). [Issue#10]

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
@kilo52 kilo52 self-assigned this Jun 20, 2026
@kilo52 kilo52 added the Feature New feature label Jun 20, 2026
@kilo52 kilo52 linked an issue Jun 20, 2026 that may be closed by this pull request
@kilo52 kilo52 changed the title Adds Operation Support for Physical Lines of Code (LOC) Add Operation Support for Physical Lines of Code (LOC) Jun 24, 2026
kilo52 added 8 commits June 27, 2026 17:56
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
This removes duplication.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Made it smaller and easier to understand.
Resolved linter error about cognitive complexity.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Operation Support for Physical Lines of Code (LOC)

1 participant