@@ -43,12 +43,7 @@ def __init__(self, config: Optional[Config] = None, project_path: Optional[Path]
4343 def analyze_project (self , project_path : str ) -> AnalysisResult :
4444 """Analyze entire project."""
4545 start_time = time .time ()
46- print (f"DEBUG analyze_project: input project_path={ project_path } " )
47- print (f"DEBUG analyze_project: self.project_path before={ self .project_path } " )
4846 project_path = self ._resolve_project_path (project_path )
49- print (f"DEBUG analyze_project: project_path after resolve={ project_path } " )
50- print (f"DEBUG analyze_project: self.project_path after={ self .project_path } " )
51- print (f"DEBUG analyze_project: file_filter.project_path={ self .file_filter .project_path } " )
5247 files = self ._collect_files (project_path )
5348
5449 if self .config .verbose :
@@ -67,9 +62,7 @@ def analyze_project(self, project_path: str) -> AnalysisResult:
6762 print (f" ... and { len (files_to_analyze ) - 10 } more" )
6863 print ()
6964
70- print (f"DEBUG analyze_project: files_to_analyze={ len (files_to_analyze )} " )
7165 fresh_results = self ._run_analysis (files_to_analyze )
72- print (f"DEBUG analyze_project: fresh_results={ len (fresh_results )} " )
7366 self ._store_to_persistent_cache (pcache , files_to_analyze , fresh_results )
7467
7568 merged = self ._merge_results (cached_results + fresh_results , str (project_path ))
@@ -214,10 +207,6 @@ def _collect_files(self, project_path: Path) -> List[Tuple[str, str]]:
214207 if not self .file_filter .should_process (file_str ):
215208 continue
216209
217- # DEBUG
218- if 'vendor' in file_str .lower ():
219- print (f"DEBUG _collect_files: COLLECTED vendor file: { file_str } " )
220-
221210 # Calculate module name from relative path
222211 rel = os .path .relpath (file_str , project_str )
223212 parts = rel .replace ('\\ ' , '/' ).split ('/' )
@@ -231,10 +220,6 @@ def _collect_files(self, project_path: Path) -> List[Tuple[str, str]]:
231220
232221 files .append ((file_str , module_name ))
233222
234- # DEBUG
235- vendor_count = len ([f for f , m in files if 'vendor' in f .lower ()])
236- print (f"DEBUG _collect_files: total={ len (files )} , vendor={ vendor_count } " )
237-
238223 return files
239224
240225 def _analyze_parallel (self , files : List [Tuple [str , str ]]) -> List [Dict ]:
0 commit comments