Complexity Measure of Software Composition Framework

This article proposes a pragmatic approach to software composition based on matching criteria by mimicking integrated hardware counterpart. The tangible value of consumer goods as described by Cox instills this logical derivation of the proposed approach. As software gradually matures in component form, various software compositions can be systematically assembled from related existing software. Two application software are composed based on their functionality matching. Their composition complexities are measured by function point. The total effort unveils a noteworthy finding that high complexity software demands larger effort to deploy. Thus, the proposed software composition framework not only offers the freedom of development man-dates to the development team, but also broadens the horizon of cost and project evaluations by arriving at the proper mix of constituent components in the software product.


Introduction
The proliferation of software application in daily operations is undeniably deeprooted and intertwined with every fabric of life.Complicated as software systems are, they evolve in much the same manner as the chaotic world of their creator.The advent of personal computer has brought about myriad of applications operated and supported by software bundles.Yet no one complains about the shortcomings of these heterogeneous software systems created by unassociated developers that were never meant to interoperate.Nonetheless, new development paradigms such as structured, modular, object-oriented, and aspectoriented approaches were employed to accommodate and exploit software ap-plications to their fullest extent.Business values were added, whereby new software services were created.This in turn elevated software use to a new level of sophistication.Strategic software application has transformed the development paradigm into component-based development (CBD).As such, new software compositions can be deployed with less effort by means of reuse, plug-and-play, and other composition techniques.The evidence will become clearer as development efforts are measured quantitatively by means of Function Point established by Albrecht, et al. [1].
Meanwhile, software architects and engineers are working hard to mimic the design and construction processes of its counterpart.Hardware components are standardized to furnish product diversification.Special purpose hardware can be fabricated to fulfill the desired functionality in a relatively straightforward and time/cost saving manner.The design and construction processes are conceptually and technically similar to each other since the processes receive greater level of attention and scrutiny to be reused, streamlined, and automated.They are firmly established as tangible goods [2].Software products, on the other hand, must have gone through various development stages before delivery, yet they are still far from standardization in comparison to their hardware counterpart.
Bearing such problems in mind, one of the new challenges in software development is how to build software by composition technique from the existing software or software components.The principal consideration is to determine how well the constituent components interoperate.This implies matching of component functionalities.The issue will be further explored in the remaining sections of this article.This paper is organized as follows.Section 2 recounts some related work on software component.Section 3 describes the proposed software component and its matching criteria.A concise case study is given to demonstrate the viability and performance of the proposed approach in Section 4. Section 5 presents some final thoughts and future enhancement.

Related Work
Software composition is an approach to building software applications using related existing software.The notion has been around for some time such as Sun's Jini environment [3].The composition of software and its components brings about a new paradigm of software creation, i.e., software composition through existing components.Such a notion entails various mechanisms that allow software components to be plugged-in and interacted in creating a new application.One of the prominent technique was established by Parnas [4] that used keyword in context (KWIC), consisting of task, a set of lines of text as input, and the set of all circular shift of all lines in alphabet order as output.He was the first to describe how software architecture guided modifiability via shared data model and data abstraction model.As the scale of software functions and operations expands, arrays of support services and measurements are called for.Various research endeavors have been attempted on software engineering environments [5] [6].Ironically, software engineering environments in primitive integrated development environment (IDE) forms have been around since the introduction of Ada Programming Support Environment (APSE).APSE and its derivatives, Common APSE Interface Set, (CAIS) [5], as well as their competing development environment family-the Portable Common Tool Environment (PCTE) and PCTE+ [6], were the two most comprehensive but homogeneous Integrated Programming Support Environments (IPSE) then.More environment specifics, such as PNMPI inter-tool communication [7], offered dynamic loading and concurrent use at the expense of some infrastructure compliance overhead.
The expansion of distributed processing also imposes additional interoperability requirements among software composition techniques.Interoperability is usually achieved through API, message interfaces, command-line options [8], as well as an information structure model describing the communication bindings between Tool Communications [9] structures.These endeavors exemplify the needs for resolving heterogeneity that may exist among software composition.Some approaches handled the issue by means of Workflow Management Coalition [10], as well as meta-data and ontology mechanisms [11] to ensure reliable operation of intercommunicating systems.
Modern software development is fast-paced and short-lived.New releases come out every other week.Competing apps are available for test drive on a weekly basis.The development process has to adapt COTS components that take care of the aforementioned technical issues without reinventing the wheel.Thus, the emphasis should be focused on software composition guideline and technique that permit timely and correctly functioned software.Unfortunately, the irreducible essence such as complexity, conformity, changeability, and invisibility [12] make software construction difficult.We will look into some of software composition issues to establish a proposed software composition framework.Some details will be further elaborated in the next section.

