| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 11 | 2 |
| McCabe's Cyclomatic Number | MVG | 0 | 0 |
| Lines of Comment | COM | 6 | 1.200 |
| LOC/COM | L_C | ------ | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 1 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 36 | 7.200 |
| Information Flow measure ( visible ) | IF4v | 36 | 7.200 |
| Information Flow measure ( concrete ) | IF4c | 4 | 0.800 |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./core/repositories/genres_repository_interface.h:15 |
3 | 0 | 1 | ------ | ------ |
declaration
./ui/widgets/reports_widget.h:10 |
1 | 0 | 0 | ------ | ------ |
declaration
./ui/widgets/directories_management_widget.h:13 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| createGenre( const CreateGenreRequest & ) declaration ./core/repositories/genres_repository_interface.h:18 | 1 | 0 | 1 | ------ | ------ |
| deleteGenreById( qint32 ) declaration ./core/repositories/genres_repository_interface.h:31 | 1 | 0 | 1 | ------ | ------ |
| getAllGenres( QVector & ) declaration ./core/repositories/genres_repository_interface.h:25 | 1 | 0 | 1 | ------ | ------ |
| getGenreById( qint32, GenreDTO & ) declaration ./core/repositories/genres_repository_interface.h:21 | 2 | 0 | 1 | ------ | ------ |
| updateGenre( const UpdateGenreRequest & ) declaration ./core/repositories/genres_repository_interface.h:28 | 1 | 0 | 1 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
GenresRepository [CV] inheritance ./data/sql/genres_repository.h:9 |
CreateGenreRequest [V] pass by reference ./core/repositories/genres_repository_interface.h:18GenreDTO [V] pass by reference ./core/repositories/genres_repository_interface.h:22QVector [V] pass by reference ./core/repositories/genres_repository_interface.h:25RepositoryInterface [CV] inheritance ./core/repositories/genres_repository_interface.h:15UpdateGenreRequest [V] pass by reference ./core/repositories/genres_repository_interface.h:28qint32 [CV] pass by value ./core/repositories/genres_repository_interface.h:21pass by value ./core/repositories/genres_repository_interface.h:31 |