Skip to content

Commit 446e8b2

Browse files
committed
add dependency analysis in report
1 parent c063bef commit 446e8b2

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

final-report-88.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,36 @@ The project contains a total of **1,400** source files. The majority of these ar
3737
### 3. Average Cyclomatic Complexity Number (CCN)
3838
The project maintains a healthy average cyclomatic complexity of **3.4**, which is well within the recommended threshold (typically < 10). This metric measures the number of linearly independent paths through the code, essentially counting the number of different routes the program execution can take.
3939

40-
### 4. Other Metrics
40+
### 4. Dependency Analysis
41+
42+
Our project's dependency structure reveals a well-organized architecture with clear separation between core systems. Our main functionality relies on the following **12** core dependencies.
43+
44+
- **Core Unity Dependencies**
45+
The project properly leverages Unity's foundation frameworks:
46+
- **UnityEngine**: Core engine functionality used throughout the project
47+
- **MonoBehaviour**: Base class for Unity scripting, appropriately extended in our components
48+
- **UnityEngine.UI**: Used for interface elements and HUD components
49+
- **UnityEngine.SceneManagement**: Handles scene transitions and level loading operations
50+
51+
- **System Dependencies**
52+
Standard .NET libraries utilized for fundamental operations:
53+
- **System.Collections**: Used for core collection data structures
54+
- **System.Collections.Generic**: Provides type-safe collections throughout the codebase
55+
- **System.Text**: Utilized for string manipulation and text processing
56+
57+
- **Custom Component Dependencies**
58+
Our project's custom architecture shows sensible organization around key game systems:
59+
- **VehicleBehaviour**: Core vehicle physics and handling components
60+
- **GameEffectUIManager**: Centralized management of UI effects and transitions
61+
- **AICarPathFollower**: AI movement and navigation system for computer-controlled vehicles
62+
63+
- **Testing Dependencies**
64+
The project maintains a solid testing infrastructure using:
65+
- **NUnit.Framework**: Primary testing framework for unit tests
66+
- **UnityEngine.TestTools**: Unity-specific testing utilities for play mode tests
67+
68+
69+
### 5. Other Metrics
4170
Additional code quality metrics show positive indicators for the project:
4271
- **Project Scale**: 4,777 total functions with an average of 87.3 tokens per function
4372
- **Function Size**: Average of 13.9 lines per function, indicating well-modularized code

0 commit comments

Comments
 (0)