Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Introduction to CDB v2.2

Code Database (CDB) is an analysis tool that can be used to measure backward compatibility (BaC) between releases of a single executable, a component or an entire release of Symbian OS. It compares two builds and identifies differences between versions that affect the binary and the source compatibility. This information is presented to the user through XML and HTML reports that it generates.

Reports contain information such as, nature of the break, location of the break in the code and the classification of the API in which the break occured.

CDB can detect the following types of breaks:

The figure shows the architecture of CDB2.2.

CDB v2.2 architecture

CDB v2.2 architecture

The components in teal coloured blocks are modified in CDB v2.2.


Advantages of CDB2.2

Following are some of the main advantages of CDB v2.2 over v2.1:

Each of these are explained in New features introduced in CDB2.2.

[Top]


Interface breaks

CDB2.2 introduces the following interface breaks:

  1. reports the tightening of classification for c++ entities

  2. reports changes in inline methods

  3. reports ripples instead of breaks for changes in resource files caused by another break

  4. reports breaks caused by changes in class sizes

  5. checks orphan headers for existing breaks.

[Top]


Why do you need CDB

Backward Compatibility (BaC) breaks may cause code failure, thus affecting users of Symbian OS. CDB provides a mechanism to identify the unauthorised breaks in a release before it is shipped to customers.

The CDB2.2 user guide contains the following sections:

CDB2.2 (CDB version 2.2) is refered to as CDB all through this guide.

[Top]


See also