Skip to main content

Identifying Refactoring Opportunity in an Application: A Metric Based Approach

  • Conference paper
Proceedings of International Conference on Advances in Computing

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 174))

  • 1930 Accesses

Abstract

This paper defines a set of program restructuring operations (refactorings) that support the design, evolution and reuse of java application. Long parameter list and Shotgun surgery most complex refactorings are defined. Degree of coupling and cohesion is calculated to check whether these bad smell having low cohesive and high coupling or not. Removing these bad smells is one way of avoiding problems that arise due to the presence of bad smells. This makes the source code more maintainable and more comprehensible.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Binkley, D., Ceccato, M., Harman, M., Ricca, F., Tonella, P.: Automated Refactoring of Object Oriented code into Aspects. In: 21st IEEE International Conference on ICSM 2005, 1063-6773/05. IEEE (2005)

    Google Scholar 

  2. Garrido, A., Johnson, R.: Refactoring C with Conditional Compilation. In: 18th IEEE International Conference on ASE,1527-1366/03 (2003)

    Google Scholar 

  3. Maruyama, K., Tokoda, K.: Security-Aware Refactoring Alerting its Impact on Code Vulnerabilities, 1530-1362/08. IEEE (2008), doi:10.1109/APSEC.2008.57

    Google Scholar 

  4. Fowler, M., Beck, K., Brant, J., Opdyke, W., Roberts, D.: Refactoring: Improving the Design of Existing Code, 3rd edn. International Thomson Computer Press, ISBN: 978-1-4503-1098-7

    Google Scholar 

  5. Rieger, M., Ducasse, S.: Visual Detection of Duplicated Code, NFS-2000-46947.96 and BBW- 96.0015, 21975. IEEE, doi:10.1109/ASPEC, 2008. 27

    Google Scholar 

  6. Fenton, N.E., Pfleeger, S.L.: Software Metrics, A Rigorous & Practical Approach, 2nd edn. International Thomson Computer Press, ISBN: 978-0-470-59717-0

    Google Scholar 

  7. Pressman, R.S.: Software Engineering, A practitioner’s approach, 5th edn. McGRAW-Hill International Edition, ISBN:0-07-120251

    Google Scholar 

  8. Counsell, S., Mendes, E.: Size and Frequency of Class Change from a Refactoring Perspective, 0-7695-3002-8/07. IEEE (2007), doi:10.1109/SE.2007.13

    Google Scholar 

  9. Bryton, S., e Abreu, F.B., de e Tecnologia, F.C.: Modularity-Oriented Refactoring, 978-1-4244-2157-2/08. IEEE (2008)

    Google Scholar 

  10. Hayashi, S., Tsuda, Y., Saeki, M.: Detecting Occurrences of Refactoring with Heuristic Search, 1530-1362/08. IEEE, doi:10.1109/APSEC.2008.9

    Google Scholar 

  11. Tilevich, E., Smaragdakis, Y.: Binary Refactoring: Improving code behind the scenes. In: ICSE 2005, ACM, St. Louis, May 15-21 (2005) 1-581 13-963-2/05/0005

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Syamala Kumari Dora .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer India

About this paper

Cite this paper

Dora, S.K., Kanhar, D. (2013). Identifying Refactoring Opportunity in an Application: A Metric Based Approach. In: Kumar M., A., R., S., Kumar, T. (eds) Proceedings of International Conference on Advances in Computing. Advances in Intelligent Systems and Computing, vol 174. Springer, New Delhi. https://doi.org/10.1007/978-81-322-0740-5_14

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-0740-5_14

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-0739-9

  • Online ISBN: 978-81-322-0740-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics