Analysis Concepts & Principles

4:50 AM / Posted by Alagan / comments (4)

1.0      Requirements Analysis

  • Requirements Analysis is the process of understanding the customer needs and expectations from a proposed system or application and is a well-defined stage in the Software Development Life Cycle model.
  • Requirements are a description of how a system should behave or a description of system properties or attributes.
  • It can alternatively be a statement of ‘what’ an application is expected to do, not ‘how’.
  • Software engineering task that bridges the gap between system level requirements engineering and software design.
  • Software requirements analysis may be divided into give areas of effort
    • Problem recognition
    • Evaluation and synthesis
    • Modeling
    • Specification
    • Review
  • Requirements analysis encompasses those tasks that go into determining the requirements of a new or altered system, taking account of the possibly conflicting requirements of the various stakeholders, such as users.
  • Requirements analysis is critical to the success of a project.
  • It is sometimes referred to loosely by names such as requirements gathering, requirements capture, or requirements specification.
  • The term “requirements analysis” can also be applied specifically to the analysis proper.
  • Requirements must be measurable, testable, related to identified business needs or opportunities, and defined to a level of detail sufficient for system design.
  • Five common errors in requirements analysis:
    • Customers do not really know what they want
    • Requirements change during the course of the project
    • Customers have unreasonable timelines
    • Communication gaps exist between customers, engineers and project managers
    • The development team does not understand the politics of the customer’s organization

2.0      Requirements Elicitation for Software

  • Before requirements can be analyzed, modeled, or specified they must be gathered through an elicitation process.
    • Initiating the Process
      • The most commonly used requirements elicitation technique is to conduct a meeting or interview
    • Facilitated Application Techniques
      • This approach encourages the creation of a joint team of customers and developers who work together to identify the problem, propose elements of solution, negotiate different approaches and specify a preliminary set of solution requirements
    • Quality Function Deployment
      • A technique that translates the needs of the customer into technical requirements for software
      • QFD identifies three types of requirements
        • Normal requirements – the objectives and goals that are stated for a product or system during meeting with the customer
        • Expected requirements – these requirements are implicit to the product or system and may be so fundamental that the customer does not explicitly state them
        • Exciting requirements – these features go beyond the customer’s expectations and prove to be very satisfying when present
    • Interviews
      • A “traditional” means of eliciting requirements.
      • It is important to understand the advantages and limitations of interviews and how they should be conducted.

 

 

 

    • Use-Cases
      • As requirements are gathered as part of informal meetings, FAST, or QFD, the software engineer can create a set of scenarios that identify a thread of usage for the system to be constructed.
    • Prototype
      • A valuable tool for clarifying unclear requirements.
      • They can act in a similar way to scenarios by providing users with a context within which they can better understand what information they need to provide.
      • There is a wide range of prototyping techniques, from paper mock-ups of screen designs to beta-test versions of software products, and a strong overlap of their use for requirements elicitation and the use of prototypes for requirements validation.

3.0      Analysis Principles

  • All analysis methods are related by a set of operational principles
    • The information domain of a problem must be represented and understood
    • The functions that the software is to perform must be defined
    • The behavior of the software must be represented
    • The models that depict information, function, and behavior must be partitioned in a manner that uncovers detail in a layered fashion
    • The analysis process should move from essential information toward implementation detail
  • In addition to these operational analysis principles, a set of guiding principles for requirements engineering are suggested as
    • Understand the problem before you begin to create the analysis model
    • Develop prototypes that enable a user to understand how human/machine interaction will occurs
    • Record the origin of an the reason for every requirement
    • Use multiple view of requirements
    • Rank requirements
    • Work to eliminate ambiguity

