fdoc

subroutinestats_cellsprivate

subroutine stats_cells(stats, b)

Write stats as cells of a table. Each has the plain number, to sort by.

Arguments

NameTypeIntentAttributesDescription
statstype(file_stats_t)in

the counts

btype(buffer_t)inout

the HTML

Calls

Source

Show the code
subroutine stats_cells(stats, b)
    type(file_stats_t), intent(in) :: stats !! the counts
    type(buffer_t), intent(inout) :: b      !! the HTML

    call number_cell(int(stats%lines, int64), b)
    call number_cell(int(stats%code, int64), b)
    call number_cell(int(stats%comments, int64), b)
    call number_cell(int(stats%blank, int64), b)
    call add(b, '<td class="num" data-sort="')
    call add_int(b, stats%bytes)
    call add(b, '">')
    call size_text(stats%bytes, b)
    call add(b, '</td>')
    call number_cell(int(stats%procedures, int64), b)
end subroutine stats_cells

Graphs

Calls

Called by