ada Metrics

Number of Parameters

Mnemonic: NOP

Description: Number of formal parameters in the function

Artefact Type: FUNCTION

Default Value: 0

Cyclomatic Complexity

Mnemonic: CCN

Description: Number of linearly independent paths in the function control graph.

Artefact Type: PACK;FUNCTION;TASK

Default Value: 1

Maximum Nested Structures

Mnemonic: NEST

Description: Maximum number of nested structures

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Non-Cyclic Paths

Mnemonic: PATH

Description: Number of non-cyclic paths in the function.

Artefact Type: PACK;FUNCTION;TASK

Default Value: 1

Return Statements

Mnemonic: RETURN

Description: Number of 'return' statements in the function

Artefact Type: PACK;FUNCTION;TASK

Default Value: 1

IF Statements

Mnemonic: IF

Description: Number of IF statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

ELSE Clauses

Mnemonic: ELSE

Description: Number of ELSE clauses in IF statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

For Statements

Mnemonic: FOR

Description: Number of 'for' statements in the function

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

While Statements

Mnemonic: WHIL

Description: Number of 'while' statements in the function

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Loop Statements

Mnemonic: LOOP

Description: Number of loop statements in the function

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Case statements

Mnemonic: SWIT

Description: Number of Case statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Orelse operators

Mnemonic: OREL

Description: Number of 'orelse' operators

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Andthen Operators

Mnemonic: ANTH

Description: Number of 'andthen' operators

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

OR operators

Mnemonic: NBOR

Description: Number of OR operators

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

AND operators

Mnemonic: NBAND

Description: Number of AND operators

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Case Blocks

Mnemonic: CABL

Description: Number of 'case' blocks in 'switch' in the function

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Exit statements

Mnemonic: EXIT

Description: Number of Exit statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

GOTO Statements

Mnemonic: GOTO

Description: Number of GOTO statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Exception handlers

Mnemonic: EXGR

Description: Number of Exception handlers

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Exception When blocks

Mnemonic: EXBL

Description: Number of 'when' blocks in 'exception handler'.

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Raise statements

Mnemonic: RAISE

Description: Number of Raise statementts

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Label Statements

Mnemonic: LABEL

Description: Number of Label statements

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Declare operators

Mnemonic: DECBL

Description: Number of Declare operators

Artefact Type: PACK;FUNCTION;TASK

Default Value: 0

Types

Mnemonic: NBTYP

Description: Number of Types

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Subtypes

Mnemonic: NBSTYP

Description: Number of Subtypes

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Derived types

Mnemonic: NBTYPDRV

Description: Number of Derived types

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Variables

Mnemonic: NBVAR

Description: Number of Variables

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Constants

Mnemonic: NBCONST

Description: Number of Constants

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Renamed objects

Mnemonic: NBRENA

Description: Number of Renamed object

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Exceptions

Mnemonic: NBEXCEPT

Description: Number of Declared Exceptions

Artefact Type: SPACK;PACK;TASK;FUNCTION

Default Value: 0

Declared functions

Mnemonic: NBDFUNC

Description: Number of Declared functions/procedures

Artefact Type: SPACK;PACK;SPROTOBJ

Default Value: 0

Separate functions/procedures

Mnemonic: NBFUNCDSEP

Description: Number of Separate functions/procedures

Artefact Type: PACK

Default Value: 0

Separate packages

Mnemonic: NBPACKDSEP

Description: Number of package declared Separate

Artefact Type: PACK

Default Value: 0

Separate tasks

Mnemonic: NBTASKDSEP

Description: Number of task declared Separate

Artefact Type: PACK

Default Value: 0

Protected objects

Mnemonic: NBPROTOBJDSEP

Description: Number of Declred Protected objects

Artefact Type: PACK

Default Value: 0

With statements

Mnemonic: NBWITH

Description: Number of With statements

Artefact Type: FILE

Default Value: 0

Public variables

Mnemonic: NBVARPUB

Description: Number of Public variables

Artefact Type: SPACK

Default Value: 0

Public types

Mnemonic: NBTYPPUB

Description: Number of Public types

Artefact Type: SPACK

Default Value: 0

Public constants

Mnemonic: NBCONSTPUB

Description: Number of Public constants

Artefact Type: SPACK

Default Value: 0

Public exceptions

Mnemonic: NBEXCEPTPUB

Description: Number of Public exceptions

Artefact Type: SPACK

Default Value: 0

Public functions

Mnemonic: NBDFUNCPUB

Description: Number of Public functions/procedures

Artefact Type: SPACK

Default Value: 0

Private variables

Mnemonic: NBVARPRIV

Description: Number of Private variables

Artefact Type: SPACK;SPROTOBJ

Default Value: 0

Private types

Mnemonic: NBTYPPRIV

Description: Number of Private types

Artefact Type: SPACK

Default Value: 0

Private constant

Mnemonic: NBCONSTPRIV

Description: Number of Private constants

Artefact Type: SPACK

Default Value: 0

Private exceptions

Mnemonic: NBEXCEPTPRIV

Description: Number of Private exceptions

Artefact Type: SPACK

Default Value: 0

Private functions/Procedures

Mnemonic: NBDFUNCPRIV

Description: Number of Private function/Procedure

Artefact Type: SPACK

Default Value: 0

Entry Statements

Mnemonic: ENTRY

Description: Number of Entry statements

Artefact Type: STASK;SPROTOBJ

Default Value: 0

Generic object

Mnemonic: ISGEN

Description: The object is declared generic

Artefact Type: SPACK

Default Value: 0