Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications 2012
DOI: 10.1145/2384616.2384633
|View full text |Cite
|
Sign up to set email alerts
|

An abstract interpretation framework for refactoring with application to extract methods with contracts

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
9
0

Year Published

2012
2012
2024
2024

Publication Types

Select...
4
2
2

Relationship

2
6

Authors

Journals

citations
Cited by 16 publications
(9 citation statements)
references
References 46 publications
0
9
0
Order By: Relevance
“…As future work, we think that proving completeness of static analyses could be also beneficial to: (i) automatically apply abstract code repairs [18]-if the analysis of the original and the repaired programs can both be proven complete, then the repair is very likely to have fixed a concrete bug; (ii) validate refactorings [8]-among different program refactorings one may only keep the one(s) for which she can prove it preserves the completeness of the analysis; (iii) provide a better understanding of why over-approximating analyses of arrays [7] works well in practice even without performing under-approximations, argued as necessary in [15].…”
Section: Discussionmentioning
confidence: 99%
See 2 more Smart Citations
“…As future work, we think that proving completeness of static analyses could be also beneficial to: (i) automatically apply abstract code repairs [18]-if the analysis of the original and the repaired programs can both be proven complete, then the repair is very likely to have fixed a concrete bug; (ii) validate refactorings [8]-among different program refactorings one may only keep the one(s) for which she can prove it preserves the completeness of the analysis; (iii) provide a better understanding of why over-approximating analyses of arrays [7] works well in practice even without performing under-approximations, argued as necessary in [15].…”
Section: Discussionmentioning
confidence: 99%
“…Also, one could reason as follows: the assignment x := 9 with a constant is precise with intervals; both Boolean guards x > 0 and x ≤ 0 can be exactly represented with intervals, resp. by [1, +∞) and (−∞, 0]; the decrement operation x := x − 1 on intervals is precise, e.g., [3,9] − [1, 1] = [2,8]. Therefore, one may conclude that this is why the analysis of Dec with intervals is complete.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…A proof-preserving approach for the Extract Method refactoring was presented by Cousot et al [3]. It can be used if the old and the extracted method have to be verified.…”
Section: Related Workmentioning
confidence: 99%
“…We use function calls to model unknowns from the environment and imprecision in the static analysis. To simplify the theoretical development, we assume that function calls are (i) black boxes -we cannot inspect their bodies, so they can return any value, and (ii) side effect-free, otherwise do as in [13]. If s ∈ Σ is the state corresponding to a function call (that is, πs(s) = ret = f(arg 0 .…”
Section: Small-step Operational Semanticsmentioning
confidence: 99%