Re: Any way for Finding out LOC(lines of code) from a Binary file

"Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
2 Oct 2004 16:23:14 -0400

          From comp.compilers

Related articles
Any way for Finding out LOC(lines of code) from a Binary file d_skumar@excite.com (2004-10-02)
Re: Any way for Finding out LOC(lines of code) from a Binary file basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2004-10-02)
Re: Any way for Finding out LOC(lines of code) from a Binary file Juergen.KahrsDELETETHIS@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2004-10-02)
| List of all articles for this month |

From: "Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
Newsgroups: comp.compilers
Date: 2 Oct 2004 16:23:14 -0400
Organization: http://starynkevitch.net - Ours
References: 04-10-018
Keywords: practice, analysis
Posted-Date: 02 Oct 2004 16:23:14 EDT

On 2004-10-02, skumar <d_skumar@excite.com> wrote:
> Hi ,
> I've one Binary file(of one big application) for which I dont have
> source files. I've only the binary file. I'd like to know is there any
> means by which we can find out the no.of Lines(KLOC) of that
> appliction from the binary file. [...]


Why do you want to estimate this? Your estimation will be very crude,
and the cost of development of a software is not exactly linear in its
source size: sometimes, a software is worked upon and improved, and
the source size is *shrinking*


> [You can estimate from the size of the code sections in the file, but
> unless it happens to have debug symbols with line numbers, your
> estimate will be rather rough. -John]


I agree with John, and I don't think you'll get sensible information
from your crude estimation.


--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Fa´encerie, 92340 Bourg La Reine, France


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.