4.0      Specification

  • Specification principles
    • Separate functionality from implementation
    • Develop a model of the desired behavior of a system that encompasses data and functional response of a system to various stimuli from the environment
    • Establish the context in which software operates by specifying the manner in which other systems components interact with software
    • Define the environment in which the system operates and indicate how “a highly intertwined collection of agents react to stimuli in the environment (changes to objects) produced by those agents”
    • Create a cognitive model rather than a design or implementation model. The cognitive model describes a system as perceived by its user community
    • Recognize that “the specifications must be tolerant of incompleteness and augmentable.” A specification is always a model-an abstraction-of some real situation that is normally quite complex. Hence, it will be incomplete and will exist at many level of detail
    • Establish the content and structure of a specification in a way that will enable it to be amenable to change

 

  • Representation
    • Representation format and content should be relevant to the problem
    • Information contained within the specification should be nested
    • Diagrams and other notational forms should be restricted in number and consistent in use
    • Representations should be revisable

 

  • The software requirements specification
    • Is produced at the culmination of analysis task.
    • The function and performance allocated to software as part of system engineering are refined by establishing a complete information description, a detailed functional description, a representation of system behavior, an indication of performance requirements and design constraints, appropriate validation criteria, and other information pertinent to requirements.
    • Format of software requirements specification:
      • Introduction
      • Information description
      • Functional description
      • Behavioral description
      • Validation criteria
      • Bibliography and appendix

5.0      Specification Review

  • A review of the Software Requirements Specification is conducted by both the software developer and the customer.
  • Because the specification forms the foundation of the development phase, extreme care should be taken into conducting the review.
  • Once the review is complete, the Software Requirements Specification is “signed-off” by both the customer and developer.
The specification becomes a “contract” for software development

Labels:

CASE Tool

4:46 AM / Posted by Alagan / comments (2)

1.0      Introduction

·         CASE tool is an acronym for ‘Computer Aided Software engineering’ – the automation of step-by-step methodologies for software and systems development to reduce the amount of repetitive work the developer needs to do.

·         Computer-aided Software Engineering (CASE), in the field software engineering is the scientific application of a set of tools and methods to software which results in high-quality, defect-free, and maintainable software products.

·         It also refers to methods for the development of information systems together with automated tools that can be used in the software development process.

·         Generally, a CASE tool environment may be expected to provide the following:

  1. Automated graphics facilities for producing charts and diagrams in support of modeling activities
  2. Screen and report generators to assist in designing the dialogue/presentation of the proposed information systems
  3. Data dictionaries providing a central repository for all definitions used by the development team
  4. Reporting facilities ranging from project management statistics through to design inconsistencies
  5. Analysis and cross-referencing tools to ensure integration of model views
  6. Code generators and documentation generators utilising the deliverables of the modeling activities to develop working systems

 

2.0      How CASE tools try to increase quality and productivity

1.      Enforcing a standard development methodology and design principle

2.      Providing a central repository for all design components and making them available to all the design team

3.      By improving communications between the designers and end-users using graphical representations of the system design

4.      Automating tedious and error-prone analysis and design activities thus proving consistency between views

5.      By automating code generation (to a certain degree), testing and version/change control activities

 

3.0      Classification of CASE tools

·         CASE tools are often classified as upper CASE tools, lower CASE tools or Integrated CASE (I-CASE) tools. These terms refers refers to the functions supported by the tool

·         An upper CASE tool supports front-end activities that focus upon capturing analysis and design information in the early stages of systems development. These CASE tools support, specifically, the modelling activities vital to the analysios and design stages of a development project

·         Lower CASE tools support the back-end activities of a development project. By this we mean those activities concerning aspects of physical design, programming and implementation.

·         I-CASE is used to desribe a tool that combines elements of both Upper CASE and Lower CASE tools into a single integrated development support environment

 

 

 

 

Upper CASE tool

Modeling Features, Analysis tools, Cross referencing tools, Central Repository, Documenetation generators

 

 Logical

I-CASE tool

Modeling Features, Analysis tools, Cross referencing tools, Code generators, Testing, Screen/Report generators, Central Repository, Documentation generators

 

 

 

 

 

 

 

 

Lower CASE tool

Code generators, Testing Screen/Report generators, Central Repository, Documentation generators

 

Physical

 

·         CASE tools can be classified based on functionality. Some of these is listed below:

Ø       Management tools: PERT tools, estimation tools

Ø       Editing tools: Test editors, diagram editors, word processors

