Snort mailing list archives
Re: Snort code
From: Matt Kettler <mkettler () evi-inc com>
Date: Wed, 31 Mar 2004 13:40:39 -0500
At 08:07 AM 3/31/2004, sumanth subramanian wrote:
I am a new snort user.I would like to know the number of lines in the snort code.
That's an awful strange question for a snort user... If you really need the answer, the source code is freely downloadable from the website, and you can use a line-counting tool of your choice on it.
Side rant: IMO "how many lines of code is xxx" is inherently a flawed question in the first place, as there's no well defined concept of a "line" of code in C. Do you count comments? are compound lines counted as multiple lines? what about cascaded assignments? ternary operators?
Even if you can define a "line" the line-count of a program tells you nothing of any use in any context. It tells you nothing about the complexity of the code, as C can be coded in a very dense or very sparse manner. Even byte-count of the source files is more useful than "line count", at least that can tell you how much disk storage the source code uses.
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Snort code sumanth subramanian (Mar 31)
- Re: Snort code Rajesh Joseph (Mar 31)
- Re: Snort code Matt Kettler (Mar 31)