fdoc

modulefdoc_stats

The size of source files: how many lines hold code, comments or nothing. This uses fformat's tokens, so that a ! in a string is not taken for a comment. It runs in parallel, so nothing here calls a function returning a deferred-length string (see example/slen_race.f90).

Uses

Graphs

Uses

Used by

Types

file_stats_t

The size of a source file, or of several.

Subroutines

add_statspure

pure subroutine add_stats(total, item)

Add the counts of item to total.

count_source

subroutine count_source(text, stats)

Count the lines of text. A last line with no line ending counts as a line.