Proposed Approach
As software operations span the distributed computing networks, conventional software/tool interoperability through API, message interfaces, and commandline options, serve as a comprehensible and convenient interface.The notion of Component Mill architecture [13] furnishes an infrastructure for component integration in heterogeneous environments by exposing the meta-component model and constructs to supporting technologies.Interoperability enhancement can be further fine-tuned with the help of dynamic and late binding mechanisms as software is executed in the form of a separated application.Unfortunately, these provisions inevitably introduce a new layer of human interconnecting complexity ranging from command language semantic, analysis and design abstractions, user-friendliness overhead, code and style legibility restrictions, and so on.
Bearing the above issues in mind, we propose a framework for component composition that encompasses the following attributes:  well-defined component composition technique  self-contained and loosely-coupled building blocks Such provisions call for a suitable integration technique to ensure their proper operations.Modern software development paradigms, prevalent as they are, focus on the commonality of processing format to facilitate interoperability.The good old notion of IDE has been rejuvenated as a means for creating, operating, integrating, storing, retrieving, and maintaining of the desired information.Unfortunately, most IDEs operate on homogeneous basis, whereby foreign data must undergo format conversion upon importation, let alone the software itself.
In so doing, the ultimate goal of the IDE as being truly interoperable is defeated.
Moreover, the extraneous data and format conversions inevitably introduce additional processing burden that, in many cases, does not justify the efforts in exchange for imperfect conversion and information loss.At any rate, newer IDEs/ IPSEs are more commonplace in development community, e.g., the .NET, EJB, and CORBA, yet still preserve their locality.For all practical composition purposes, any foreign software or tools must comply with the underlying mandate in order to co-exist.
The proposed framework for software composition matching will therefore entail flexible and extensible development methodology of problem solving software components.In order to align different software functionalities with user's requirements, all pertinent interfaces must, to some degree, match with the requirements.The principal directive of the proposed composition framework is the matching strategy that covers the constituent components.Case in point, as depicted in Figure 1, the matching strategy sets a stage for three software component development, namely, A, B, and C. Component A requires that its input be exclusive, while B and C presumably share common input interface.
Once complete, input artifacts must undergo the same set of development transition so as to preserve the matching requirement.Nonetheless, the eventual output operations are individually crafted to best satisfy each matching requirement so established.
One compelling issue that stands out in the composition process is software component acquisition.From reuse to complete rewrite (the latter is apparently an extreme case which often results in scope creep and corruption), the difficulty is matching component with available components.At the heart of the matching process, two considerations that must be taken into account are service requirement identification and granularity of service.Praserttitipong, et al. [14] [15] proposed some formalities of requirement identification to quantitatively assess the matching process.Three component acquisition requirements were established, namely, plug-in match, subsume match, and exact match.Situations arise when selective or no match occurs, thereby matching scenarios precipitated from the above requirements are proposed and summarized in Figure 2. The plug-in match of Figure 2(a) represents extraneous functions offered by the composite software (H) that exceed what the user (n) requests.Thus, the set of available functions becomes, where extra ∈ S H .By the same token, subsume match yields , which still falls short of user satisfaction.The exact match, on the contrary, is the ideal scenario of software composition, while miss-out match is obviously irrelevant.The partial match, in general, calls for some degrees of customized tailoring in the form of wrapper or derivation.As such, it remains to be a problematic matching issue to reckon with.
From the development standpoint, software component is fundamentally composed of a set of operational methods that, in turn, are derived from some predecessor base methods.Let H i and n i denote the i th component of the existing software and user's request, respectively.Notationally, H i = {sm 1 , sm 2 , …, sm j } denotes the set of constituent component methods, i.e., component method 1, component method 2, and so on.Similarly, n i = {rm 1 , rm 2 , …, rm k } denotes the set of the matching methods, i.e., matching method 1, matching method 2, and so on.Moreover, j ≠ k.The partial match process is to find subsets of H i that cover as much of each rm i as possible.The partial matching procedure proceeds as follows:

