Appendix G - Capacity Assessor

This appendix contains a complete list of all of the ACES tests which make up the capacity assessor. After each test name a brief description is given.

Capacity Assessor

yc_ct01g

Number of names in a compilation unit

yc_ct02g

Number of simple variables

yc_ct03g

Number of literals in an enumeration type

yc_ct04g

Number of elements in an aggregate

yc_ct05g

Alternates in a CASE statement

yc_ct06g

Alternatives in a "SELECT" statement

yc_ct07g

Number of constrained formal parameters

yc_ct08g

Number of unconstrained formal parameters

yc_ct09g

Number of tasks

yc_ct10g

Number of simple operands in an arithmetic expression

yc_ct11g

Levels of parenthesis in arithmetic expression

yc_ct12g

Levels of nesting of actual parameters

yc_ct13g

Number of characters in a line

yc_ct14g

Depth of nested subprogram

yc_ct15g

Depth of nested IF statements

yc_ct16g

Depth of nested CASE statements

yc_ct17g

Depth of nested BLOCK statements

yc_ct18g

Depth of nested accept statements

yc_ct19g

Depth of nested variants in a record

yc_ct20g

Statements in a compilation unit

yc_ct20 tests for the number of statements in

a compilation unit (without restrictions to being

contiguous statements) defined within a separate

package within the same compilation unit.

This is different from

a) yc_ct21 which tests for the number non-declarative

statements in a contiguous block or

b) yc_ct23 which tests for the number of executable

statements (without restrictions to being contiguous

statements) defined within the main procedure

yc_ct21g

Number of non-declarative statements in block.

This program tests for the number non-declarative

statements in a contiguous block.

This is different from

a) yc_ct20 which tests for the number of statements in

a compilation unit (without restrictions to being

contiguous statements) defined within a separate

package within the same compilation unit.

This is different from

b) yc_ct23 which tests for the number of executable

statements (without restrictions to being contiguous

statements) defined within the main procedure

yc_ct22g

Number of characters in a qualified_name

yc_ct23g

Number of executable statements in a program

yc_ct23 which tests for the number of executable

statements (without restrictions to being

contiguous statements) defined within the

main procedure.

This is different from

a) yc_ct21 which tests for the number

non-declarative statements in a contiguous block or

b) yc_ct20 tests for the number of statements in

a compilation unit (without restrictions to being

contiguous statements) defined within a separate

package within the same compilation unit.

yc_ct24g

Number of dimensions in an array

yc_ct25g

Nested aggregates

yc_ct26g

Depth of nested subunits.

yc_ct27g

Nested INLINE subprograms.

yc_ct28g

Instantiate nested generic subprograms.

yc_ct29g

Instantiate nested generic packages.

yc_ct30g

Size of the literal pool in a compilation unit

yc_ct31g

Size of statically sized subprogram declarative

region

yc_ct32g

Size of a statically sized library package

declarative region

yc_rt01

Number of elements in an array

yc_rt02

Number of dynamically created tasks

yc_rt03

Depth of subprogram calling

yc_rt04

Number of non-task type dynamically allocated objects

Measures the total number of objects placed on the heap.

yc_rt05

Size of a stack declared array

yc_rt06

Size of a heap declared array

Measures the total size of one large object placed on the heap.

yc_rt07

Size of a library declared array

yc_rt08

Size of a collection

Measures the total size of objects placed on the

heap where one object is one storage unit in size.

However, the system may add additional space

overhead for storage management.

yc_rt09

Size of a data segment

Measures the total size of objects in a data segment.