Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/analysis/stellar/hotspots/hotspots-analyzer.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { HotspotScore } from './types';

export class HotspotsAnalyzer {
analyze(): HotspotScore[] {
// TODO: Score risky functions and detect security-sensitive code
return [];
}
}
2 changes: 2 additions & 0 deletions src/analysis/stellar/hotspots/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './types';
export * from './hotspots-analyzer';
5 changes: 5 additions & 0 deletions src/analysis/stellar/hotspots/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface HotspotScore {
functionName: string;
score: number;
riskyPatterns: string[];
}
Loading