Posts tagged with ‘Coco’

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

    By on September 18, 2018

    Unused functions impacts 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
  • Benefiting from combined usage of Squish and Coco

    By on August 29, 2017

    It is sometimes a good idea to use Squish GUI Tester and Coco in the same project. Squish runs the GUI tests, and Coco measures how much code they cover. A problem that often occurs is however that the instrumented AUT does not write any coverage results.

    Read more
    froglogic
  • Debugging Coco with the verbose build mode

    By on March 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...

    Read more
    froglogic