{"title":"对设计模式上下文的经验洞察:模块化分析","authors":"Mawal A. Mohammed, Mahmoud O. Elish, A. Qusef","doi":"10.1109/CSIT.2016.7549474","DOIUrl":null,"url":null,"abstract":"Design patterns are common solutions to specific design problems. There are many claimed benefits of the application of design patterns on design quality. This paper empirically evaluates and compares the modularity of design patterns in object-oriented software. Coupling and cohesion of classes that participate in design patterns were compared with those that do not participate. We used CBO and LCOM metrics as proxy measures for coupling and cohesion respectively. Data were collected from five open source systems, and analyses were conducted at both the design and pattern levels. At the design level, we compared the modularity of participant versus non-participant classes in design patterns, whereas at the pattern level, we compared the modularity of the classes in each pattern. The results indicate that the classes that participate in design patterns are more coupled and less cohesive than the non-participant classes at both levels.","PeriodicalId":210905,"journal":{"name":"2016 7th International Conference on Computer Science and Information Technology (CSIT)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2016-07-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Empirical insight into the context of design patterns: Modularity analysis\",\"authors\":\"Mawal A. Mohammed, Mahmoud O. Elish, A. Qusef\",\"doi\":\"10.1109/CSIT.2016.7549474\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Design patterns are common solutions to specific design problems. There are many claimed benefits of the application of design patterns on design quality. This paper empirically evaluates and compares the modularity of design patterns in object-oriented software. Coupling and cohesion of classes that participate in design patterns were compared with those that do not participate. We used CBO and LCOM metrics as proxy measures for coupling and cohesion respectively. Data were collected from five open source systems, and analyses were conducted at both the design and pattern levels. At the design level, we compared the modularity of participant versus non-participant classes in design patterns, whereas at the pattern level, we compared the modularity of the classes in each pattern. The results indicate that the classes that participate in design patterns are more coupled and less cohesive than the non-participant classes at both levels.\",\"PeriodicalId\":210905,\"journal\":{\"name\":\"2016 7th International Conference on Computer Science and Information Technology (CSIT)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-07-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 7th International Conference on Computer Science and Information Technology (CSIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSIT.2016.7549474\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 7th International Conference on Computer Science and Information Technology (CSIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSIT.2016.7549474","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Empirical insight into the context of design patterns: Modularity analysis
Design patterns are common solutions to specific design problems. There are many claimed benefits of the application of design patterns on design quality. This paper empirically evaluates and compares the modularity of design patterns in object-oriented software. Coupling and cohesion of classes that participate in design patterns were compared with those that do not participate. We used CBO and LCOM metrics as proxy measures for coupling and cohesion respectively. Data were collected from five open source systems, and analyses were conducted at both the design and pattern levels. At the design level, we compared the modularity of participant versus non-participant classes in design patterns, whereas at the pattern level, we compared the modularity of the classes in each pattern. The results indicate that the classes that participate in design patterns are more coupled and less cohesive than the non-participant classes at both levels.