|
|
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: B T
Length: 2662 (0xa66)
Types: TextFile
Names: »B«
└─⟦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⟧
package body Determine_Metrics is
--==============================================================
-- This package provides the user with the necessary =
-- operations to support a user who wants to determine whether =
-- a number of metrics need to be produced. The operations =
-- include : =
-- 1. Prompt_For_Which_Metrics which prompts the user for =
-- each metric to be produced. =
-- 2. Halstead_Output_Needed which returns either true or =
-- false depending whether output is needed or not for =
-- Halstead's metrics. =
-- 3. McCabe_Output_Needed which returns either true or =
-- false depending whether output is needed or not for =
-- McCabe's metrics. =
-- 4. Lines_Of_Code_Output_Needed which returns either true or=
-- false depending whether output is needed or not for =
-- Lines of code. =
-- A finite state machine approach has been used for each =
-- metric object. =
-- =
-- written by Gary Russell at EVB Software Engineering =
-- with help from Brad Balford and Johan Margono =
-- May 1985 =
--==============================================================
Halstead_Metric : Boolean := True;
-- This object will set or cleared in the
-- Prompt_For_Which_Metric operation.
Lines_Of_Code_Metric : Boolean := True;
-- This object will set or cleared in the
-- Prompt_For_Which_Metric operation.
Mccabe_Metric : Boolean := True;
-- This object will set or cleared in the
-- Prompt_For_Which_Metric operation.
procedure Prompt_For_Which_Metrics is separate;
-- This procedure asks the user whether each metric
-- should be produced or not
function Lines_Of_Code_Output_Needed return Boolean is separate;
-- This function returns true if Lines of code should
-- be output and false otherwise
function Halstead_Output_Needed return Boolean is separate;
-- This function returns true if Halstead's metric should
-- be output and false otherwise
function Mccabe_Output_Needed return Boolean is separate;
-- This function returns true if McCabe's metric should
-- be output and false otherwise
end Determine_Metrics;