research paper on framework comparison.pdf

Figure 19 complexity metrics the complete results for

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

Figure 19: Complexity metrics The complete results for the complexity metrics for Spring and Blueprints can be found in respectively addendum J and K Step 4, feature dependencies We extracted the following data for the impact of a change Spring Blueprints Maximum efferent coupling 30 11 Minimum efferent coupling 0 0 Average efferent coupling 7,12 1,54 Packages below average efferent coupling 120 19 Packages above average efferent coupling 70 9 Figure 20: Impact of change The complete data for the dependencies upon a certain package from outside the package is called efferent coupling and is listed in addendum J and K. Step 5, ease of change As mentioned before, a combined ease of customization and modifiability has been performed, the result can be found in figure 15. Validation The Following data has been collected for validation: Spring Blueprints Comment 1 Lines of new code 1 1 Source code lines 1 1 Non source code lines 0 0 1 Time taken in minutes 5 5 Encoding filter class in Blueprints and Spring 1 Steps 1 1 2 Lines of new code 2 4 Default requestprocessor for Blueprints, class declaration, default process request, call to log at beginning and end, all steps 1 line. For Spring the 2 lines were added the Transaction manager Source code lines 2 2 Non source code lines 0 0 2 Time taken in minutes 10 15 2 Steps 1 1 Excluding the log code itself, only the call to the log functionality is counted. 3 Lines of new code 14 + 6* 7 + ~3* Excluding the interface pages themselves (1) Spring, (2) Blueprints Source code lines 13 + 1* 7 Non source code lines 1 + 5* ~3* 3 Time taken in minutes 90 45 Adding this with Spring took considerable longer, the number of files to change and to locate them took long 3 Steps 6 3 Figure 21: Modifiability validation sample
Image of page 44

Subscribe to view the full document.

Anton Gerdessen, Master thesis Page 45 of 78 (1) 2 lines in the AccountDOA class (getter/setter definition) 2 lines to fill the attribute in SqlMapAccountDao class o 5 lines to make a of action mapping with setter and getter for user in the action mapping super class o 4 lines to overwrite findforward with the requested URL retrieval and adding the user role to it, in the action mapping super class 1* line per ActionMapping to extend the new super class in each existing action mapping class One line to define the attribute in account xml o One line per jsp page to include the user from the session in the struts config xml o Four lines per jsp page in the struts config xml Open bullets indicate that the two actions are in the same file, hence the six total for Spring. (2) Five lines for the userEJB class (getter/setter + attribute) Two lines for adding the user to the screen retrieval. In the template servlet class ~3* per screen definition in the screen definition xml. (depends on the number of elements in the template we used top, bottom, content frame)
Image of page 45
Anton Gerdessen, Master thesis Page 46 of 78 8 Case study analysis Now that we gathered all the facts, we can analyze and interpret them. We will start with customizability followed by modifiability.
Image of page 46
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