research paper on framework comparison.pdf

1 number of alternate variants which can be enabled

This preview shows page 41 - 42 out of 78 pages.

1 Number of alternate variants which can be enabled by customization 7 1 Number of alternate variants which can be enabled by pure customisable 7 1 Number of alternate variants which can be enabled by mixed customisable 0 0 Figure 14: Summary of what can be customised
Image of page 41

Subscribe to view the full document.

Anton Gerdessen, Master thesis Page 42 of 78 Step 4, tool support Both frameworks of no tools support for editing configuration files. Step 5, ease of change The results for Spring per feature can be found in addendum H, the results for Blueprints in addendum I. The step type can hold two values: Enable the feature Change the feature Framework Spring Blueprints Number of configuration points 15 5 Number of enables paths 33 3 Average enable step length 1,06 1 Number of change paths 35 9 Average change step length 1,14 1,56 Figure 15: Summary ease of change Note that we no longer use the step type in these figures. We are no longer interested in if the steps are source code or configuration related. We are only interested in the step required to enable or change a features in general. We already identified these features as either pure customization or a mix of customization and source code before, this is no longer relevant for the ease of since all steps have to be performed. The averages are calculated by divided the total step length of all enable paths and divide them by the total number of enable paths. The same applies to the customization average. Where changing is considered anything with step type changing, thus ignoring the difference between customisation and modification. Essentially, we are determining the easy of change. We use this approach because due to the use of mixed steps, it becomes very hard to separate the two. Since the two terms are so related, we decided to leave them coupled and determine the easy of customization / modifiability. Validation The Following data has been collected for validation: Spring Blueprints Comment 1 Lines of new code 5 1 Source code lines 0 1 Non source code lines 5 0 1 Time taken in minutes 5 10 In Spring this could be achieved via advice at the bean configuration xml, for blueprints this was an extra line of code in the request processor 1 Steps 1 1 2 Lines of new code 4 5 Source code lines 0 1 Non source code lines 4 4 2 Time taken in minutes 5 45 Blueprints required changes in two locations, web.xml and the templateServlet, the latter was hard to locate. Spring only required changes in the web.xml 2 Steps 1 2 Excluding the creation of the error page itself 3 Lines of new code 5 15 Excluding the mail sending code Source code lines 5 15 Non source code lines 0 0 3 Time taken in minutes 15 45 Locating the security concepts in both frameworks was relatively easy (SignonFilter, SignonAction) 3 Steps 1 2 For Blueprints, a subclass had to be created, because if we changed the code directly we would break the separation of concerns principle. In Spring, the singon class was purely for that purpose and could be changed Figure 16: Customisation validation sample
Image of page 42
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