Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_looks_minified
codeintel.indexer._looks_minified
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| _index_batch | indexer.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| indexer | indexer.py | same file |
codeintel.indexer._looks_minifiedbackend/app/codeintel/indexer.py, lines 116–120Open source
def _looks_minified(text: str) -> bool: if len(text) < 5000: return False lines = text.count("\n") + 1 return len(text) / lines > 300What the index recorded
- Signature
def _looks_minified(text: str) -> bool:- File
backend/app/codeintel/indexer.py- Lines
- 116–120
- Parser
- python-ast
- Git blob
e8fdfa7b5545e821f7649d68cfadd2aae85b89d0- Call sites
- 2 named, 0 resolved, 2 left unlinked
