util.js

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

Analyzed: 3/8/2026, 2:27:56 PM

View Scan Result

Script Analysis Summary

Summary: util.js is a 27.9 KB external. Contains 77 functions with complexity score of 72. SHA-256: bdac4d585f9eef4c...

external27.9 KBML Embeddings Available

Code Metrics

File Size
27.9 KB
Functions
77*
Complexity
72
AST Nodes
4,235
AST Depth
18
Function Calls
89
Normalized Size
19.6 KB

Code Analysis

API Usage

dom19 calls
crypto13 calls
network4 calls

Control Flow

Functions35
Loops10
Conditionals44

String Statistics

Total Strings157
Unique Strings134

Security Indicators

Encoding Functions

Code Style

Lines of Code1,169
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