| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 35 | 1 |
| McCabe's Cyclomatic Number | MVG | 0 | 0 |
| Lines of Comment | COM | 8 | 0.250 |
| LOC/COM | L_C | 4.375 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 32 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 6 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 1 | |
| Coupling between objects | CBO | 1 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | 0.000 |
| Information Flow measure ( visible ) | IF4v | 0 | 0.000 |
| Information Flow measure ( concrete ) | IF4c | 0 | 0.000 |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./tests_schema/tests_sources/database_interface.h:138 |
3 | 0 | 1 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| addGenre( const NewGenre & ) declaration ./tests_schema/tests_sources/database_interface.h:146 | 1 | 0 | 1 | ------ | ------ |
| addHall( const NewHall & ) declaration ./tests_schema/tests_sources/database_interface.h:160 | 1 | 0 | 1 | ------ | ------ |
| addMovie( const NewMovie & ) declaration ./tests_schema/tests_sources/database_interface.h:153 | 1 | 0 | 1 | ------ | ------ |
| addRefund( const NewRefund & ) declaration ./tests_schema/tests_sources/database_interface.h:181 | 1 | 0 | 1 | ------ | ------ |
| addSession( const NewSession & ) declaration ./tests_schema/tests_sources/database_interface.h:167 | 1 | 0 | 1 | ------ | ------ |
| addTicket( const NewTicket & ) declaration ./tests_schema/tests_sources/database_interface.h:174 | 1 | 0 | 1 | ------ | ------ |
| getAllGenres( ) declaration ./tests_schema/tests_sources/database_interface.h:150 | 1 | 0 | 0 | ------ | ------ |
| getAllHalls( ) declaration ./tests_schema/tests_sources/database_interface.h:164 | 1 | 0 | 0 | ------ | ------ |
| getAllMovies( ) declaration ./tests_schema/tests_sources/database_interface.h:157 | 1 | 0 | 0 | ------ | ------ |
| getAllRefunds( ) declaration ./tests_schema/tests_sources/database_interface.h:185 | 1 | 0 | 0 | ------ | ------ |
| getAllSessions( ) declaration ./tests_schema/tests_sources/database_interface.h:171 | 1 | 0 | 0 | ------ | ------ |
| getAllTickets( ) declaration ./tests_schema/tests_sources/database_interface.h:178 | 1 | 0 | 0 | ------ | ------ |
| getGenre( int ) declaration ./tests_schema/tests_sources/database_interface.h:149 | 1 | 0 | 0 | ------ | ------ |
| getHall( int ) declaration ./tests_schema/tests_sources/database_interface.h:163 | 1 | 0 | 0 | ------ | ------ |
| getMovie( int ) declaration ./tests_schema/tests_sources/database_interface.h:156 | 1 | 0 | 0 | ------ | ------ |
| getRefund( int ) declaration ./tests_schema/tests_sources/database_interface.h:184 | 1 | 0 | 0 | ------ | ------ |
| getSession( int ) declaration ./tests_schema/tests_sources/database_interface.h:170 | 1 | 0 | 0 | ------ | ------ |
| getTicket( int ) declaration ./tests_schema/tests_sources/database_interface.h:177 | 1 | 0 | 0 | ------ | ------ |
| isDatabaseAvailable( ) declaration ./tests_schema/tests_sources/database_interface.h:143 | 1 | 0 | 1 | ------ | ------ |
| removeGenre( int ) declaration ./tests_schema/tests_sources/database_interface.h:147 | 1 | 0 | 0 | ------ | ------ |
| removeHall( int ) declaration ./tests_schema/tests_sources/database_interface.h:161 | 1 | 0 | 0 | ------ | ------ |
| removeMovie( int ) declaration ./tests_schema/tests_sources/database_interface.h:154 | 1 | 0 | 0 | ------ | ------ |
| removeRefund( int ) declaration ./tests_schema/tests_sources/database_interface.h:182 | 1 | 0 | 0 | ------ | ------ |
| removeSession( int ) declaration ./tests_schema/tests_sources/database_interface.h:168 | 1 | 0 | 0 | ------ | ------ |
| removeTicket( int ) declaration ./tests_schema/tests_sources/database_interface.h:175 | 1 | 0 | 0 | ------ | ------ |
| updateGenre( const Genre & ) declaration ./tests_schema/tests_sources/database_interface.h:148 | 1 | 0 | 0 | ------ | ------ |
| updateHall( const Hall & ) declaration ./tests_schema/tests_sources/database_interface.h:162 | 1 | 0 | 0 | ------ | ------ |
| updateMovie( const Movie & ) declaration ./tests_schema/tests_sources/database_interface.h:155 | 1 | 0 | 0 | ------ | ------ |
| updateRefund( const Refund & ) declaration ./tests_schema/tests_sources/database_interface.h:183 | 1 | 0 | 0 | ------ | ------ |
| updateSession( const Session & ) declaration ./tests_schema/tests_sources/database_interface.h:169 | 1 | 0 | 0 | ------ | ------ |
| updateTicket( const Ticket & ) declaration ./tests_schema/tests_sources/database_interface.h:176 | 1 | 0 | 0 | ------ | ------ |
| ~DatabaseInterface( ) definition ./tests_schema/tests_sources/database_interface.h:140 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
SQLiteDatabase [CV] inheritance ./tests_schema/tests_sources/sqlite_database.h:12 |