api.js

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

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

View Scan Result

Script Analysis Summary

Summary: api.js is a 102.7 KB external. Contains 73 functions with complexity score of 267. SHA-256: e444a288eaed3571...

external102.7 KBML Embeddings Available

Code Metrics

File Size
102.7 KB
Functions
73*
Complexity
267
AST Nodes
8,807
AST Depth
29
Function Calls
0
Normalized Size
51.0 KB

Code Analysis

API Usage

dom316 calls
crypto4 calls
network3 calls

Control Flow

Functions66
Loops16
Conditionals173

String Statistics

Total Strings302
Unique Strings241

Security Indicators

Uses eval()Encoding Functions

Code Style

Lines of Code3,373
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