home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / metric / compmeas.cmm < prev    next >
Encoding:
Text File  |  1988-05-03  |  4.0 KB  |  110 lines

  1.  
  2.  
  3.  
  4.  
  5.                            Comments On 
  6.                     Complexity Measures Report
  7.                          by Intermetrics
  8.  
  9.                             Tool 5_1_3
  10.                             June 16, 1986
  11.  
  12. COMPILATION
  13. -----------
  14. No recompilation of this tool has been attempted to date.
  15.  
  16.  
  17.  
  18. EXECUTION
  19. ---------
  20. No execution has been attempted to date.
  21.  
  22.  
  23.  
  24. COMMENT
  25. -------
  26.  
  27. This tool was developed as a precursor effort for the WWMCCS 
  28. Information System (WIS).  An executable version of the tool
  29. has been demonstrated.  However, the tool has not been tested 
  30. since delivery by the vendor.  
  31.  
  32.  
  33. ==============
  34. 12-May-87 14:27:36-MDT,2528;000000000001
  35. Return-Path: <BGABLE@ADA20.ISI.EDU>
  36. Received: from ADA20.ISI.EDU by SIMTEL20.ARPA with TCP; Tue, 12 May 87 14:27:13 MDT
  37. Date: 12 May 1987 13:26:01 PDT
  38. From: BGABLE@ADA20.ISI.EDU
  39. Subject: HALSTEAD - a comment or two
  40. To:   RCONN@SIMTEL20.ARPA
  41. cc:   BGABLE@ADA20.ISI.EDU
  42.  
  43. Subject: Problems building Halstead and McCabe Metric tools.
  44.  
  45. First of all the distribution kit does not contain what COMPMEAS.ABS says it
  46. should. This abstract mentions two versions of each tool, one that works off Ada
  47. source code, and the other that works from the Intermetrics format Diana program
  48. library. The only version I was able to build was the McCabe version that runs
  49. off of source code. If both versions are contained in the source kit then I must
  50. be doing something wrong, because I could not figure out how to build the Diana
  51. version (this may however be a problem with our version of the Intermetrics
  52. Byron system). 
  53.  
  54. Now Halstead is another story the source file HALSTEAD.SRC seems to have about
  55. three versions of each source code module in it, along with at least 2 copies
  56. (and maybe 3) of a VAX/VMS object module in binary format. This makes the file
  57. impossible to split with PAGER or COMBINE/BREAK. I did however, edit this file
  58. by hand to remove the binary object files and attempt to split it with PAGER.
  59. After checking the differences between versions and purging the older copies, I
  60. attempted to compile HALSTEAD and found that only the Diana version was
  61. contained in the file. 
  62.  
  63. So, it turns out that there is one version of each program in the directory but 
  64. McCabe runs off of source and Halstead runs from the Diana library. I think that
  65. at the very least, the versions of the programs that are contained in the
  66. METRICS directory should run off source code. I'm sure that there are a great
  67. many sites that might benefit from these tools but that don't have any
  68. Intermetrics tools with which to build the Diana libraries. 
  69.  
  70. In addition we have found a couple of Ada constructs that the McCabe tool will
  71. not parse correctly. One is contained in McCabe's own MCCLEX.BDY, which causes
  72. the program to quit with a fatal parser exception, and the other concerns
  73. nested packages, which causes the parser to quit with an empty stack exception. 
  74.  
  75. If Intermetrics is not willing to correct these problems, we would like to take
  76. a stab at it. We will however need a copy of the NYU parser generator to
  77. regenerate the parse and lex tables used by the program. 
  78.  
  79. Mark Schmitz 
  80. Lear Siegler
  81. -------
  82.  9-Jul-87 07:56:13-MDT,879;000000000001
  83. Return-Path: <ADA-SW-REQUEST@SIMTEL20.ARPA>
  84. Received: from nusc-wpn.arpa by SIMTEL20.ARPA with TCP; Thu, 9 Jul 87 07:21:18 MDT
  85. Date: 9 Jul 87 09:07:00 EDT
  86. From: <domingue@nusc-wpn.arpa>
  87. Subject: halstead
  88. To: "ada-sw" <ada-sw@simtel20.arpa>
  89. Reply-To: <domingue@nusc-wpn.arpa>
  90.  
  91.  
  92.   
  93.  
  94.     Help!
  95.  
  96. 1)  After extracting the Halstead tool and attempting compilation on 
  97. a VAX/VMS system, it became apparent the repository was missing the 
  98. "DIANA" subprogram which was being "withed and used". If Any body knows
  99. how or where I can get a copy of "DIANA" please respond.
  100.  
  101. 2)  Also from the Ada repository I extracted the variable_length_io
  102. files. Aparently the code when stored in the repository lost some data
  103. if anyone can help me get a clean copy of this program please help.
  104.  
  105.     send responses to:
  106.     Domingue@NUSC-WPN.ARPA
  107.                         Thank You
  108.                         Bob Domingue
  109. ------
  110.