| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 79 | 16 |
| McCabe's Cyclomatic Number | MVG | 19 | 4 |
| Lines of Comment | COM | 2 | 0.400 |
| LOC/COM | L_C | 39.500 | |
| MVG/COM | M_C | 9.500 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 3 | |
| 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 |
|---|---|---|---|---|---|
| No module extents have been identified for this module | |||||
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| connectToDefaultDatabase( const QString & ) definition ./core/db/database_manager.cpp:67 | 18 | 6 | 1 | ------ | 6.000 |
| createDefaultDatabaseIfMissing( const QString & ) definition ./core/db/database_manager.cpp:20 | 35 | 8 | 1 | 35.000 | 8.000 |
| disconnectDefaultDatabase( ) definition ./core/db/database_manager.cpp:92 | 7 | 1 | 0 | ------ | ------ |
| executeSqlFiles( const QStringList &, QSqlDatabase & ) definition ./core/db/database_manager.cpp:100 | 12 | 4 | 0 | ------ | ------ |
| ~DatabaseManager( ) definition ./core/db/database_manager.cpp:9 | 7 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
QSqlDatabase [V] pass by reference ./core/db/database_manager.cpp:101QString [V] pass by reference ./core/db/database_manager.cpp:21pass by reference ./core/db/database_manager.cpp:68QStringList [V] pass by reference ./core/db/database_manager.cpp:100 |