Beiträge markiert mit ‘Source Code Analysis’

  • Retrieving Code Coverage from ARM Cortex-M Microcontrollers

    By on März 5, 2019

    How to retrieve code coverage data from ARM Cortex-M microcontrollers using GDB.

    Weiterlesen
    froglogic
  • Measure code coverage on ARM Cortex-M microcontrollers

    By on November 20, 2018

    ARM Cortex-M microcontrollers are becoming more and more popular. This article will show you how to use Squish Coco to get code coverage from one of such microcontrollers.

    Weiterlesen
    froglogic
  • 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...

    Weiterlesen
    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...

    Weiterlesen
    froglogic