canvas.js

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

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

View Scan Result

Script Analysis Summary

Summary: canvas.js is a 88.1 KB external. Contains 43 functions with complexity score of 274. SHA-256: f87a4ba7e6f8643d...

external88.1 KBML Embeddings Available

Code Metrics

File Size
88.1 KB
Functions
43*
Complexity
274
AST Nodes
13,223
AST Depth
22
Function Calls
0
Normalized Size
60.6 KB

Code Analysis

API Usage

dom261 calls
crypto17 calls
network14 calls

Control Flow

Functions36
Loops48
Conditionals188

String Statistics

Total Strings136
Unique Strings120

Security Indicators

Encoding Functions

Code Style

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