svg.js

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

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

View Scan Result

Script Analysis Summary

Summary: svg.js is a 51.4 KB external. Contains 15 functions with complexity score of 158. SHA-256: 04bb391c5b865a50...

external51.4 KBML Embeddings Available

Code Metrics

File Size
51.4 KB
Functions
15*
Complexity
158
AST Nodes
7,702
AST Depth
23
Function Calls
0
Normalized Size
34.8 KB

Code Analysis

API Usage

dom276 calls
crypto5 calls
network1 calls

Control Flow

Functions12
Loops21
Conditionals69

String Statistics

Total Strings253
Unique Strings192
URLs Found2

Security Indicators

Encoding Functions

Code Style

Lines of Code1,741
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