TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To:
Angel Fernandez Guerra <[log in to unmask]>
Date:
Tue, 18 Nov 1997 16:04:08 -0800
Reply-To:
Keith Shillington <[log in to unmask]>
Subject:
From:
Keith Shillington <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
quoted-printable
Content-Type:
text/plain; charset="iso-8859-1"
Parts/Attachments:
text/plain (40 lines)
Try this:

  Maintainability := ( Readability
                       + Commentary
                       + Standard_Conformance
                       - Complexity
                       - Missing_Error_Handling
                       + Embedded_Testing_Information )
                      / Semicolon_Line_Count;

To the extent that you can quantify the other measures, maintainability is
merely a direct function of them.  If a software module is readable, well
commented, conforms to standards, lacks excess complexity, handles
anticipated, expected, and unexpected errors well, expresses testability;
it should be easy to maintain.


At 09:39 PM 11/18/97 +0000, Angel Fern\andez Guerra wrote:
>Hi ada activists,
>
>We are currently performing a code walkthrought (ada source code of
>course). In the checklist we have an entry for maintainability along
>with others like readability, conformance with coding standard, data
>flow errors, testability, etc.
>
>We found some problems to decide whether a compilation unit passes or
>fails on the maintainability topic. One option could be to evaluate the
>complexity of the code using Mccabe, Haltstead, or/and Harrison figures.
>In this way the problem is the establishment of the valid range for
>these figures.
>
>If someone can enlighten me or provide any useful information, thanks a
>lot.
>
>Angel Fernández Guerra.
>
>
Keith Shillington - [log in to unmask]
Manager, Ada Customer Support

ATOM RSS1 RSS2