|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 620 (0x26c)
Types: TextFile
Names: »V«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
with Line_Utilities;
with Bounded_String;
package Unit_Stats is
type Statistics is private;
function Evaluate (File : String) return Statistics;
function Total_Lines (Within : Statistics) return Integer;
function Count (Of_Kind : Line_Utilities.Line_Type; Within : Statistics)
return Integer;
function Percentage_Whitespace (S : Statistics) return Integer;
private
type Kind_Count is array (Line_Utilities.Line_Type) of Integer;
type Statistics is
record
Total_Lines : Integer;
Counts : Kind_Count;
end record;
end Unit_Stats;