fdoc

typefile_stats_t

The size of a source file, or of several.

Components

NameTypeAttributesDefaultDescription
blankinteger0

lines with nothing

bytesinteger(kind=int64)0

its size

codeinteger0

lines with code, which may also have a comment

commentsinteger0

lines with only a comment

linesinteger0

all lines

proceduresinteger0

procedures defined in it

Source

Show the code
type :: file_stats_t
    !! The size of a source file, or of several.
    integer :: lines = 0                !! all lines
    integer :: code = 0                 !! lines with code, which may also have a comment
    integer :: comments = 0             !! lines with only a comment
    integer :: blank = 0                !! lines with nothing
    integer :: procedures = 0           !! procedures defined in it
    integer(int64) :: bytes = 0         !! its size
end type file_stats_t

Graphs

Inherited by