Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Programming Software IT Technology

Undocumented Open Source Code On the Rise 94

ruphus13 writes "According to security company Palamida, the use of open source code is growing rapidly within businesses. However, the lack of documentation and understanding of how the code works can increase the vulnerability and security risks the companies face. OStatic quotes Theresa Bui-Friday saying, 'In 2007, Palamida's Services team audited between 300M to 500M lines of code for F500 to venture-backed companies, across multiple industries. Of the code we reviewed, Palamida found that applications written within the last five years contain 50% or more open source code, by a line of code count. Of that 50% of open source code, 70% was undocumented. This is up from 30% in 2006.' How can businesses protect themselves and still draw on open source code effectively?"
This discussion has been archived. No new comments can be posted.

Undocumented Open Source Code On the Rise

Comments Filter:
  • by Bloater ( 12932 ) on Sunday June 15, 2008 @06:17PM (#23803911) Homepage Journal

    I disagree.
    This isn't about closed vs open source, this is about decent programming.
    Comments in code are neccessary and a minimal requirement for any project.
    But far less important than most people realise. Most code should be self documenting.

    At least add one line to any function explaining what the function does, what its input is and what it returns.
    Isn't:
    template<typename InputIterator>
    typename iterator_traits<InputIterator>::value_type
    sum(InputIterator begin, const InputIterator& end)

    enough?

    I don't understand this hatred for comments and the "code-is-its-own-documentation"-philosophy. I really don't.
    If your code is unreadable, then it is bad (see your example). Oh wait... I think I just had a "Whoosh" moment... I did, didn't I? Somebody mod parent up +1 Funny

It is easier to write an incorrect program than understand a correct one.

Working...