|
Reckon 1.2.0
A Tool to Count Logical Lines of Code
|
Result type for a group of analysis operations on a single source entity. More...
#include <reckon/reckon.h>
Data Fields | |
| RcnCount | logicalLines |
| The counted logical lines of code. | |
| RcnCount | physicalLines |
| The counted hard physical lines. | |
| RcnCount | words |
| The counted words. | |
| RcnCount | characters |
| The counted characters. | |
| RcnCount | sourceSize |
| The size of the source entity in bytes. | |
| RcnResultState | state |
| The state of performed operations, indicating success or failure. | |
| bool | isProcessed |
| Indicates whether the source entity was actually processed. | |
| bool | hasLogicalLines |
| Indicates whether logical lines can be computed for the source entity. | |
Result type for a group of analysis operations on a single source entity.
Represents the end results of possibly multiple count operations performed on a single named source entity, like a specific source file. This is used to group multiple different count metrics together into a single type.
| RcnCount RcnCountResultGroup::characters |
The counted characters.
| bool RcnCountResultGroup::hasLogicalLines |
Indicates whether logical lines can be computed for the source entity.
If true, the logicalLines field contains a valid count. If false, then logical lines are not applicable for the source entity's format, e.g. for plain text files, and the logicalLines field is zero. This field is only set by a counting operation and remains initialized as false if no such operation was performed.
| bool RcnCountResultGroup::isProcessed |
Indicates whether the source entity was actually processed.
If this is false, then no counts are available and all count values are zero. This may happen if the source entity's format is not supported, was not selected in a performed analysis operation, an attempt to read the source file content failed, or some other error has occurred. A processed entity might still have zero counts, e.g. if it is an empty file, and it might still have errors as indicated in the state field.
| RcnCount RcnCountResultGroup::logicalLines |
The counted logical lines of code.
| RcnCount RcnCountResultGroup::physicalLines |
The counted hard physical lines.
| RcnCount RcnCountResultGroup::sourceSize |
The size of the source entity in bytes.
| RcnResultState RcnCountResultGroup::state |
The state of performed operations, indicating success or failure.
| RcnCount RcnCountResultGroup::words |
The counted words.