| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 96 | 16 |
| McCabe's Cyclomatic Number | MVG | 20 | 3 |
| Lines of Comment | COM | 15 | 2.500 |
| LOC/COM | L_C | 6.400 | |
| MVG/COM | M_C | 1.333 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 2 | |
| 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 |
|---|---|---|---|---|---|
| connectToDatabase( const QString & ) definition ./core/controllers/application_controller.cpp:119 | 8 | 3 | 0 | ------ | ------ |
| ensureDatabaseExists( const QString & ) definition ./core/controllers/application_controller.cpp:50 | 43 | 5 | 12 | 3.583 | 0.417 |
| loadTranslations( const QString &, const QString &, const QString &, const QString & ) definition ./core/controllers/application_controller.cpp:129 | 19 | 5 | 0 | ------ | ****** |
| onLoginFailed( ) definition ./core/controllers/application_controller.cpp:108 | 4 | 0 | 0 | ------ | ------ |
| onLoginSuccessful( qint32, qint32 ) definition ./core/controllers/application_controller.cpp:113 | 5 | 0 | 0 | ------ | ------ |
| setupApplication( ) definition ./core/controllers/application_controller.cpp:21 | 17 | 7 | 3 | ------ | 2.333 |
| Clients | Suppliers |
|---|---|
|
QString [V] pass by reference ./core/controllers/application_controller.cpp:51pass by reference ./core/controllers/application_controller.cpp:119pass by reference ./core/controllers/application_controller.cpp:129pass by reference ./core/controllers/application_controller.cpp:130pass by reference ./core/controllers/application_controller.cpp:131pass by reference ./core/controllers/application_controller.cpp:132qint32 [CV] pass by value ./core/controllers/application_controller.cpp:113pass by value ./core/controllers/application_controller.cpp:114 |