scripting_utils.js

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

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

View Scan Result

Script Analysis Summary

Summary: scripting_utils.js is a 2.1 KB external. Contains 21 functions with complexity score of 5. SHA-256: aaab7dcde0e0313c...

external2.1 KBML Embeddings Available

Code Metrics

File Size
2.1 KB
Functions
21*
Complexity
5
AST Nodes
290
AST Depth
15
Function Calls
12
Normalized Size
1.0 KB

Code Analysis

API Usage

dom2 calls
crypto0 calls
network0 calls

Control Flow

Functions1
Loops0
Conditionals0

String Statistics

Total Strings10
Unique Strings7

Security Indicators

No suspicious patterns

Code Style

Lines of Code86
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
library
Is Module
Yes