Initialization
For each rm i of n i Get first method of sm i While not ((match or partial match [rm i , sm i ]) and end_method_list) n i ' ∪ rm i // collect set complement n i ' Get next method of sm i If match rm i or partial match rm i n i ∪ (sm i or n i \sm i ) // \ symbol denotes partial match end_for each Thus, the resulting n i will be partially covered by some sm i of H i that match the corresponding rm i , i.e., n i = {sm i | \sm i , where sm i ∈ H i , sm i ⊂ rm i }.The missout match of sm j , denoted by n i ' = {rm i , where rm i ∈ n i }, constitutes the set complement of n i which must be either imported or purchased from external sources, locally built, or outsourcing under the pre-established governance.The

Case Study
A small web-database application was set up to demonstrate the viability of the proposed composition framework.The application consisted of a conventional front-end software and standard back-end database management systems (DBMS).The software components were mutually independent but logically connected through a software connectivity map.The configuration is depicted in Figure 3.The very core of this web-database application is the design and construction of the software connectivity map that must follow the established (business) operational objectives and Internet standards.The map construction is carried out as follows: 1. set up the matching policy according to the established operational objectives.
2. design, either in-house or delegation/outsourcing, the required front-end API components and back-end DBMS functions based on the proposed software component acquisition requirements. initialization -collect the number of API classes and their corresponding attributes rm i in n i -collect the number of entity templates and their attributes from the available DBMS in template i  for each rm i of n i get all pertinent attributes that are manipulated by the class method while not (match([attrib_class_method i , template i ]) and end_attrib_class_ method_list) get next attrib_class_method if match rm i or partial match rm i n i ∪ (template i or n i \template i ) end_for each 3. consider for all practical composition purposes, plug-in match is the best scenario since extra DBMS functions available mean ease of future feature enhancement.Other matching scenarios such as exact match yield a sufficient solution but do not leave any room for expansion; subsume match and partial match call for additional development efforts, time, and costs.4. conduct detailed design as a transitional tailoring to adjust the software composition in concert with operating formats and standards.In this case, devise all front-end API artifacts, logic, look and feel, etc., following the Internet operational standards and services.This may require involvement as the development life cycle of new e-business practices, policies, law enforcement, and technology shrink.Consultation with the intermediaries is thus necessary so that minimal development endeavor will be expended.Latest available IDE service supports, ontology discovery, and the likes are also carried out at this stage.As depicted in Figure 6, the Person_API class was split into three message groups, namely, secured_login/PK_iden/access_rights, and NULL/NO_ iden/access_list, representing registered and general users, respectively.
5. a final touch-up is performed to ensure that the application complies with the mediation interface, i.e., browser, platform, and other communication disciplines.
Effort assessment of application (or apps) was measured by Function Point (FP).The method was first defined by Albrecht [16] as "a methodology to estimate the amount of the "function" the software is to perform, in terms of the data it is to use (absorb) and to generate (produce).The "function" is quantified as "function points", essentially, a weighted sum of the numbers of "inputs", "outputs", "master files", and "inquiries" provided to, or generated by, the software."The method was later refined by Albrecht and Gaffney [1].Thus, the Function Point Analysis (FPA) is essentially based on five different functional artifacts which are further exemplified by Finnie, et al. [17] as shown in Table 1.For example, a simple app consisting of two inputs, two outputs, three inquiries, one interface file, and one internal file will be equal to 35 FP (2 * 3 + 2 * 4 + 3 * 3 + 1 * 5 + 1 *

7).
The experimental data from the above case study are shown in Table 2. Factors of measurement were classified in accordance with the above Function Point allocation guideline.Thus, the external input, output, inquiry, interface file, and internal file were classified as simple, average, average, complex, and average, whose scores were 3, 5, 4, 10, and 10, respectively.
Table 3 shows the experimental results obtained from two apps, namely      A noteworthy benefit precipitating from the proposed framework that was conducive toward the complete case study shown in Figure 3 was freedom of development mandates.Front-end development team, in particular, could focus on their user requirements to best tailor the final deliverable with little concern with back-end integration issues.Similarly, back-end development team could procedurally build customized (or generalized) functionalities and modules to support different functionalities.New software components could be established through this operational map reuse as generic connectors.Therefore, the associated costs and resources could be procedurally estimated to assess the viability of project management.

