2014
DOI: 10.1145/2714064.2660214
|View full text |Cite
|
Sign up to set email alerts
|

Determinacy in static analysis for jQuery

Abstract: Static analysis for JavaScript can potentially help programmers find errors early during development. Although much progress has been made on analysis techniques, a major obstacle is the prevalence of libraries, in particular jQuery, which apply programming patterns that have detrimental consequences on the analysis precision and performance. Previous work on dynamic determinacy analysis has demonstrated how information about program expressions that always resolve to a fixed value in some call context may lea… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

1
84
0

Year Published

2015
2015
2022
2022

Publication Types

Select...
5
2

Relationship

0
7

Authors

Journals

citations
Cited by 34 publications
(85 citation statements)
references
References 40 publications
1
84
0
Order By: Relevance
“…The authors argued the results might be helpful to improve static pointer analysis. Similarly, Andreasen and Møller presented a static approach to infer and exploit determinacy information [26]. Our study shows that although object property changes happen frequently in JavaScript websites, there are many properties whose Copyright [25,26]) can be used on real JavaScript applications to establish its effectiveness in practice.…”
Section: Related Workmentioning
confidence: 72%
“…The authors argued the results might be helpful to improve static pointer analysis. Similarly, Andreasen and Møller presented a static approach to infer and exploit determinacy information [26]. Our study shows that although object property changes happen frequently in JavaScript websites, there are many properties whose Copyright [25,26]) can be used on real JavaScript applications to establish its effectiveness in practice.…”
Section: Related Workmentioning
confidence: 72%
“…At the moment our translation from HTML5 applications to our tree-rewriting model is prototypical and does not incorporate many features that such a rich and complex language as JavaScript has, especially in the presence of libraries. Therefore, an important research direction is to develop a more robust translation, perhaps by building on top of existing JavaScript static analysers like WALA [50,54] and TAJS [9,28,27]. As Andreasen and Møller [9] describe, a static analysis of JavaScript in the presence of jQuery is presently a formidable task for existing static analysers for JavaScript.…”
Section: Discussionmentioning
confidence: 99%
“…The current state of the art is well surveyed by Andreasen and Møller [9], with the main tools in the field being WALA [50,54] and TAJS [9,28,27]. These tools (and others) provide traditional static analysis frameworks encompassing features such as points-to [26,54] and determinacy analysis [9,50], type inference [33,28] and security properties [23,24]. The modelling of the HTML DOM is generally treated as part of the heap abstraction [27,24] and thus the tree structure is not precisely tracked.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…Therefore, a CSS minification should not affect the rendering of any such tree by the browser. Although a document-dependent optimisation (that take these infinitely many trees into account) seems appropriate, this is far from realistic given the long-standing difficulty of performing sound static analysis for JavaScript especially in the presence of DOM-trees [58,65,2,36,35,30]. This would make an interesting long-term research direction with many more advances on static analysis for JavaScript.…”
Section: Evaluations Of Optimisationsmentioning
confidence: 99%