From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-12 19:04:32 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 12 Nov 2003 21:04:30 -0600 Date: Wed, 12 Nov 2003 22:04:17 -0500 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Eachus' Measure of Goodness References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.34.214.193 X-Trace: sv3-yyg5htR/5fASiNlXJb78mDfykb1/WZs9ikJeVnKbWl5wwzZmVH4OEIFFOHY/KMlu+VsQ92fIOjBxmRX!+AP+ecdAaUK+lKRlZ2lsWLrZOJpAekWBllrwKLRXIq/vwMDs9CVhCwXj9FqcAg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:2431 Date: 2003-11-12T22:04:17-05:00 List-Id: tmoran@acm.org wrote: > Does that mean that in a 50 package system, the average package > should have under 10 "with"s in its spec or 20 in its body or some > combination? And a 400 package system could average 50% more? Something like that. But I try to avoid the word should and must is out of the question. The better the design, the lower the number. So it is really a measure of how both how well the system design partitions functionality, and the coherence of the actual code. Also of course, the lower the number, the lower the coupling of the various modules. I could refer you to some papers--some of them from MITRE--on coupling and cohesion measures. The problem is that they require a good ASIS implementation (or in the case of the MITRE work, DIANA), and a lot of support tools. This is if you will, a poor man's measure of coupling and cohesion that can be done fairly easily. -- Robert I. Eachus 100% Ada, no bugs--the only way to create software.