Skip to content

Commit 5fae48d

Browse files
committed
Automated code structure analysis results (CI)
1 parent e37e578 commit 5fae48d

File tree

168 files changed

+8460
-8580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+8460
-8580
lines changed

analysis-results/react-router/latest/anomaly-detection/anomaly_detection_report.md

Lines changed: 8 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Anomaly Detection Report"
3-
generated: "2025-11-03"
3+
generated: "2025-11-09"
44
model_version: ""
55
dataset: "react-router-6.30.1"
66
authors: ["JohT/code-graph-analysis-pipeline"]
@@ -28,82 +28,25 @@ The goal is to detect potential **software quality, design, and architecture iss
2828

2929
| Analyzed Units | Anomalies | Authorities | Bottlenecks | Bridges | Hubs | Outliers |
3030
| --- | --- | --- | --- | --- | --- | --- |
31-
| 6 | 0 | 4 | 4 | 0 | 1 | 0 |
31+
| 6 | 0 | 0 | 0 | 0 | 0 | 0 |
3232

3333
### 1.2 Overview of Analyzed Structures
3434

3535
| Abstraction Level | Units | Anomalies | Authorities | Bottlenecks | Bridges | Hubs | Outliers |
3636
| --- | --- | --- | --- | --- | --- | --- | --- |
37-
| TS,Local,Module | 6 | 0 | 4 | 4 | 0 | 1 | 0 |
38-
39-
## 2. Deep Dives by Abstraction Level
40-
41-
Each abstraction level includes anomaly statistics, SHAP feature importance, archetype distribution, and example anomalies.
42-
43-
### 2.1 Typescript Module
44-
45-
#### Anomaly Results
46-
47-
##### Total anomalies
48-
49-
| Anomalies | Authorities | Bottlenecks | Bridges | Hubs | Outliers |
50-
| --- | --- | --- | --- | --- | --- |
51-
| 0 | 4 | 4 | 0 | 1 | 0 |
52-
53-
##### Top global contributing features (via SHAP)
54-
55-
⚠️ _No anomaly detection and SHAP data available for this level (model skipped or insufficient samples)._
56-
57-
#### Archetype Distribution
58-
59-
| Archetype | Count | Max. Score | Model Status | Examples |
60-
| --- | --- | --- | --- | --- |
61-
| Authority | 4 | null | Undetermined | /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/index.tsx, /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx, /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native/index.tsx |
62-
| Bottleneck | 4 | null | Undetermined | /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/index.tsx, /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx, /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native/index.tsx |
63-
| Hub | 1 | null | Undetermined | /home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/index.tsx |
64-
65-
#### Top anomalies with their local contributing features (via SHAP)
66-
67-
⚠️ _No anomaly detection and SHAP data available for this level (model skipped or insufficient samples)._
68-
69-
#### Visualizations
70-
71-
See [Plot Interpretation Guide](#3-plot-interpretation-guide) on how to read the plots in detail.
72-
73-
37+
| TS,Local,Module | 6 | 0 | 0 | 0 | 0 | 0 | 0 |
7438

39+
### 1.3 Overview Charts
7540

76-
77-
78-
79-
80-
81-
⚠️ _No anomaly detection and SHAP data available for this level (model skipped or insufficient samples)._
82-
83-
#### Graph Visualizations
84-
85-
##### TopHub Graph Visualizations
86-
87-
![TopHub 1](./Typescript_Module/GraphVisualizations/TopHub1.svg)
41+
#### Treemap Charts
8842

8943
---
9044

91-
##### TopBottleneck Graph Visualizations
92-
93-
![TopBottleneck 1](./Typescript_Module/GraphVisualizations/TopBottleneck1.svg)
94-
95-
![TopBottleneck 2](./Typescript_Module/GraphVisualizations/TopBottleneck2.svg)
96-
97-
---
98-
99-
##### TopAuthority Graph Visualizations
100-
101-
![TopAuthority 1](./Typescript_Module/GraphVisualizations/TopAuthority1.svg)
102-
103-
![TopAuthority 2](./Typescript_Module/GraphVisualizations/TopAuthority2.svg)
45+
## 2. Deep Dives by Abstraction Level
10446

105-
--
47+
Each abstraction level includes anomaly statistics, SHAP feature importance, archetype distribution, and example anomalies.
10648

49+
⚠️ _No dependent code units found to analyze._
10750

10851
## 3. Plot Interpretation Guide
10952

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"externalModuleName","numberOfExternalCallerModules","numberOfExternalCallerElements","numberOfExternalDeclarationCalls","numberOfExternalDeclarationCallsWeighted","allModules","allInternalElements","exampleStories","Source Cypher File: External_Dependencies/External_module_usage_overall_for_Typescript.cypher"
2-
"@remix-run/router",4,37,195,288,4,89,"<useSubmit> of module <react-router-dom> imports <HTMLFormMethod> from external module <router>,<useSubmit> of module <react-router-dom> imports <UNSAFE_NavigationContext> from external module <router>,<useSubmit> of module <react-router-dom> imports <Router.fetch> from external module <router>,<useSubmit> of module <react-router-dom> imports <FormEncType> from external module <router>",""
3-
"@types/react",4,34,97,196,4,89,"<useSubmit> of module <react-router-dom> imports <React.useCallback> from external module <react>,<useSubmit> of module <react-router-dom> imports <React.useContext> from external module <react>,<Link> of module <react-router-dom> imports <React.forwardRef> from external module <react>,<Link> of module <react-router-dom> imports <React.ForwardRefExoticComponent> from external module <react>",""
4-
"@types/react-native",1,5,14,21,4,89,"<useHardwareBackButton> of module <react-router-native> imports <BackHandlerStatic.addEventListener> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandlerStatic.removeEventListener> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandler> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandlerStatic.addEventListener> from external module <react-native>",""
2+
"@remix-run/router",4,37,195,264,4,89,"<PatchRoutesOnNavigationFunction> of module <react-router> imports <AgnosticPatchRoutesOnNavigationFunctionArgs> from external module <router>,<mapRouteProperties> of module <react-router> imports <UNSAFE_warning> from external module <router>,<createMemoryRouter> of module <react-router> imports <createRouter> from external module <router>,<createMemoryRouter> of module <react-router> imports <DataStrategyFunction> from external module <router>",""
3+
"@types/react",4,34,97,152,4,89,"<mapRouteProperties> of module <react-router> imports <React.createElement> from external module <react>,<useHardwareBackButton> of module <react-router-native> imports <React.useEffect> from external module <react>,<useHardwareBackButton> of module <react-router-native> imports <React.useEffect> from external module <react>,<LinkProps> of module <react-router-native> imports <React.ReactNode> from external module <react>",""
4+
"@types/react-native",1,5,14,21,4,89,"<useLinkPressHandler> of module <react-router-native> imports <GestureResponderEvent> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandlerStatic.removeEventListener> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandlerStatic.addEventListener> from external module <react-native>,<useHardwareBackButton> of module <react-router-native> imports <BackHandler> from external module <react-native>",""
55
"@ungap/url-search-params",1,2,2,4,4,89,"<createSearchParams> of module <react-router-native> imports <url-search-params> from external module <url-search-params>,<useSearchParams> of module <react-router-native> imports <url-search-params> from external module <url-search-params>",""
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"internalModuleName","leidenCommunityId","internalModuleElementsCount","numberOfExternalModules","minNumberOfInternalModules","maxNumberOfInternalModules","medNumberOfInternalModules","avgNumberOfInternalModules","stdNumberOfInternalModules","minNumberOfInternalElements","maxNumberOfInternalElements","medNumberOfInternalElements","avgNumberOfInternalElements","stdNumberOfInternalElements","minNumberOfInternalElementsPercentage","maxNumberOfInternalElementsPercentage","medNumberOfInternalElementsPercentage","avgNumberOfInternalElementsPercentage","stdNumberOfInternalElementsPercentage","top10ExternalPackageNamesByUsageDescending","internalModulesExamples","internalElementsExamples","Source Cypher File: External_Dependencies/External_module_usage_per_internal_module_aggregated_for_Typescript.cypher"
2-
"react-router",2,7,2,1,1,1,1,0,1,3,2,2,1.4142135623730951,14.285714285714286,42.85714285714286,28.571428571428573,28.571428571428573,20.203050891044217,"@remix-run/router,@types/react","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router/index.ts","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".PatchRoutesOnNavigationFunction,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".createMemoryRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".mapRouteProperties",""
3-
"react-router-dom",0,63,2,1,1,1,1,0,23,24,23.5,23.5,0.7071067811865476,36.507936507936506,38.095238095238095,37.301587301587304,37.301587301587304,1.1223917161691215,"@remix-run/router,@types/react","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/index.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useSubmit,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".Link,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".ScrollRestorationProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".HashRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useScrollRestoration,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".createBrowserRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".usePrompt,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useFormAction,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".HistoryRouter",""
4-
"react-router-native",1,17,4,1,1,1,1,0,2,6,5.5,4.75,1.8929694486000912,11.764705882352942,35.294117647058826,32.352941176470594,27.94117647058824,11.135114403529949,"@types/react,@ungap/url-search-params,@remix-run/router,@types/react-native","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native/index.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".NativeRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useHardwareBackButton,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".Link,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useDeepLinking,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".LinkProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useSearchParams",""
5-
"server",0,6,2,1,1,1,1,0,3,5,4,4,1.4142135623730951,50,83.33333333333334,66.66666666666667,66.66666666666667,23.570226039551592,"@remix-run/router,@types/react","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".createStaticRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouterProviderProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".createStaticHandler,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouterProvider",""
2+
"react-router",,7,2,1,1,1,1,0,1,3,2,2,1.4142135623730951,14.285714285714286,42.85714285714286,28.571428571428573,28.571428571428573,20.203050891044217,"@remix-run/router,@types/react","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router/index.ts","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".PatchRoutesOnNavigationFunction,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".mapRouteProperties,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router"".createMemoryRouter",""
3+
"react-router-dom",,63,2,1,1,1,1,0,23,24,23.5,23.5,0.7071067811865476,36.507936507936506,38.095238095238095,37.301587301587304,37.301587301587304,1.1223917161691266,"@types/react,@remix-run/router","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/index.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".BrowserRouterProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".HashRouterProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".NavLinkProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".FetcherWithComponents,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useLinkClickHandler,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".HistoryRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useFormAction,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useSubmit,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom"".useBeforeUnload",""
4+
"react-router-native",,17,4,1,1,1,1,0,2,6,5.5,4.75,1.8929694486000912,11.764705882352942,35.294117647058826,32.352941176470594,27.94117647058824,11.13511440352995,"@remix-run/router,@types/react-native,@types/react,@ungap/url-search-params","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native/index.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useLinkPressHandler,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".NativeRouterProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".LinkProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".SetURLSearchParams,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useDeepLinking,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-native"".useSearchParams",""
5+
"server",,6,2,1,1,1,1,0,3,5,4,4,1.4142135623730951,50,83.33333333333334,66.66666666666667,66.66666666666667,23.570226039551592,"@remix-run/router,@types/react","/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx","""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouterProviderProps,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouterProvider,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".createStaticHandler,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".StaticRouter,""/home/runner/work/code-graph-analysis-examples/code-graph-analysis-examples/temp/react-router-6.30.1/source/react-router-6.30.1/packages/react-router-dom/server.tsx"".createStaticRouter",""

0 commit comments

Comments
 (0)