#REQUEST.pageInfo.pagedescription#

Site Navigation

SOFT9023 - Source Code Analysis

banner1
Title:Source Code Analysis
Long Title:Source Code Analysis
Module Code:SOFT9023
 
Duration:1 Semester
Credits: 5
NFQ Level:Expert
Field of Study: Computer Software
Valid From: Semester 2 - 2019/20 ( January 2020 )
Module Delivered in 1 programme(s)
Module Coordinator: Sean McSweeney
Module Author: Farshad Ghassemi Toosi
Module Description: Software analysis is a set of techniques and processes that are utilised to provide an insight into the quality of a software system. In this module the learner will be introduced to modern methodologies for the analysis and evaluation of a software system's underlying codebase. The student will undertake a critical analysis of production based code in order to identify required functionalities and an optimal strategy for the modernisation of legacy systems.
Learning Outcomes
On successful completion of this module the learner will be able to:
LO1 Analyse and configure a software parser to identify entities in source code.
LO2 Create different types of relationships between the identified entities such as method calls, class inheritance and containment relationships.
LO3 Evaluate and implement different analytics techniques (e.g., invocation analysis, call graph visualization, clone detection) on the identified entities to detect code smell and interpret the results.
LO4 Evaluate feature location techniques when detecting functionalities in the software system.
LO5 Analyse different objectification techniques such as clustering algorithms, genetic algorithm and formal concept analysis to discover coherent functions in procedural software system for possible code migration.
Pre-requisite learning
Incompatible Modules
These are modules which have learning outcomes that are too similar to the learning outcomes of this module. You may not earn additional credit for the same learning and therefore you may not enrol in this module if you have successfully completed any modules in the incompatible list.
No incompatible modules listed
Co-requisite Modules
No Co-requisite modules listed
Requirements

This is prior learning (or a practical skill) that is mandatory before enrolment in this module is allowed. You may not enrol on this module if you have not acquired the learning specified in this section.

No requirements listed
Co-requisites
No Co Requisites listed
 

Module Content & Assessment

Indicative Content
Parser and Source code entity identification
Different Java parsers and their applications. The advantage of using a parser to discover software's components/entities. Overview of a list of different source code entity relationships such as method calls, class inheritance and variable usages.
Software analysis techniques
Overview of a range of source code analysis techniques such as invocation analysis (dead code analysis), inheritance analysis and call graph visualisation. Identifying a sequence of source code that are implemented more than once (code clones). An overview of a range of different code smells.
Feature Location
Feature location and an overview of a number of different FL techniques such as textual and static FL techniques and other related techniques such as query enhancement technique.
Objectification
Overview of different techniques such as formal concept analysis and genetic algorithm to discover coherent procedures for the task of source-code migration or modernising legacy code, (objectification).
Assessment Breakdown%
Course Work100.00%
Course Work
Assessment Type Assessment Description Outcome addressed % of total Assessment Date
Project Select and apply a parser for a Java subject system to discover the entities and their relationships to each other and implement analytic techniques such as invocation/dead-code and inheritance analysis, clone detection to detect code smell and investigate the quality of the system. This is an individual project and an example project would be to develop a Java software system based on a description provided by the lecturer. 1,2,3 50.0 Week 7
Project Select, implement and apply appropriate analytic techniques for a Java subject system such as feature location, objectification and call graph visualisation techniques to evaluate the software system for possible code migration. This is an individual project and an example project would be to develop a Java software system based on a description provided by the lecturer. 1,2,3,4,5 50.0 Sem End
No End of Module Formal Examination
Reassessment Requirement
Coursework Only
This module is reassessed solely on the basis of re-submitted coursework. There is no repeat written examination.

The institute reserves the right to alter the nature and timings of assessment

 

Module Workload

Workload: Full Time
Workload Type Workload Description Hours Frequency Average Weekly Learner Workload
Lecture Theory and practical aspects of the module. 2.0 Every Week 2.00
Lab Implementation of the practical aspects of the module. 2.0 Every Week 2.00
Independent Learning Independent Study. 3.0 Every Week 3.00
Total Hours 7.00
Total Weekly Learner Workload 7.00
Total Weekly Contact Hours 4.00
Workload: Part Time
Workload Type Workload Description Hours Frequency Average Weekly Learner Workload
Lecture Theory and practical aspects of the module. 2.0 Every Week 2.00
Lab Implementation of the practical aspects of the module. 2.0 Every Week 2.00
Independent Learning Independent Study. 3.0 Every Week 3.00
Total Hours 7.00
Total Weekly Learner Workload 7.00
Total Weekly Contact Hours 4.00
 

Module Resources

Recommended Book Resources
  • Robert C. Martin 2009, Clean Code : A Handbook of Agile Software Craftsmanship, Pearson Education (US) Upper Saddle River, United States [ISBN: 0132350882]
Supplementary Book Resources
  • Terence Parr 2013, The Definitive ANTLR 4 Reference, 2 Ed., The Pragmatic Programmers Raleigh, United States [ISBN: 1934356999]
Recommended Article/Paper Resources
  • Dit, Bogdan and Revelle, Meghan and Gethers, Malcom and Poshyvanyk, Denys 2013, Feature location in source code: a taxonomy and survey, Journal of software: Evolution and Process, 25 (1), 53
  • Farshad Ghassemi Toosi, Asanka Wasala, Goetz Botterweck and Jim Buckley 2018, Identification of potential classes in procedural code using a genetic algorithm, GECCO '18 Proceedings of the Genetic and Evolutionary Computation Conference Companion, July 2018, 314
Supplementary Article/Paper Resources
Other Resources
 

Module Delivered in

Programme Code Programme Semester Delivery
CR_KSADE_9 Master of Science in Software Architecture & Design 2 Elective

Cork Institute of Technology
Rossa Avenue, Bishopstown, Cork

Tel: 021-4326100     Fax: 021-4545343
Email: help@cit.edu.ie