Re: SDL-News: REQUEST FOR HELP : measuring SDL program complexity


Subject: Re: SDL-News: REQUEST FOR HELP : measuring SDL program complexity
From: Laurent DOLDI (laurent.doldi#wanadoo.fr)
Date: Mon Apr 13 1998 - 18:59:23 GMT


The originator of this message is responsible for its content.
-----From Laurent DOLDI <laurent.doldi#wanadoo.fr> to sdlnews -----

At 11:08 13/04/98 -0500, you wrote:
>hello,
>
>i have a request to make to people on the SDL Forum mailing list.
>
>regards,
>--
>Aaron P. D'Souza, dsouzp#cig.mot.com, (847) 632-4193, Motorola Inc.
>MEASURING COMPLEXITY OF SDL PROGRAMS
>--------- ---------- -- --- --------
>
>We need to define a metric that could be used to measure
>SDL program complexity.
>

Aaron,

Why not counting the number of SDL PR lines ?

For this, get rid of CIF contained in .pr files:

   grep -v '/* CIF' my_model.pr > my_model_nocif.pr
   then remove empty lines

Then use wc to count lines.
Of course it is like counting lines of a C program: writing a short and
well designed SDL model will take more time than writing a huge SDL 'draft'.

Regards.

Laurent DOLDI
TransMeth - Formal Methods applied to Telecommunications
18, rue des SAULES
31400 TOULOUSE FRANCE
Tel. +33 (0)5 61 25 59 54
Mobile +33 (0)6 80 26 62 31
Email: Laurent.Doldi#wanadoo.fr

-----End text from Laurent DOLDI <laurent.doldi#wanadoo.fr> to sdlnews -----
For help, email "majordomo#sdl-forum.org" with the body of your email as:
    help
or (iff this does not answer your question) email: owner-sdlnews#sdl-forum.org



This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:40 GMT