Ø       Configuration management tools: Version management system, change management systems

Ø       Prototyping tools: Very high-level languages, user interface generators

Ø       Method supports tools: Design editors, data dictionaries, code generators

Ø       Language processing tools: Compiler, Interpreters

Ø       Program analysis tools: Cross-reference generators, static analyzers, dynamic analyzers

Ø       Testing tools: Test data generators, file comparators

Ø       Debugging tools

Ø       Documentation tools

Ø       Re-engineering tools: Cross-reference system, program restructuring systems

 

·         Existing CASE Environments can be classified along 4 different dimensions :

  • Life-Cycle Support
  • Integration Dimension
  • Construction Dimension
  • Knowledge Based CASE dimension

4.0      CASE Workbenches

·         CASE workbenches are collections of integrated tools, which support a specific software life cycle stage.

·         CASE tools to support analysis & design, programming and testing are widely used in industry.

·         The integration mechanism can be either public or proprietary

Ø       Public: the users can add their own tools to a workbench. Such a workbench is an open system

Ø       Proprietary: the addition of third-party tools is usually impossible. Such a workbench is closed system

 

·         The advantages of open workbenches are as follows:

  1. New specialist tools can be added
  2. The outputs from tools can be used by other systems, for example, a configuration management system
  3. More complex tools can be gradually introduced
  4. Different tool vendors can be used

 

·         Programming Workbenches: Is a set of integrated tools to support the process of program development.

·         A typical programming workbench includes the following tools:

·         Language compiler

·         Structured editor: to create and edit source programs

·         Linker: to link object code components

·         Loader: to load an executable program into the computer memory

·         Cross-referencer: to produce a cross-reference listings of source programs

·         Static analyzer: to analyze source programs in order to find anomalies

·         Dynamic analyzer: to analyze how many times each statement of a source program has been executed when the program was run

·         Interactive degugger: to trace and control the execution of user program

 

·         Analysis & Design Workbenches: Typical components of an analysis & design workbench are:

·         Diagramming editors: Are used to create DFDs, ERDS charts etc. The editor is not just a drawing tool but understands the meaning of different symbols/objects. It captures information about these objects and saves this information in a central repository.

·         Checking facilities: Are used to ensure that models created by analysts/designers are internally consistent and complete and all models are consistent with one another (externally consistent)

·         Query language facilities: Is used to browse the repository and examine completed designs

·         Data dictionary facilities: Are used to maintain information about the objects used in various diagrams

·         Report generation facilities: Are used to automatically generate system documentation

·         Form generation tools: Are used to specify screen and document formats

·         Skeleton code generators: Are used to generate code or code segments automatically from the design stored in the central repository

·         Import/Export facilities: Allow the interchange of information with other development tools

 

·         Testing Workbenches: Testing workbenches are open collections of testing tools. A typical testing workbench consists of:

·         Test manager: to record testing

·         Test data generator: to generate test cases

·         Oracle: to generate predictions of expected results

·         File comparators: to compare results of program test

·         Report generator: to automatically generate system documentation

·         Dynamic analyzer: to analyze how many times each statement of a source program has been executed when the program was run. It is useful to produce an execution profile of the tested program to achieve the proper coverage for white box testing

·         Simulator: to simulate an environment (Eg; hardware, users) for tested programs. Simulators are very useful when testing real-time systems

 

5.0      Benefits of CASE tools

1.

Project Management and control is improved: CASE tools can aid the project management and control aspects of a development environment. Some CASE tools allow for integration with industry-standard project management methods (such as PRINCE). Others incorporate project management tools such as PERT charts and critical path analysis. By its very nature, a CASE tool provides the vehicle for managing more effectively the development activities of a project.

2.

System Quality is improved: CASE tools promote standards within a development environment. The use of graphical tools to specify the requirements of a system can also help remove the ambiguities that often lead to poorly defined systems. Therefore, if used correctly, a CASE tool can help improve the quality of the specification, the subsequent design and the eventual working system.

3.

