Beiträge markiert mit ‘C++’

  • Coco and System Header Files

    By on Juli 9, 2019

    A C or C++ program always includes header files that are provided by the compiler or the operating system. When they are instrumented by Coco, sometimes unexpected error messages occur. This post explains why this happens, when this happens, and what to do about it.

    Weiterlesen
    froglogic
  • Code Coverage for C# Programs With Visual Studio

    By on Januar 22, 2019

    Squish Coco is mostly used for programs written in C++, but it also supports code coverage for C# programs. The preparation of a C# program for code coverage is rather simple, thanks to a Visual Studio add-in that is part of Coco. This post is a short tutorial about...

    Weiterlesen
    froglogic
  • Coco – How to measure code coverage on embedded systems via CAN Bus

    By on April 24, 2018

    Introduction Squish Coco generates the code execution measurement using streams and by default, the output of these streams is piped to a file on the file system. For embedded devices without a file system, this leads to problems. Squish Coco allows you to redirect the measurements stream via Custom...

    Weiterlesen
    froglogic
  • Post-commit patch review available online on OpenCoverage

    By on Januar 9, 2018

    The OpenCoverage website now demonstrates a post-commit patch review system utilizing the Coco code coverage tool from froglogic. With it, one can estimate whether there are enough tests for code changes, or whether to write new tests. Coco can therefore play a useful role in quality control.

    Weiterlesen
    froglogic
  • Debugging Coco with the verbose build mode

    By on März 28, 2017

    When an application is instrumented with Squish Coco and problems arise, it is often helpful to run the compilation in the verbose build mode. This is especially useful when some of the program files are excluded from the instrumentation. With the verbose build enabled, one can see which files are...

    Weiterlesen
    froglogic
  • Verifying Custom Properties of a QObject in Squish

    By on März 23, 2017

    If you’re testing a Qt-based application with Squish, you probably know the problem: one of your classes has custom properties you would really like to verify, but you cannot seem to get hold of it from a test script. First the bad news: making it available requires changing your...

    Weiterlesen
    froglogic
  • Code Coverage Case Study: Learn How InnovMetric Software Benefits from Squish Coco

    By on März 21, 2017

    InnovMetric Software Inc., the leading provider of universal 3D metrology software solutions, started to use froglogic’s Code Coverage Tool Squish Coco in 2015. The main objective was to understand how much of their applications‘ code is properly tested by their 15,000+ tests. After some time InnovMetric’s engineers concluded: „Coco...

    Weiterlesen
    froglogic
  • Open source C++ execution trace framework

    By on September 15, 2016

    At froglogic, we’re big fans of open source software. A large part of our engineering (and management!) staff contributed or contributes to open source projects, and everyone visiting our offices for a job interview certainly gets a big +1 in case she can show off some open source work!...

    Weiterlesen
    froglogic
  • Bug Location and Patch Analysis with Squish Coco 3.4

    By on Juni 7, 2016

    Hamburg, Germany June 7, 2016 froglogic is excited to announce version 3.4 of Squish Coco, its multi-platform C, C++, C# and Tcl code coverage analysis tool. Besides several smaller improvements, this new release of Squish Coco features two innovative, new features to help developers use code coverage data to...

    Weiterlesen
    froglogic
  • Yet another static code analyzer run

    By on Oktober 2, 2014

    Looking for the answer to a 64-bit build question I ran into a news item titled „The Unicorn Getting Interested in KDE„. Since I never saw an unicorn before this made me curious. Turns out that a company selling a static code analysis tool has been analysing KDE code....

    Weiterlesen
    froglogic