Analyzer::Specification::Har
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
STATIC_CONTENT_TYPES = {"application/javascript", "application/x-javascript", "font/otf", "font/ttf", "font/woff", "font/woff2", "image/avif", "image/bmp", "image/gif", "image/jpeg", "image/png", "image/svg+xml", "image/webp", "text/css"}
STATIC_EXTENSIONS = {".avif", ".bmp", ".css", ".cur", ".eot", ".gif", ".ico", ".jpeg", ".jpg", ".js", ".map", ".mjs", ".otf", ".png", ".svg", ".ttf", ".webmanifest", ".webp", ".woff", ".woff2"}
STATIC_PATH_SEGMENTS = {"assets", "asset", "static", "public", "dist", "build", "css", "js", "javascript", "images", "image", "img", "fonts", "font", "media", "favicon"}
Class methods
tech_name
SourceInstance methods
analyze
Sourcetech
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.