xfa_layer.js

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

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

View Scan Result

Script Analysis Summary

Summary: xfa_layer.js is a 8.4 KB external. Contains 4 functions with complexity score of 23. SHA-256: 446d232b569ad446...

external8.4 KBML Embeddings Available

Code Metrics

File Size
8.4 KB
Functions
4*
Complexity
23
AST Nodes
933
AST Depth
23
Function Calls
0
Normalized Size
4.7 KB

Code Analysis

API Usage

dom36 calls
crypto1 calls
network0 calls

Control Flow

Functions4
Loops6
Conditionals32

String Statistics

Total Strings51
Unique Strings48

Security Indicators

No suspicious patterns

Code Style

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