• SONAR
  • Could somebody tell us, by a very rough guestimate, how many lines of code something like
2013/06/10 17:09:05
Linear Phase
How many lines of code are in Sonar?  Just a rough guess.   I'm trying to guess how complex it would be to do a bizz marketing software, and I bet the software would be ah, "slightly less complex than," Sonar...   
 
:-)
 
Thanks...
2013/06/10 17:26:09
mmorgan
Several years ago I spoke with Jim Allchin who was then the head of Platform Development at Microsoft and he said that there were several million lines of code in the Windows Platform. I would think Sonar would be in the 1 million range.
 
I write project management software and my largest project has about one hundred thousand lines of code. That said it is somewhat difficult to say exactly because as much code as is possible resides in common libraries that I have developed over the years. Then there is the separation between SQL code and executable code...is SQL code? LOL!
 
Regards,
2013/06/10 17:57:47
Linear Phase
I guess my project would actually be way less complicated than Sonar..  If Sonar's got a million.  I figured it for a few hundred thousand.   
 
I guess with module import, and all the opensource modules its way easier to write hundreds of thousands of lines, or make a program that big, than it would have been years ago...  ie you have access to so much stuff, that is already written and gpl, so you are more than welcome to do that.   Seems obvious then, that because Sonar has its roots over a decade ago, that they had to write the entire thing..  ha..  I guess it must be a million
2013/06/10 18:12:59
meh
Lot's of variables...I have a project with a little over 15,000 lines of C# and it is 3.5M.  SONARPDR 18.7 and you would have to add up all the dll's and other associated files etc.
That would only be a guess.
2013/06/10 20:14:37
rprichard
Bottom line is the size any application is driven but way too many factors to to give a guess. I can tell you SONAR is extremely complex and I believe over a million lines is very conservative. It really depends on the complexity of the processing that is required for the computation of your application. The number of objects/data structure, associated methods, and pre and post processing of data.
 
The number of lines of code doesn't include lines of comment but lines of actual configuration & control that you write; you never count library's (DLLs) since you don't own/write them. DLLs do come into play when you looking at the overall executable memory requirements (what has to be active/in memory at what state of the program). Also the language you pick also has a substantial impact on the size of the application. Java, C++, Objective C would all generate different source code counts as will their runtime memory requirements.
 
Reuben
2013/06/10 21:55:20
sharke
Yeah the language used is everything - I wrote a small app in Python for my business, and sometime later rewrote it in C (just for the hell of it). The C version was easily 10 times longer.
2013/06/10 22:08:57
Linear Phase
sharke
Yeah the language used is everything - I wrote a small app in Python for my business, and sometime later rewrote it in C (just for the hell of it). The C version was easily 10 times longer.



 
Interesting..   Just out of curiosity, did you write in Python3 or Python2.xxx... latest version or some other version
2013/06/10 22:14:22
konradh
Linear Phase, I have done a lot of development and have found it interesting how lines of code and look-up tables have grown as memory and disk space have gotten cheaper.  Many developers find it faster to solve issue by brute force than logic, and that makes sense if memory and storage are cheap.  I still admire lean and elegant code, though.
 
As you know, of course, many complex routines are calls to the existing O/S tools so all you have to do is your unique logic and processing..
2013/06/10 22:32:42
Linear Phase
konradh
Many developers find it faster to solve issue by brute force than logic, and that makes sense if memory and storage are cheap. I still admire lean and elegant code, though.

 
That's a killer bit of wisdom right there..   So it is, that with proper algorithms the actual amount of tedious typing exponentially shrinks, while time spent with pen and yellow pad exponentially grow.
 
Cheers
2013/06/10 22:53:12
Kev999
I would guess that different different parts of the program are written in at least three different programming languages, probably including VB and C (or C++ or C#) and maybe assembly language too.  I'm only guessing though.
 
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account