DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T V

⟦f69bd614f⟧ TextFile

    Length: 2084 (0x824)
    Types: TextFile
    Names: »V«

Derivation

└─⟦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⟧ 

TextFile

package 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 that needs 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.                                          =
    --                                                             =
    -- written by Gary Russell at EVB Software Engineering         =
    -- with help from Brad Balford and Johan Margono               =
    -- May 1985                                                    =
    --==============================================================

    procedure Prompt_For_Which_Metrics;
    -- This procedure asks the user whether each metric
    -- should be produced or not

    function Lines_Of_Code_Output_Needed return Boolean;
    -- This function returns true if Lines of code should
    -- be output and false otherwise

    function Halstead_Output_Needed return Boolean;
    -- This function returns true if Halstead's metric should
    -- be output and false otherwise

    function Mccabe_Output_Needed return Boolean;
    -- This function returns true if McCabe's metric should
    -- be output and false otherwise

end Determine_Metrics;