Conclusion and Future Work
This article proposes a straightforward software composition framework that complements IDE/IPSE supports to enhance software/tool interoperability.As developers create myriad of software compositions for general or specific purposes, there bounds to be new requirements precipitating from various software applications that call for the software components to co-exist and interoperate.
Without attempting to do it all, the proposed approach introduces a software component matching framework to aid in the development of application.The matching process, however, still performs at the component level that from the theoretical point of view does not address the root cause of software integration.Such a limitation is a challenging software architectural research to be further explored.At any rate, the overall provisions entail greater software component interoperability that not only augments the-state-of-the-practice opportunistic software systems development, but also broadens the horizon of cost and project evaluation.It is hoped that the efforts expended on software component composition will arrive at an applicable framework in the same manner as tangible goods already possess.
Numerous efforts have been attempted to unify concepts, axioms, and relationships within and among software domains.The goals are to expand the horizon of technologies, implementations, and other concrete details to cope with software advancement.The advent of the Internet technology opens a whole new realm of development paradigms.Development life cycle shortens.Third party outsourcing becomes pragmatic alternatives of development effort.The choice does not come without certain prices: well-defined interface, deployment policy, verification/monitoring/maintenance of software components, and integration of operations.
last two choices required additional customization efforts.Irrespective of which matching process will fit final business process, it is apparent that the proposed framework by and large offers dynamic inherent provisions for different software component composition schemes.As a consequence, development delegation can stay focus on the more important tailoring strategy, yet still operationally maintain composition compliance with user's requirements.

Figure 4 (
Figure 4(a) and Figure 4(b) illustrate a few sample class diagrams of the front-end application interfaces (APIs) to interact with the users.Figure 5 shows the available functionality of a typical DBMS.

Figure 3 .
Figure 3. Software operational mapping between front-end and back-end.

, 1 and 2 (
to keep their anonymity) having different functional components.The number of external inputs, outputs, inquiries, interface files, and internal files are also listed.The corresponding function points were determined according to the above guideline.The matching assessment was determined from their matching percentage of service functionality.The actual development efforts were taken by man-hour (m-h).

Figure 7 (
Figure 7(a) and Figure 7(b), Figure 8(a) and Figure 8(b) depict the propor-tional FP and total effort results by apps, respectively.It can be drawn from the results that the higher the FP is, the more effort must be expended in order to tailor the service to suit the user's needs.

Figure 9 (
Figure 9(a) and Figure 9(b) show the FP and total effort of all components from both apps, respectively.The same conclusion can be drawn of the relationship between FP and total effort.