Cross-platform software libraries and APIs
Qt Creator IDE and productivity tools
UI Design tool for UI composition
for Qt projects
Digital advertising for UI apps
Usage intelligence for embedded devices
GUI test automation
Code coverage analysis
Test results management and analysis
Software static code analysis
Software architecture verification
The latest version of Qt.
Make the most of Qt tools, with options for commercial licensing, subscriptions, or open-source.
Explore Qt features, the Framework essentials, modules, tools & add-ons.
The project offers PySide6 - the official Python bindings that enhance Python applications.
Qt empowers productivity across the entire product development lifecycle, from UI design and software development to quality assurance and deployment. Find the solution that best suits your needs.
Insight into the evolution and importance of user-centric trends and strategies.
Learn how to shorten development times, improve user experience, and deploy anywhere.
Tips on efficient development, software architecture, and boosting team happiness.
Get the latest resources, check out upcoming events, and see who’s innovating with Qt.
A wealth of Qt knowledge at your fingertips—discover your ideal learning resource or engage with the community.
Whether you're a beginner or a seasoned Qt pro, we have all the help and support you need to succeed.
The function coverage of a program counts how many functions were called (and how often). Here, the count includes member functions (or methods) in object-oriented programming languages like C++.
The following code sample checks whether a given credit card number is valid.
For a sample invocation:
validCCN({ 4, 5, 3, 9, 1, 4, 8, 8, 0, 3, 4, 3, 6, 4, 6, 7 });
The code coverage visualization is displayed as:
With 100% function coverage.
This metric reports the call count of a function; it does not pay mind to the execution of the body of the function. It is thus generally useful as an initial assessment of a project’s coverage, but higher-order metrics are generally required for more in-depth analysis.
ISO 26262* | IEC 61508 | DO-178C | EN 50128 |
---|---|---|---|
A = + | 1 = ++ | N/A | N/A |
B = + | 2 = ++ | N/A | N/A |
C = ++ | 3 = ++ | N/A | N/A |
D = ++ | 4 = ++ | N/A | N/A |
Table 1. Function Coverage. Key: + denotes recommended; ++ denotes highly recommended, or, mandatory.
*architectural level; function coverage is not required at the unit level
Qt Group includes The Qt Company Oy and its global subsidiaries and affiliates.