Your browser does not support JavaScript! Skip to main content
Free 30-day trial DO-178C Handbook RapiCoupling Preview DO-178C Multicore Training Multicore Resources
Rapita Systems
 

Industry leading verification tools & services

Rapita Verification Suite (RVS)

  RapiTest - Unit/system testing  RapiCover - Structural coverage analysis  RapiTime - Timing analysis (inc. WCET)  RapiTask - Scheduling visualization  RapiCoverZero - Zero footprint coverage analysis  RapiTimeZero - Zero footprint timing analysis  RapiTaskZero - Zero footprint scheduling analysis  RapiCouplingPreview - DCCC analysis

Multicore Verification

  MACH178  MACH178 Foundations  Multicore Timing Solution  RapiDaemons

Engineering Services

  V&V Services  Data Coupling & Control Coupling  Object code verification  Qualification  Training  Consultancy  Tool Integration  Support

Industries

  Civil Aviation (DO-178C)   Automotive (ISO 26262)   Military & Defense   Space

Other

RTBx Mx-Suite Software licensing Product life cycle policy RVS Assurance issue policy RVS development roadmap

Latest from Rapita HQ

Latest news

SAIF Autonomy to use RVS to verify their groundbreaking AI platform
RVS 3.22 Launched
Hybrid electric pioneers, Ascendance, join Rapita Systems Trailblazer Partnership Program
Magline joins Rapita Trailblazer Partnership Program to support DO-178 Certification
View News

Latest from the Rapita blog

How to certify multicore processors - what is everyone asking?
Data Coupling Basics in DO-178C
Control Coupling Basics in DO-178C
Components in Data Coupling and Control Coupling
View Blog

Latest discovery pages

control_tower DO-278A Guidance: Introduction to RTCA DO-278 approval
Picture of a car ISO 26262
DCCC Image Data Coupling & Control Coupling
Additional Coe verification thumb Verifying additional code for DO-178C
View Discovery pages

Upcoming events

Avionics and Testing Innovations 2025
2025-05-20
DASC 2025
2025-09-14
DO-178C Multicore In-person Training (Fort Worth, TX)
2025-10-01
DO-178C Multicore In-person Training (Toulouse)
2025-11-04
View Events

Technical resources for industry professionals

Latest White papers

Mitigation of interference in multicore processors for A(M)C 20-193
Sysgo WP
Developing DO-178C and ED-12C-certifiable multicore software
DO178C Handbook
Efficient Verification Through the DO-178C Life Cycle
View White papers

Latest Videos

Rapita Systems - Safety Through Quality
Simulation for the Motorola 68020 microprocessor with Sim68020
AI-driven Requirements Traceability for Faster Testing and Certification
Multicore software verification with RVS 3.22
View Videos

Latest Case studies

GMV case study front cover
GMV verify ISO26262 automotive software with RVS
Kappa: Verifying Airborne Video Systems for Air-to-Air Refueling using RVS
Supporting DanLaw with unit testing and code coverage analysis for automotive software
View Case studies

Other Resources

 Webinars

 Brochures

 Product briefs

 Technical notes

 Research projects

 Multicore resources

Discover Rapita

Who we are

The company menu

  • About us
  • Customers
  • Distributors
  • Locations
  • Partners
  • Research projects
  • Contact us

US office

+1 248-957-9801
info@rapitasystems.com
Rapita Systems, Inc.
41131 Vincenti Ct.
Novi
MI 48375
USA

UK office

+44 (0)1904 413945
info@rapitasystems.com
Rapita Systems Ltd.
Atlas House
Osbaldwick Link Road
York, YO10 3JB
UK

Spain office

+34 93 351 02 05
info@rapitasystems.com
Rapita Systems S.L.
Parc UPC, Edificio K2M
c/ Jordi Girona, 1-3
Barcelona 08034
Spain

Working at Rapita

Careers

Careers menu

  • Current opportunities & application process
  • Working at Rapita
Back to Top Contact Us

Helping students learn code coverage with RapiTetris

Breadcrumb

  1. Home
2019-12-02

It’s been five years since the creation of RapiTetris and the game’s users keep growing. RapiTetris is our own take on the classic game of Tetris with a subset of RapiCover – our structural coverage analysis tool – built into the gameplay. It was created as a fun way to learn the basics of how code coverage works.

