optional_content_config.js

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

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

View Scan Result

Script Analysis Summary

Summary: optional_content_config.js is a 5.0 KB external. Contains 16 functions with complexity score of 18. SHA-256: ea1b59064fde47a5...

external5.0 KBML Embeddings Available

Code Metrics

File Size
5.0 KB
Functions
16*
Complexity
18
AST Nodes
753
AST Depth
23
Function Calls
13
Normalized Size
3.3 KB

Code Analysis

API Usage

dom23 calls
crypto0 calls
network0 calls

Control Flow

Functions0
Loops9
Conditionals29

String Statistics

Total Strings15
Unique Strings14

Security Indicators

No suspicious patterns

Code Style

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