Investigating the Effect of Aspect-Oriented Refactoring on the Unit Testing Effort of Classes: An Empirical Evaluation.
Saved in:
| Title: | Investigating the Effect of Aspect-Oriented Refactoring on the Unit Testing Effort of Classes: An Empirical Evaluation. |
|---|---|
| Authors: | Badri, Mourad1, Kout, Aymen1, Badri, Linda1 |
| Source: | International Journal of Software Engineering & Knowledge Engineering. Jun2017, Vol. 27 Issue 5, p749-789. 41p. |
| Subject Terms: | *EMPIRICAL research, *OBJECT-oriented programming, *REGRESSION analysis, ASPECT-oriented programming, SOURCE code |
| Abstract: | This paper aims at investigating empirically the effect of aspect-oriented (AO) refactoring on the unit testability of classes in object-oriented software. The unit testability of classes has been addressed from the perspective of the unit testing effort, and particularly from the perspective of the unit test cases (TCs) construction. We investigated, in fact, different research questions: (1) the impact of AO refactoring on source code attributes (size, complexity, coupling, cohesion and inheritance), attributes that are mostly related to the unit testability of classes, (2) the impact of AO refactoring on unit test code attributes (size, assertions, invocations and data creation), attributes that are indicators of the effort involved to write the code of unit TCs, and (3) the relationships between the variations observed after AO refactoring in both source code and unit test code attributes. We used in the study different techniques: correlation analysis, statistical tests and linear regression. We performed an empirical evaluation using data collected from three well-known open source (Java) software systems (JHOTDRAW, HSQLBD and PETSTORE) that have been refactored using AO programming (AspectJ). Results suggest that: (1) overall, the effort involved in the construction of unit TCs of refactored classes has been reduced, (2) the variations of source code attributes have more impact on methods invocation between unit TCs, and finally (3) the variations of unit test code attributes are more influenced by the variation of the complexity of refactored classes compared to the other class attributes. [ABSTRACT FROM AUTHOR] |
| Copyright of International Journal of Software Engineering & Knowledge Engineering is the property of World Scientific Publishing Company and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Business Source Index |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Badri%20M Name: ISI Category: fullText Text: Nájsť tento článok vo Web of Science Icon: https://imagesrvr.epnet.com/ls/20docs.gif MouseOverText: Nájsť tento článok vo Web of Science |
|---|---|
| Header | DbId: bsx DbLabel: Business Source Index An: 123732073 RelevancyScore: 1199 AccessLevel: 6 PubType: Academic Journal PubTypeId: academicJournal PreciseRelevancyScore: 1199.01574707031 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Investigating the Effect of Aspect-Oriented Refactoring on the Unit Testing Effort of Classes: An Empirical Evaluation. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Badri%2C+Mourad%22">Badri, Mourad</searchLink><relatesTo>1</relatesTo><br /><searchLink fieldCode="AR" term="%22Kout%2C+Aymen%22">Kout, Aymen</searchLink><relatesTo>1</relatesTo><br /><searchLink fieldCode="AR" term="%22Badri%2C+Linda%22">Badri, Linda</searchLink><relatesTo>1</relatesTo> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22International+Journal+of+Software+Engineering+%26+Knowledge+Engineering%22">International Journal of Software Engineering & Knowledge Engineering</searchLink>. Jun2017, Vol. 27 Issue 5, p749-789. 41p. – Name: Subject Label: Subject Terms Group: Su Data: *<searchLink fieldCode="DE" term="%22EMPIRICAL+research%22">EMPIRICAL research</searchLink><br />*<searchLink fieldCode="DE" term="%22OBJECT-oriented+programming%22">OBJECT-oriented programming</searchLink><br />*<searchLink fieldCode="DE" term="%22REGRESSION+analysis%22">REGRESSION analysis</searchLink><br /><searchLink fieldCode="DE" term="%22ASPECT-oriented+programming%22">ASPECT-oriented programming</searchLink><br /><searchLink fieldCode="DE" term="%22SOURCE+code%22">SOURCE code</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: This paper aims at investigating empirically the effect of aspect-oriented (AO) refactoring on the unit testability of classes in object-oriented software. The unit testability of classes has been addressed from the perspective of the unit testing effort, and particularly from the perspective of the unit test cases (TCs) construction. We investigated, in fact, different research questions: (1) the impact of AO refactoring on source code attributes (size, complexity, coupling, cohesion and inheritance), attributes that are mostly related to the unit testability of classes, (2) the impact of AO refactoring on unit test code attributes (size, assertions, invocations and data creation), attributes that are indicators of the effort involved to write the code of unit TCs, and (3) the relationships between the variations observed after AO refactoring in both source code and unit test code attributes. We used in the study different techniques: correlation analysis, statistical tests and linear regression. We performed an empirical evaluation using data collected from three well-known open source (Java) software systems (JHOTDRAW, HSQLBD and PETSTORE) that have been refactored using AO programming (AspectJ). Results suggest that: (1) overall, the effort involved in the construction of unit TCs of refactored classes has been reduced, (2) the variations of source code attributes have more impact on methods invocation between unit TCs, and finally (3) the variations of unit test code attributes are more influenced by the variation of the complexity of refactored classes compared to the other class attributes. [ABSTRACT FROM AUTHOR] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of International Journal of Software Engineering & Knowledge Engineering is the property of World Scientific Publishing Company and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=bsx&AN=123732073 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1142/S0218194017500280 Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 41 StartPage: 749 Subjects: – SubjectFull: EMPIRICAL research Type: general – SubjectFull: OBJECT-oriented programming Type: general – SubjectFull: REGRESSION analysis Type: general – SubjectFull: ASPECT-oriented programming Type: general – SubjectFull: SOURCE code Type: general Titles: – TitleFull: Investigating the Effect of Aspect-Oriented Refactoring on the Unit Testing Effort of Classes: An Empirical Evaluation. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Badri, Mourad – PersonEntity: Name: NameFull: Kout, Aymen – PersonEntity: Name: NameFull: Badri, Linda IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 06 Text: Jun2017 Type: published Y: 2017 Identifiers: – Type: issn-print Value: 02181940 Numbering: – Type: volume Value: 27 – Type: issue Value: 5 Titles: – TitleFull: International Journal of Software Engineering & Knowledge Engineering Type: main |
| ResultId | 1 |
Nájsť tento článok vo Web of Science