research paper on framework comparison.pdf

Anton gerdessen master thesis page 43 of 78 732

This preview shows page 43 - 44 out of 78 pages.

Anton Gerdessen, Master thesis Page 43 of 78 7.3.2 Extracted facts modifiability This section will list the extracted facts for modifiability. Step 1, extension points: Recapping the data collected in step two for customizations Spring Blueprints Composite features 20 6 Number of closed 12 6 Number of open 8 0 Figure 17: What can be modified Step 2, finding features: We extracted the following data Spring Blueprints Average abstractness 0,29 0,24 Average afferent coupling 5,83 1,75 Average efferent coupling 7,12 1,54 Average instability 0,69 0,44 Figure 18: Modularity metrics The complete results for these metrics can be found in addendum J for Spring and in addendum K for Blueprints. Side note here is that only the packages should be compiled for Spring that we listed as the path 5.3.1.3 step 2. This because Spring uses different directories for samples, tests etc, but when compiled they end up in the same directories as the source and thus adding classes to the source which we are not interested in. Another problem is that JDepend works on the class files, while Cobertura works on the class files and source files, minor discrepancies can occur while merging the results that have to be resolved by hand. These discrepancies can be counting empty directories, missing source code files, only class files available etc. However, these can be resolved by comparing the extracted package structures and file counts for both tools. Step 3, understanding features For the coding standard, we used a sample group of four files for each application. We determined of these files used a noticeable naming and coding standard. Files were selected at random, but rejected if they did not exhibit the following criteria: At least ten lines of non comment code The file should be in the ‘main’ package structure (org.springframework / sun.j2ee.blueprints ) The files used for Spring were: Beanfactory (package org.springframework.beans.factory) IncorrectResultSizeDataAccessException (package org.springframework.dao) OpenSessionInViewInterceptor (package org.springframework.orm.hibernate.support) WebUtils (package org.springframework.web.util) The files used for Blueprints were URLMappingsXmlDAO (package com.sun.j2ee.blueprints.waf.controller.web) I18nUtil (package com.sun.j2ee.blueprints.waf.util) EncodingFilter (package com.sun.j2ee.blueprints.encodingfilter.web) ServiceLocator (package com.sun.j2ee.blueprints.servicelocator.web) For both frameworks the result was the same; both frameworks appears to have had naming and coding conventions. We used the following commands for complexity: cobertura-instrument.bat --destination d:\tmp PATH cobertura-report.bat --basedire PATH --destination d:\tmp --format xml Again and XSLT has been used to filter only the relevant data.
Image of page 43

Subscribe to view the full document.

Anton Gerdessen, Master thesis Page 44 of 78 We extracted the following data for complexity Spring Blueprints Average cyclomatic complexity 1,82 2,09 Maximum cyclomatic complexity 6 5,25 Minimum cyclomatic complexity 0 1 Coding /naming standard used Yes Yes
Image of page 44
You've reached the end of this preview.
  • Winter '19
  • jollet
  • Domain-specific language, Domain-specific modeling, domain analysis, general-purpose programming language, Anton Gerdessen

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern