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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b2d73e60acd3f07 X-Google-Attributes: gid103376,public From: "James E. Hopper" Subject: Re: Estimating conversion of Ada 83 to Ada 95 Date: 1999/06/08 Message-ID: <080619991320445565%hopperj@macconnect.com>#1/1 X-Deja-AN: 487165140 Content-Transfer-Encoding: 8bit References: <7jj9kr$2hr$1@news2.tor.accglobal.net> Organization: http://extra.newsguy.com Content-Type: text/plain; charset=ISO-8859-1 User-Agent: YA-NewsWatcher/4.2.2 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-06-08T00:00:00+00:00 List-Id: We just finished a conversion from dec ada to gnat, and got nothing like this! Now since we had to modify dec ada constructs, you would expect that (starlet library for instance was a pain!) But what i would say is the same is the testing effort. unless you already have working unit tests and results, writing proper tests can take much more tiem than the actual conversion. i suppose you could just go straight to integration testing, but i wouldnt feel comfortable with it. if it didnt work your estimates are going to go all to pieces while you go back and test smaller units! i would suggest a risk pot that has money to allow for this. jim --------- In article <7jj9kr$2hr$1@news2.tor.accglobal.net>, Terry J. Westley wrote: > We're converting a 640 KSLOC real-time, distributed simulation from > Ada 83 (VADS) to Ada 95. I expect most of the work will be replacing > VADS-specific packages with Ada 95 library packages and POSIX packages. > > Based on some limited conversion work we've already done, I'm using > 162 LOC/Hour for converting from VADS to GNAT Ada 95 for those files > which include lots of special stuff such as OS calls, use of VADS > packages, use of Oracle Pro*Ada, etc. For the rest, I figure it'll > be at least 5 times faster than that, for a conversion rate of > 812 LOC/Hour. This includes conversion, compilation, and testing. > > I expect we'll use the GNAT Ada83 switch for the first pass, then > turn it off to see what happens. > > Anyone have any evidence that I'm way off on this estimate? > > -- > Terry J. Westley, Principal Engineer > Veridian Engineering, Calspan Operations > P.O. Box 400, Buffalo, NY 14225 > twestley@buffalo.veridian.com http://www.veridian.com