Consistency checking is automated: Large amounts of information about a business area and its requirement are gathered during the analysis phase of an information systems development project. Using a manual system to record and cross reference this information is both time-consuming and inefficient. One of the advantages of using CASE tool is that all data definitions and other relevant information can be stored in a central repository that can then be used to cross check the consistency of the different views being modelled.

4.

Productivity is increased: One of the most obvious benefits of a CASE tool is that it may increase the productivity of the analysis team. If used properly, the CASE tool will provide a support environment enabling analysts to share information and resources, manage the project effectively and produce supporting documentation quickly.

5.

The maintenance effort is better supported: It has been argued that CASE tools help reduce the maintenance effort required to support the system once it is operational. CASE tools can be used to provide comprehensive and up-to-date documentation – this is obviously a critical requirement for any maintenance effort. CASE tools should result in better systems being developed in the first place.

6.0   Problems associated with CASE tools

1.

Need for organization - wide commitment: To be used effectively, CASE tools require the commitment of the organisation. Every member of the development team must adhere to the standards, rules and procedures laid down by the CASE  tool environment.

2.

Unrealistic expectations: CSE tools cannot replace experienced business/systems analysts and designers. They cannot automatically design a system nor can they ensure that the business requirements are met. Analysts and designers still need to understand the business environment and identify the system requirements. CASE tools can only support the analytical skills of the developers, not replace them.

3.

Long learning curve: CASE is technical software. It will take time for the development team to get use to flow and use it effectively for development work.

 

4.

Costs of CASE tools: CASE tools are complicated software packages and are, therefore, expensive to buy. In addition to the initial costs, there are many ‘soft’ costs that have to be considered. These ‘soft costs’ include integration of the new tool, customising the new tool, initial and on-going training of staff, hardware costs and consultancy provided by the CASE tool vendor.

 

  • Common CASE risks and associated controls include:
    • Inadequate Standardization : Linking CASE tools from different vendors (design tool from Company X, programming tool from Company Y) may be difficult if the products do not use standardized code structures and data classifications. File formats can be converted, but usually not economically. Controls include using tools from the same vendor, or using tools based on standard protocols and insisting on demonstrated compatibility. Additionally, if organizations obtain tools for only a portion of the development process, they should consider acquiring them from a vendor that has a full line of products to ensure future compatibility if they add more tools.
    • Unrealistic Expectations : Organizations often implement CASE technologies to reduce development costs. Implementing CASE strategies usually involves high start-up costs. Generally, management must be willing to accept a long-term payback period. Controls include requiring senior managers to define their purpose and strategies for implementing CASE technologies.
    • Quick Implementation : Implementing CASE technologies can involve a significant change from traditional development environments. Typically, organizations should not use CASE tools the first time on critical projects or projects with short deadlines because of the lengthy training process. Additionally, organizations should consider using the tools on smaller, less complex projects and gradually implementing the tools to allow more training time.
    • Weak Repository Controls : Failure to adequately control access to CASE repositories may result in security breaches or damage to the work documents, system designs, or code modules stored in the repository. Controls include protecting the repositories with appropriate access, version, and backup controls.

 

 

7.0      Example of CASE tools

·         SELECT Enterprise : SELECT Enterprise is described as ‘ a dedicated modeling toolset for building scaleable client/server applications’ . it provides integrated business process modeling, use case and object modeling based upon the UML development environment.

·         ORACLE Designer 2000 : ORACLE designer is one of the products offered by the ORACLE corporation. It is described as ‘a model-based development toolset utilising a multi-user, repository-based environment’ . The definitions of all model elements (Eg; entities, table definitions) are centrally stored in a repository, making them available to all members of the development team when and where they require them. Designer 2000 supports a number of complementary analysis techniques : process models, entity relationship diagrams, data flow diagrams etc.

·          Rational Rose : Rational Rose is a CASE toolset designed to support the UML development environment. The main benefits of rational Rose are described as multi-language support (C++, JAVA, VB, ADA), integrates with other industry standard environments and has a platform-independent development environment.

Labels:

Software Process Models (Cont)

7:09 PM / Posted by Alagan / comments (0)

3.3      Prototyping Model

 ·         A prototype is a working model that is functionally equivalent to a component of the product.