RapiTetris spotlight

Over the years, RapiTetris has found a home in the academic world as a fun way for students to learn. The Hamburg University of Technology and Mälardalen University are some of these homes, where Dr.-Ing. Martin Halle and Dr. Adnan Causevic provide RapiTetris to their students.

RapiTetris gameplay

RapiTetris gameplay screenshot

 
Dr Martin Halle

Dr.-Ing. Martin Halle

 

“Software tests in the avionics domain are complicated and MC/DC coverage as an example is not easy to understand. Providing our students with RapiTetris as a way to understand code coverage in that domain alongside their lectures was helpful. The students really enjoyed using the tool as they learnt MC/DC at the same time”

“We want to teach our students how knowledge of the implementation details could be of a value when constructing test cases. RapiTetris is a perfect tool for that as many students come back to me saying: 'I would never thought of rotating a box'. Indeed RapiTetris is a fantastic educational tool."

 

Dr Adnan Causevic

Dr. Adnan Causevic

One of the creators of RapiTetris, Dr. Antoine Colin, is delighted to see that computer science students all over the world have an interactive tool at their disposal to aid with code coverage learning.

Coverage made fun

Code coverage is a measurement of how many blocks of code are executed during automated testing; a good metric of how much testing you are doing. During game play, RapiTetris provides 4 types of coverage metric:

  • Function coverage – has each subroutine in the code been called?
  • Statement coverage– has every statement been executed?
  • Decision coverage– has every branch of a control structure been explored? E.g. both the true and false branches of an if statement must be executed.
  • Modified condition/decision coverage (MC/DC) – does each condition affect the decision outcome independently. This is of interest when trying to meet requirements for safety critical software (for example DO-178B/C standards for aerospace application)

The objective of the RapiTetris game is to obtain 100% code coverage within a limited amount of time. This can only be achieved by analyzing the game’s code. Although this isn’t how code coverage works in a “real” testing environment (as you do not look at the code directly), it’s a great, immersive way to learn the underlying concepts compared to writing some rigorous tests.

 

The evolution of RapiTetris

We’ve taken RapiTetris to numerous events and conferences the last five years, and it has proved to be a popular addition to our stand. In recent years we have revamped the RapiTetris game and unveiled a new and improved arcade box for the game to be played in – giving it a more ‘retro’ flavor. We challenge delegates to compete to achieve the best scores within a five-minute period, with prizes given - at selected events - to those with the top score at the end of the event.

RapiTetris gameplay

RapiTetris Retro Box

 

More about RapiTetris and RapiCover

To find out more about RapiTetris see this blog post.

RapiTetris only showcases a fraction of the features of RapiCover. If you want to find out more about RapiCover and all its features, you can request a trial version which runs in a simulated embedded environment.

Download RapiTetris

  • Solutions
    • Rapita Verification Suite
    • RapiTest
    • RapiCover
    • RapiTime
    • RapiTask
    • MACH178

    • Verification and Validation Services
    • Qualification
    • Training
    • Integration
  • Latest
  • Latest menu

    • News
    • Blog
    • Events
    • Videos
  • Downloads
  • Downloads menu

    • Brochures
    • Webinars
    • White Papers
    • Case Studies
    • Product briefs
    • Technical notes
    • Software licensing
  • Company
  • Company menu

    • About Rapita
    • Careers
    • Customers
    • Distributors
    • Industries
    • Locations
    • Partners
    • Research projects
    • Contact
  • Discover
    • Multicore Timing Analysis
    • Embedded Software Testing Tools
    • Worst Case Execution Time
    • WCET Tools
    • Code coverage for Ada, C & C++
    • MC/DC Coverage
    • Verifying additional code for DO-178C
    • Timing analysis (WCET) & Code coverage for MATLAB® Simulink®
    • Data Coupling & Control Coupling
    • Aerospace Software Testing
    • Automotive Software Testing
    • Certifying eVTOL
    • DO-178C
    • AC 20-193 and AMC 20-193
    • ISO 26262
    • What is CAST-32A?

All materials © Rapita Systems Ltd. 2025 - All rights reserved | Privacy information | Trademark notice Subscribe to our newsletter