message_handler.js

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

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

View Scan Result

Script Analysis Summary

Summary: message_handler.js is a 16.1 KB external. Contains 38 functions with complexity score of 40. SHA-256: 7d166106cac05c91...

external16.1 KBML Embeddings Available

Code Metrics

File Size
16.1 KB
Functions
38*
Complexity
40
AST Nodes
1,768
AST Depth
23
Function Calls
62
Normalized Size
10.1 KB

Code Analysis

API Usage

dom44 calls
crypto0 calls
network15 calls

Control Flow

Functions5
Loops0
Conditionals27

String Statistics

Total Strings32
Unique Strings27

Security Indicators

No suspicious patterns

Code Style

Lines of Code557
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