Posts tagged with ‘Source Code Analysis’

  • What exactly is cyclomatic complexity?

    By on April 3, 2018

    The cyclomatic complexity is a measurement of the code complexity proposed by Thomas J. McCabe which is often considered as a magic number which allows us to measure the complexity of a program. It is common to say that a function with a cyclomatic complexity higher than 10 is...

    Read more
    froglogic
  • Are Unit Tests necessary, or do System Tests suffice?

    By on April 25, 2016

    In theory, each new or modified function should be tested. Often, the initial reaction is to have one unit test per code change. It’s not that simple however. Writing unit tests is time consuming, and only makes sense for functions containing non-trivial code or a minimum level of computational...

    Read more
    froglogic