TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Christoph Seelhorst <[log in to unmask]>
Reply To:
Christoph Seelhorst <[log in to unmask]>
Tue, 18 Nov 1997 20:08:30 CST
text/plain (44 lines)
** Reply to note from Angel Fern▀ndez Guerra <[log in to unmask]>         Tue, 18 Nov 1997 21:39:06 +0000

> 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=E1ndez Guerra.

Please put your answers in the list, I am looking for the same information.

I am currently maintaining "heritage code" in Ada and driven by that
experience, I would like to find some reasonable guidelines concerning
maintainability, readability and coding standards.  Just to avoid the same
errors in new projects (try it at least...).

Could anybody name some reference documents or URLs for this?  The only
document I have up to now are the Ada83 coding standards.  I want to avoid to
reinvent the wheel, which might lead to a very personal kind of "wheel" then.

Probably the subject of Ada (or programming in general) style is one where
almost everybody has very personal and strong opinions, so the definition of
guidelines should be based on a broad range of experience.

Any hint is welcome,



Christoph Seelhorst, Houston, Texas