Paper Unlock

Authors: Shinpei Hayashi ; Fumiki Minami and Motoshi Saeki

Affiliation: Tokyo Institute of Technology, Japan

ISBN: 978-989-758-262-2

ISSN: 2184-2833

Keyword(s): Architecture Pattern, Code Smell, Program Dependence Graph.

Related Ontology Subjects/Areas/Topics: Agile Methodologies ; Enterprise Information Systems ; Information Systems Analysis and Specification ; Software Engineering ; Software Engineering Methods and Techniques ; Software Project Management ; Software Testing and Maintenance

Abstract: Utilizing software architecture patterns is important for reducing maintenance costs. However, maintaining code according to the constraints defined by the architecture patterns is time-consuming work. As described herein, we propose a technique to detect code fragments that are incompliant to the architecture as fine-grained architectural violations. For this technique, the dependence graph among code fragments extracted from the source code and the inference rules according to the architecture are the inputs. A set of candidate components to which a code fragment can be affiliated is attached to each node of the graph and is updated step-by-step. The inference rules express the components’ responsibilities and dependency constraints. They remove candidate components of each node that do not satisfy the constraints from the current estimated state of the surrounding code fragment. If the current result does not include the current component, then it is detected as a violatio n. By defining inference rules for MVC2 architecture and applying the technique to web applications using Play Framework, we obtained accurate detection results. (More)

PDF ImageFull Text


Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Hayashi, S.; Minami, F. and Saeki, M. (2017). Inference-based Detection of Architectural Violations in MVC2.In Proceedings of the 12th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-262-2, ISSN 2184-2833, pages 394-401. DOI: 10.5220/0006465103940401

author={Shinpei Hayashi. and Fumiki Minami. and Motoshi Saeki.},
title={Inference-based Detection of Architectural Violations in MVC2},
booktitle={Proceedings of the 12th International Conference on Software Technologies - Volume 1: ICSOFT,},


JO - Proceedings of the 12th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Inference-based Detection of Architectural Violations in MVC2
SN - 978-989-758-262-2
AU - Hayashi, S.
AU - Minami, F.
AU - Saeki, M.
PY - 2017
SP - 394
EP - 401
DO - 10.5220/0006465103940401

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.