NexTech 2021 Congress
October 03, 2021 to October 07, 2021 - Barcelona, Spain

  • UBICOMM 2021, The Fifteenth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies
  • ADVCOMP 2021, The Fifteenth International Conference on Advanced Engineering Computing and Applications in Sciences
  • SEMAPRO 2021, The Fifteenth International Conference on Advances in Semantic Processing
  • AMBIENT 2021, The Eleventh International Conference on Ambient Computing, Applications, Services and Technologies
  • EMERGING 2021, The Thirteenth International Conference on Emerging Networks and Systems Intelligence
  • DATA ANALYTICS 2021, The Tenth International Conference on Data Analytics
  • GLOBAL HEALTH 2021, The Tenth International Conference on Global Health Challenges
  • CYBER 2021, The Sixth International Conference on Cyber-Technologies and Cyber-Systems

SoftNet 2021 Congress
October 03, 2021 to October 07, 2021 - Barcelona, Spain

  • ICSEA 2021, The Sixteenth International Conference on Software Engineering Advances
  • ICSNC 2021, The Sixteenth International Conference on Systems and Networks Communications
  • CENTRIC 2021, The Fourteenth International Conference on Advances in Human-oriented and Personalized Mechanisms, Technologies, and Services
  • VALID 2021, The Thirteenth International Conference on Advances in System Testing and Validation Lifecycle
  • SIMUL 2021, The Thirteenth International Conference on Advances in System Simulation
  • SOTICS 2021, The Eleventh International Conference on Social Media Technologies, Communication, and Informatics
  • INNOV 2021, The Tenth International Conference on Communications, Computation, Networks and Technologies
  • HEALTHINFO 2021, The Sixth International Conference on Informatics and Assistive Technologies for Health-Care, Medical Support and Wellbeing

NetWare 2021 Congress
November 14, 2021 to November 18, 2021 - Athens, Greece

  • SENSORCOMM 2021, The Fifteenth International Conference on Sensor Technologies and Applications
  • SENSORDEVICES 2021, The Twelfth International Conference on Sensor Device Technologies and Applications
  • SECURWARE 2021, The Fifteenth International Conference on Emerging Security Information, Systems and Technologies
  • AFIN 2021, The Thirteenth International Conference on Advances in Future Internet
  • CENICS 2021, The Fourteenth International Conference on Advances in Circuits, Electronics and Micro-electronics
  • ICQNM 2021, The Fifteenth International Conference on Quantum, Nano/Bio, and Micro Technologies
  • FASSI 2021, The Seventh International Conference on Fundamentals and Advances in Software Systems Integration
  • GREEN 2021, The Sixth International Conference on Green Communications, Computing and Technologies

TrendNews 2021 Congress
November 14, 2021 to November 18, 2021 - Athens, Greece

  • CORETA 2021, Advances on Core Technologies and Applications
  • DIGITAL 2021, Advances on Societal Digital Transformation

 


ThinkMind // ICSEA 2017, The Twelfth International Conference on Software Engineering Advances // View article icsea_2017_8_30_10115


FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC Applications

Authors:
Md Rakib Hossain Misu
Kazi Sakib

Keywords: JavaScript; MVC; Inconsistency; Static Analysis.

Abstract:
AngularJS is prone to inconsistency issues because of the abstract interactions between Document Object Model (DOM) and JavaScript. It creates hidden bugs, and leads the application to failure. It becomes acute when developers use custom AngularJS directives for increasing code reusability and maintainability. To resolve the inconsistency issues, a static code analysis based approach FANTASIA is proposed. FANTASIA first extracts Abstract Syntax Tree (AST) and DOM from the AngularJS application’s MVC modules including its custom directives. By traversing AST and DOM, next it finds the defined identifiers along with the associated data types of those identifiers. Finally, the extracted identifiers and data types are mapped and compared using a string matching algorithm to determine the consistency across the application. To evaluate FANTASIA, 25 open source AngularJS applications are used where 15 applications contain only MVC modules and rest of the applications contain both MVC modules and custom directives. The experimental result shows that FANTASIA produces overall 97.63% recall and 100% precision to correctly detect inconsistency in those 15 applications similar to existing approach AUREBESH. Interestingly, when custom directives are present, FANTASIA outperforms with a significant increase of overall 96.66% recall and 100% precision comparing to 76.97% recall and 100% precision of AUREBESH.

Pages: 178 to 184

Copyright: Copyright (c) IARIA, 2017

Publication date: October 8, 2017

Published in: conference

ISSN: 2308-4235

ISBN: 978-1-61208-590-6

Location: Athens, Greece

Dates: from October 8, 2017 to October 12, 2017

SERVICES CONTACT
2010 - 2017 © ThinkMind. All rights reserved.
Read Terms of Service and Privacy Policy.