Posts tagged with ‘Coco’

  • Code Coverage with QTest

    By on October 9, 2018

    Today’s tip will show how to measure code coverage for unit tests written using the Qt Test framework (or short QTest). The example A simple example for code that uses Qt which is tested via the Qt Test framework can look like the following. To keep it short the...

    Read more
    froglogic
  • Retrieve code coverage data via a remote debugger connection

    By on September 25, 2018

    Introduction By default, the code coverage tool Squish Coco creates a file with the extension .csexe upon the application exit with the code coverage information of the current execution. When working on an embedded device, this is not convenient because: Some embedded OSes do not have a file system...

    Read more
    froglogic
  • Find unused functions in C/C++ code with coverage analysis

    By on September 18, 2018

    Unused functions impact maintenance Unused functions in a software project can cause code bloat, but they also create more work for the developers of tests, especially in the situation where code coverage (the quality) of tests is being measured. If a function is not used, then removing it from...

    Read more
    froglogic
  • Finding and editing dead code with Coco

    By on August 21, 2018

    As part of the coverage report, Coco generates a list of lines with dead code. One would often like to remove these lines, but when they are spread over a large project, it requires some effort to navigate the editor to them. This can be made easier with a...

    Read more
    froglogic
  • Maintenance Release Coco 4.2.2

    By on August 8, 2018

    Release Announcement Hamburg, Germany – 2018-08-08 – froglogic GmbH is pleased to announce a maintenance release of its code coverage tool Coco 4.2.2, a complete C, C++, C# and Tcl code coverage tool chain for Windows, Linux, macOS X, and Embedded Systems. Improvements The main improvements since the initial...

    Read more
    froglogic
  • Squish Coco 4.2 introduces Code Complexity Metrics And Unifies Cross-platform Code Analysis

    By on June 5, 2018

    The froglogic team is proud to announce the Squish Coco 4.2 release. This version introduces new metrics for the Code Complexity Analysis: McCabe and eLOC. Furthermore, it comes with a feature to unify the Code Analysis of Cross-platform applications. Squish Coco is a complete C, C++, C#, Tcl and...

    Read more
    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...

    Read more
    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...

    Read more
    froglogic
  • FreeRTOS and code coverage on embedded systems

    By on February 13, 2018

    Code coverage for embedded systems poses some questions that do not occur with desktop applications. In this post I will show the first steps on how to measure code coverage with Squish Coco on an embedded system. We will use the FreeRTOS Kernel as our example.

    Read more
    froglogic
  • Meet Embedded Software Testing Specialist froglogic at Embedded World

    By on February 7, 2018

    froglogic, the vendor of the automated GUI Testing Tool Squish and Code Coverage Analysis Tool Coco, today announced that it will exhibit at the Embedded World in Nuremberg, Germany end of February. froglogic, an early anticipator for the need for GUI test automation and code coverage tooling for the rapidly transforming embedded markets, expanded...

    Read more
    froglogic