Software Code Refactoring Task
A Software Code Refactoring Task is a software maintenance task whose input is software code.
- Context:
- It can aim to improve a Software Design Quality Measure, such as Code Readability, and System Maintainability.
- It can range from being a Manual Software Code Refactoring Task to being an Automated Software Code Refactoring Task.
- …
- Example(s):
- ...
- Counter-Example(s):
- See: Software System Requirement, Software Architecture, System Extensibility, Software Development, Database Refactoring Task.
References
2023
- (Wikipedia, 2023) ⇒ https://en.wikipedia.org/wiki/Code_refactoring Retrieved:2023-7-10.
- In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its functionality. Potential advantages of refactoring may include improved code readability and reduced complexity; these can improve the source codes maintainability and create a simpler, cleaner, or more expressive internal architecture or object model to improve extensibility. Another potential goal for refactoring is improved performance; software engineers face an ongoing challenge to write programs that perform faster or use less memory.
Typically, refactoring applies a series of standardized basic micro-refactorings, each of which is (usually) a tiny change in a computer program's source code that either preserves the behavior of the software, or at least does not modify its conformance to functional requirements. Many development environments provide automated support for performing the mechanical aspects of these basic refactorings. If done well, code refactoring may help software developers discover and fix hidden or dormant bugs or vulnerabilities in the system by simplifying the underlying logic and eliminating unnecessary levels of complexity. If done poorly, it may fail the requirement that external functionality not be changed, and may thus introduce new bugs.
- In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its functionality. Potential advantages of refactoring may include improved code readability and reduced complexity; these can improve the source codes maintainability and create a simpler, cleaner, or more expressive internal architecture or object model to improve extensibility. Another potential goal for refactoring is improved performance; software engineers face an ongoing challenge to write programs that perform faster or use less memory.
2014
- (Wikipedia, 2014) ⇒ http://en.wikipedia.org/wiki/code_refactoring Retrieved:2014-6-8.
- Code refactoring is the process of restructuring existing computer code – changing the factoring – without changing its external behavior. ...
1999
- (Fowler, 1999) ⇒ Martin Fowler. (1999). “Refactoring: improving the design of existing code." Pearson Education.
- Refactoring is about improving the design of existing code. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. With refactoring you can even take a bad design and rework it into a good one. This book offers a thorough discussion of the principles of refactoring, including where to spot opportunities for refactoring, and how to set up the required tests. There is also a catalog of more than 40 proven refactorings with details as to when and why to use the refactoring, step by step instructions for implementing it, and an example illustrating how it works The book is written using Java as its principle language, but the ideas are applicable to any OO language.