base_viewer.js

https://swisscovery.slsp.ch/discovery/lib/bower_components/pdfjs-viewer/newPdfjs/web/base_viewer.js

Analyzed: 3/8/2026, 2:28:19 PM

View Scan Result

Script Analysis Summary

Summary: base_viewer.js is a 64.2 KB external. Contains 15 functions with complexity score of 176. SHA-256: ac4c0ba1750ef734...

external64.2 KBML Embeddings Available

Code Metrics

File Size
64.2 KB
Functions
15*
Complexity
176
AST Nodes
6,908
AST Depth
30
Function Calls
0
Normalized Size
37.7 KB

Code Analysis

API Usage

dom208 calls
crypto0 calls
network3 calls

Control Flow

Functions15
Loops24
Conditionals173

String Statistics

Total Strings143
Unique Strings117

Security Indicators

Uses eval()

Code Style

Lines of Code2,142
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