fetch_stream.js

https://swisscovery.slsp.ch/discovery/lib/bower_components/pdfjs-viewer/newPdfjs/src/display/fetch_stream.js

Analyzed: 3/8/2026, 2:29:44 PM

View Scan Result

Script Analysis Summary

Summary: fetch_stream.js is a 7.4 KB external. Contains 5 functions with complexity score of 22. SHA-256: c4dd79818402aa3c...

external7.4 KBML Embeddings Available

Code Metrics

File Size
7.4 KB
Functions
5*
Complexity
22
AST Nodes
1,027
AST Depth
21
Function Calls
0
Normalized Size
5.6 KB

Code Analysis

API Usage

dom28 calls
crypto0 calls
network2 calls

Control Flow

Functions5
Loops2
Conditionals18

String Statistics

Total Strings19
Unique Strings16

Security Indicators

No suspicious patterns

Code Style

Lines of Code284
MinifiedNo

Obfuscation Analysis

No obfuscation data available

Library Detection

No known library detected

Bundle Analysis

Not a bundled file

Copyright & License

License
the Apache License, Version 2.0 (the "License");, is distributed on an "AS IS" BASIS, for the specific language governing permissions and, Apache
Version (from header)
2.0
Copyright Notice
Mozilla Foundation

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
module
Is Module
Yes