·         In many instances the client only has a general view of what is expected from the software product.

·         In such a scenario where there is an absence of detailed information regarding the input to the system, the processing needs and the output requirements, the prototyping model may be employed.

·         This model reflects an attempt to increase the flexibility of the development process by allowing the client to interact and experiment with a working representation of the product.

·         The developmental process only continues once the client is satisfied with the functioning of the prototype.

·         At that stage the developer determines the specifications of the client’s real needs.

·         A prototype is an initial version of a software system which is used to demonstrate concepts, try out design options, and generally, to find out more about the problem and its possible solutions.

·         It is based on the idea of developing an initial implementation, exposing this to user comment and refining this through many versions until an adequate system has been developed.

·         There are two type of prototyping approaches:

o        Evolutionary Prototyping

o        ‘Throw-Away’ Prototyping

 





·         This approach extends the requirements analysis process with the intention of reducing overall life-cycle costs.

·         The principal function of the prototype is to clarify requirements and provide additional information for managers to assess process risks.

·         After evaluation, the prototype is thrown-away.

·         It is not used as a basis for further system development.

 3.4      Incremental Model

 ·         The waterfall model requires users to commit to a set of requirements and designers to commit to       particular design strategies.

·         Changes to the requirements during development require rework of the requirements, design and implementation.

·         However, the advantages of the waterfall model are that it is a simple management model and its separation of design and implementation should lead to robust systems which are amenable to change.

·         The prototyping approach to development allows requirements and design decisions to be delayed but also leads to software which may be poorly structured, difficult to understand and maintain.

·         Incremental development is an in-between approach which combines the advantages of both of these models.

·         Incremental approach to development is a mean of reducing rework in the development process and giving users some opportunities to delay decisions on their detailed requirements until they had some experience with the system.

·         The first increment is usually the core product which addresses the basic requirements of the system.

·         This maybe either be used by the client or subjected to detailed review to develop a plan for the next increment.

·         This plan addresses the modification of the core product to better meet the needs of the customer, and the delivery of additionally functionality.

·         More specifically, at each stage:

o        The client assigns a value to each build not yet implemented

o        The developer estimates cost of developing each build

o        The resulting value-to-cost ratio is the criterion used for selecting which build is delivered next

·         Essentially the build with the highest value-to-cost ratio is the one that provides the client with the most functionality (value) for the least cost.

·         Using this method the client has a usable product at all of the development stages.

·         When the services in an increment have a well-defined specification, a waterfall model may be used. If the specification is unclear, prototyping can be used.

·         Advantages:

1.

Customers do not have to wait until the entire system is delivered until they gain value from it. The first increment satisfies their most critical requirements so the software can be immediately used.

2.

Customers can use the early increments as a form of prototype and gain experience which informs the requirements for later system increments

3.

There is a lower risk of overall project failure. Although problems may be encountered in some increments, it is likely that some will be successfully delivered to the customer

4.

As the highest priority services are delivered first and later increments are integrated with them, it is inevitable that the most important system services receive the most testing. This means that customers are less likely to encounter software failures in the most important parts of the system

 

·         Problems

1.

Increments should be relatively small and each increment should deliver some system functionality. It may be therefore be difficult to map the customer’s requirements onto increments of the right size.

2.

Most system require a set of basic facilities which are used by different parts of the system. As requirements are not defined in detail until an increment is to be implemented, it is difficult to identify common facilities that all increments require


3.5      Spiral Model

 

·         Originally proposed by Boehm (1988)

·         The software process is represented as a spiral.

·         Each loop in the spiral represents a phase of the software process. E.g. the innermost loop might be concerned with system feasibility, the next loop with system requirements definition, the next loop with system design and so on.

·         The evolutionary process begins at the centre position and moves in a clockwise direction.

·         Each traversal of the spiral typically results in a deliverable.

·         An important distinction between the spiral model and other software models is the explicit consideration of risk.

·         There are no fixed phases such as specification or design phases in the model and it encompasses other process models.

Each loop in the spiral is split into 4 sectors

Labels: