Skip to content

Commit a87fc03

Browse files
committed
Print warning on missing dependency data in anomaly detection summary
1 parent c4a9143 commit a87fc03

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

domains/anomaly-detection/summary/anomalyDetectionSummary.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ anomaly_detection_finalize_report() {
178178
source "${SCRIPTS_DIR}/cleanupAfterReportGeneration.sh" "${report_include_directory}"
179179

180180
# Collect static Markdown includes (after cleanup to not remove one-liner)
181+
cp -f "${ANOMALY_DETECTION_SUMMARY_DIR}/report_no_dependency_data.template.md" "${report_include_directory}/report_no_dependency_data.md"
181182
cp -f "${ANOMALY_DETECTION_SUMMARY_DIR}/report_no_anomaly_detection_treemaps.template.md" "${report_include_directory}/report_no_anomaly_detection_treemaps.md"
182183

183184
# Assemble final report by applying includes to the main template

domains/anomaly-detection/summary/report.template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ The goal is to detect potential **software quality, design, and architecture iss
2828

2929
### 1.3 Overview Charts
3030

31-
<!-- include:TreemapChartsReference.md|report_no_anomaly_detection_treemaps.md> -->
31+
<!-- include:TreemapChartsReference.md|report_no_anomaly_detection_treemaps.md -->
3232

3333
## 2. Deep Dives by Abstraction Level
3434

3535
Each abstraction level includes anomaly statistics, SHAP feature importance, archetype distribution, and example anomalies.
3636

37-
<!-- include:AnomalyDetectionDeepDive.md -->
37+
<!-- include:AnomalyDetectionDeepDive.md|report_no_dependency_data.md -->
3838

3939
## 3. Plot Interpretation Guide
4040

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
⚠️ _No dependent code units found to analyze._

0 commit comments

Comments
 (0)