| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 90 | ****** |
| McCabe's Cyclomatic Number | MVG | 10 | ****** |
| Lines of Comment | COM | 27 | ******** |
| LOC/COM | L_C | 3.333 | |
| MVG/COM | M_C | 0.370 | |
| 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 | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
| Information Flow measure ( visible ) | IF4v | 0 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| 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 |
|---|---|---|---|---|---|
| Portal( Entity & ) definition ./source/Portal.cpp:26 | 6 | 0 | 1 | ------ | ------ |
| getDirection( ) definition ./source/Portal.cpp:38 | 3 | 1 | 0 | ------ | ------ |
| getScaleMult( ) definition ./source/Portal.cpp:136 | 15 | 4 | 3 | ------ | ------ |
| placeOnWall( const Vector3f &, const Vector3f &, const Vector3f & ) definition ./source/Portal.cpp:58 | 48 | 4 | 23 | 2.087 | ------ |
| placeWrapperPiece( const Vector3f &, const Quaternion &, const Vector3f &, const unique_ptr &, Side &, const Vector3f & ) definition ./source/Portal.cpp:42 | 15 | 1 | 0 | ------ | ------ |
| ~Portal( ) definition ./source/Portal.cpp:34 | 3 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Entity [V] pass by reference ./source/Portal.cpp:26Quaternion [V] pass by reference ./source/Portal.cpp:42Side [V] pass by reference ./source/Portal.cpp:43Vector3f [V] pass by reference ./source/Portal.cpp:42pass by reference ./source/Portal.cpp:42pass by reference ./source/Portal.cpp:43pass by reference ./source/Portal.cpp:58pass by reference ./source/Portal.cpp:58pass by reference ./source/Portal.cpp:58unique_ptr [V] pass by reference ./source/Portal.cpp:43 |