UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
> Comments To Code Percentage, Any Version    
 
   
JonSmith
post Dec 30 2016, 06:01 AM
Post#1



Posts: 3,138
Joined: 19-October 10



Hi guys,

Someone at work has made a pretty horrid tool in VBA and want IT to support it. I have many issues with it, one being really poor code commenting.
On analysis out of the 5,800 lines only 2% were code comments.

I analysed alot of my work and I average around 25-30% code comments. I was curious if I do more or less than the average coder. Obviously 2% is waaay too low but I want to gauge what others consider reasonable.

I was able to do quick checks doing Mz Tools statistics so I guess this is only a question that people with addin's such as that can answer?


JS
Go to the top of the page
 

Posts in this topic
- JonSmith   Comments To Code Percentage   Dec 30 2016, 06:01 AM
- - Marsupilami72   I just did a quick count on the routine i am curre...   Dec 30 2016, 06:14 AM
|- - Jeff B.   One reason for including comments in code is to he...   Dec 30 2016, 07:10 AM
- - GroverParkGeorge   I just checked one project on which I am at least ...   Dec 30 2016, 07:58 AM
|- - nvogel   I don't think there's any "right...   Dec 30 2016, 08:50 AM
|- - jleach   >> Obviously 2% is waaay too low << W...   Dec 30 2016, 08:52 AM
|- - GroverParkGeorge   While I don't disagree with most of your comme...   Dec 30 2016, 09:07 AM
|- - jleach   Yea, lack of good SCC in Access makes revisions a ...   Dec 30 2016, 09:18 AM
|- - GroverParkGeorge   Well, there's that pesky budget problem to man...   Dec 30 2016, 09:21 AM
|- - Doug Steele   You might be interested in a column my friend Pete...   Dec 30 2016, 09:31 AM
|- - GroverParkGeorge   Hmm. Thanks, Doug. Sometimes I tend to lose perspe...   Dec 30 2016, 09:50 AM
|- - jleach   Good article(s) Doug, they better articulate my po...   Dec 30 2016, 09:58 AM
|- - JonSmith   Nice to see its caused some discussion!! ...   Dec 30 2016, 02:00 PM
||- - JonSmith   To put it another way, I agree that if code is of ...   Dec 30 2016, 02:06 PM
||- - jleach   I have worked with many other people's VBA cod...   Dec 30 2016, 02:44 PM
||- - jleach   (as you might have guessed, I'm very OCD about...   Dec 30 2016, 02:53 PM
||- - TheSmileyCoder   I took over a project which had plenty of comments...   Dec 30 2016, 04:49 PM
||- - jleach   I might even go so far as to break down each task ...   Dec 30 2016, 05:46 PM
||- - JonSmith   Interesting thoughts Jack. I fear you are thinkin...   Dec 30 2016, 06:28 PM
||- - jleach   Hi Jon - no fear, I have an explanation for everyt...   Dec 30 2016, 10:29 PM
||- - jleach   It occurs to me that every time I'm writing co...   Dec 30 2016, 10:59 PM
|- - PhilS   @jleach: QUOTE (or, maybe just file this under Unp...   Dec 31 2016, 09:28 AM
|- - GroverParkGeorge   I think we're talking past one another to a ce...   Dec 31 2016, 11:15 AM
|- - nvogel   Hi George. Note that the most popular source contr...   Dec 31 2016, 11:40 AM
|- - GroverParkGeorge   That's a good point, too. I've discussed ...   Dec 31 2016, 11:49 AM
|- - jleach   Access is a terrible at being source controlled: t...   Dec 31 2016, 11:53 AM
||- - JonSmith   Hi guys, Happy New Year!! So to continue...   Jan 2 2017, 05:01 AM
||- - jleach   We agree on some points For a good project, comm...   Jan 2 2017, 09:43 AM
|- - PhilS   QUOTE If YOUR consulting business includes project...   Jan 3 2017, 03:15 PM
|- - jleach   Source control is one of those things where if you...   Jan 4 2017, 12:00 PM
- - tina t   hi, guys, i really love it when a group of you get...   Dec 30 2016, 07:10 PM



Custom Search
RSSSearch   Top   Lo-Fi    18th November 2017 - 10:26 AM