ecss-q-80a
ecss-q-80a
19 April 1996
EUROPEAN COOPERATION
ECSS
FOR SPACE STANDARDIZATION
Space Product
Assurance
ECSS Secretariat
ESA–ESTEC
Requirements & Standards Division
Noordwijk, The Netherlands
ECSS–Q–80A
19 April 1996 ECSS
2
ECSS–Q–80A
ECSS 19 April 1996
Foreword
This standard is one of the series of ECSS Standards intended to be applied to-
gether for the management, engineering and product assurance in space projects
and applications. ECSS is a cooperative effort of the European Space Agency,
National Space Agencies and European industry associations for the purpose of
developing and maintaining common standards.
Requirements in this standard are defined in terms of what must be accom-
plished, rather than in terms of how to organise and perform the necessary work.
This allows existing organisational structures and methods to be applied where
they are effective, and for the structures and methods to evolve as necessary with-
out rewriting the standards.
The formulation of this standard takes into account the existing ISO 9000 family
of documents.
This standard has been prepared by the ECSS Product Assurance Working
Group, reviewed by the ECSS Technical Panel and approved by the ECSS Steer-
ing Board.
3
ECSS–Q–80A
19 April 1996 ECSS
4
ECSS–Q–80A
ECSS 19 April 1996
Contents List
Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Definitions and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 Interfaces with Other Disciplines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.5 Applicability – Tailoring Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.6 Responsibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.7 Applicable and Reference Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.8 Structure and Presentation of this Standard . . . . . . . . . . . . . . . . . . . . . . . . . 11
5
ECSS–Q–80A
19 April 1996 ECSS
3 Requirements on Life–Cycle Activities and Processes . . . . . . . . 17
Figures
6
ECSS–Q–80A
ECSS 19 April 1996
General
1.1 Scope
This standard defines a set of requirements to be used in Software Product Assur-
ance for the development and maintenance of software for space systems. Space
systems include manned and unmanned spacecraft, launchers, payloads, experi-
ments and their associated ground equipment and facilities. Software includes
the software component of firmware.
This standard also applies to the development of non-deliverable software which
affects the quality of the deliverable product.
This standard shall be tailored as defined in 1.5 to a specific contract or project
when Software Product Assurance Requirements are prepared.
This standard supplements ECSS–Q–00 “Product assurance” and ECSS–Q–20
“Quality assurance”, and it has interfaces with:
ECSS–M–00 Programme Management
ECSS–M–40 Configuration Management
ECSS–M–50 Documentation Management
ECSS–Q–30 Dependability Management
ECSS–Q–40 Safety.
1.2 Objectives
The objectives of software product assurance are to provide adequate confidence
to the customer and to the contractors that developed or re–used software sat-
isfies the requirements throughout the system lifetime. In particular the soft-
ware should perform properly and safely in the operational environment and the
software product should meet quality objectives.
This standard (as tailored for a particular contract) contributes to these objectives
by defining the software product assurance requirements to be met in a particular
space project. These requirements deal with quality management and frame-
work, life cycle activities and process definition and quality characteristics of
products.
7
ECSS–Q–80A
19 April 1996 ECSS
1.3 Definitions and Abbreviations
1.3.1 Definitions
For the purposes of this standard, the definitions given in ECSS–P–001 Issue 1
apply. In particular, it should be noted that the following terms have a specific de-
finition for use in ECSS standards.
The following terms and definitions are specific to this standard and shall be ap-
plied.
“Acceptance Testing
The test of a system or functional unit usually performed by the customer on his
premises after installation with the participation of the supplier to ensure that
the contractual requirements are met [ISO 2382].”
“Assessment
An action of applying specific documented assessment criteria to a specific soft-
ware module, package, or product for the purpose of determining acceptance or
release of the software module, package or product [ISO 9126].”
“Critical Software
A defined set of software components which have been evaluated and whose con-
tinuous operation has been determined to be essential for safe and reliable oper-
ation of the system. Critical software is composed of two independent elements:
Reliability Critical Software and Safety Critical Software. [PSS–01–21]
Reliability Critical Software
Software which has been evaluated and found to have a Functional Effect
Severity Category at level 1 or 2.
Safety Critical Software
Software which has been evaluated and found to: a) have a hazard Conse-
quence category at level 1, or b) perform emergency caution and warning func-
tions, or c) initiates escape and rescue functions.”
“Integration Test (IT)
a. The progressive linking and testing of programs or modules in order to en-
sure their proper functioning in the complete system [ISO 2382].
b. Testing in which software components, hardware components, or both are
combined and tested to evaluate the interaction between them [IEEE].”
“Metric
A quantitative measure of the degree to which a system, component, or process
possesses a given attribute [IEEE].”
“Portability (a Quality Characteristic)
A set of attributes that bear on the ability of software to be transferred from one
environment to another [ISO 9126].”
“Quality Characteristics (Software)
A set of attributes of a software product by which its quality is described and
evaluated. A software quality characteristic may be refined into multiple levels
of subcharacteristics [ISO 9126].”
“Quality Model (Software)
A model that relates Quality Characteristics to attributes of processes or prod-
ucts. Quality models permit the early prediction of Quality Characteristics by
measuring related attributes.”
“Regression testing (Software)
Selective retesting to detect faults introduced during modification of a system or
system component, to verify that the modifications have not caused unintended
8
ECSS–Q–80A
ECSS 19 April 1996
1.3.2 Abbreviations
The following abbreviation is defined and used within this standard.
Abbreviation Meaning
ISVV Independent software verification and validation
9
ECSS–Q–80A
19 April 1996 ECSS
target system (e.g. embedded processor, host system, programmable devices, ap-
plication-specific integrated circuits) should also be taken into account.
Tailoring for dependability and safety aspects should be based on the selection of
requirements which are related to the verification, validation and levels of proofs
demanded of the critical software. The application of software dependability and
safety techniques as described in sub–clause 3.2.2 of this standard should also be
considered.
Tailoring for software development constraints should take account of the special
characteristics of the software being developed, and of the development environ-
ment. Specific requirements for verification, review and inspection should be im-
posed, for example, when full validation on the target computer is not feasible or
where performance goals are difficult to achieve.
Tailoring for product quality objectives and commercial parameters should be
done by selecting requirements on quality of the product as explained in clause
4 of this standard. This process requires the customer to specify the quality objec-
tives for the product.
The existence of software of differing criticality in the development should be ac-
counted for in tailoring. This ensures that inspection effort, etc is directed at soft-
ware which is truly critical, whilst software of lower criticality can be developed
using more economical methods and procedures. The customer and supplier
should consider defining and applying levels of software criticality, based on the
dependability and safety analysis and other drivers, to aid the tailoring process.
1.6 Responsibilities
The customer is responsible for ensuring that the Software Product Assurance
requirements derived from this standard by the tailoring process (see 1.5) express
his requirements completely and unambiguously.
The supplier is responsible for the compliance of himself and of his subcontractors
with the Software Product Assurance requirements and for providing the speci-
fied evidence of compliance.
To this end the supplier is also responsible for specifying the software product as-
surance requirements for his subcontractors, taking into account their responsi-
bilities and the specific nature of their deliverables.
10
ECSS–Q–80A
ECSS 19 April 1996
11
ECSS–Q–80A
19 April 1996 ECSS
Certain requirements are labelled as “Assurance activities”, which are often im-
plemented by an independent software product assurance function. This label-
ling is for guidance (see also ECSS–Q–80–2), and it is not intended to impose any
particular organisation on the supplier except as specified in clause 2.1.
This standard includes requirements on the process which generate a
framework in which the standard is to be applied. These requirements
are marked “(RE)”.
12
ECSS–Q–80A
ECSS 19 April 1996
2.1.1
The supplier shall ensure that an organisational structure is defined for software
development, and that individuals have defined tasks and responsibilities.
2.1.3 Resources
ECSS–Q–00 sub–clause 3.3.2 is applicable.
13
ECSS–Q–80A
19 April 1996 ECSS
2.1.5 Training
a. Personnel performing specific assigned tasks shall be qualified on the basis of
appropriate education, training and/or experience.
REQUIRED OUTPUT: Records of training/experience
The subjects to be addressed should be determined in the light of the specific tools,
techniques, methodologies and computer resources to be used in the development
and management of the software product. It may also be necessary to require that
personnel undergo training to acquire skills and knowledge relevant to the spe-
cific field with which the software is to deal.
14
ECSS–Q–80A
ECSS 19 April 1996
Before acceptance testing, the software product assurance plan should be sup-
plemented to specify the quality measures applied during the warranty phase.
These measures should be restated in the maintenance plan.
e. The supplier shall provide with his software product assurance plan a com-
pliance matrix documenting his compliance with the software product assur-
ance requirements applicable for the project/contract.
REQUIRED OUTPUT: Compliance matrix
2.3.3 Audits
ECSS–Q–20 clause 2.6 is applicable.
2.3.4 Alerts
ECSS–Q–20 clause 3.7 is applicable.
2.3.5 Nonconformances
a. ECSS–Q–20 clause 3.6 is applicable with “Material Review Boards” being re-
placed by “Software Review Boards”.
b. The Software Review Board shall be established at all contractual levels and
include, at least, a representative from the software product assurance and the
software engineering organisations.
c. The software product assurance plan shall specify the point in the software life
cycle from which the nonconformance procedures have to be applied.
15
ECSS–Q–80A
19 April 1996 ECSS
2.4 Risk Assessment and Critical Item Control
2.4.1
For risk assessment ECSS–M–00, is applicable.
2.4.2
For critical item control ECSS–Q–20 clause 2.8 is applicable.
2.5.1
The supplier shall establish appropriate software product assurance require-
ments for the subcontractors, including a requirement to produce a subcontractor
product assurance plan.
REQUIRED OUTPUT: Software product assurance requirements for subcontractors
for customer’s acceptance
Assurance activity:
2.5.2
a. The supplier shall monitor the subcontractors for compliance with the product
assurance requirements.
b. The monitoring process shall include the review and approval of the subcon-
tractors’ product assurance plan, the continuing verification of process and
products, and the monitoring of the final validation of the product.
The supplier should ensure that appropriate software process development is de-
fined and applied by the subcontractor in compliance with the software product
assurance requirements for subcontractors.
REQUIRED OUTPUT: Subcontractors’ Software product assurance plan for cus-
tomer’s acceptance
Assurance activity:
2.5.3
The supplier shall ensure that the subcontracted software is correctly classified
for dependability and safety criticality, if this classification forms part of the sub-
contract.
16
ECSS–Q–80A
ECSS 19 April 1996
3.1.1
(RE) The supplier shall define and follow a software development and mainten-
ance life cycle for each software product.
The software life cycle should take into account the technical characteristics and
development constraints for the software.
3.1.2
This life cycle shall be defined or referenced in the software product assurance
plan.
REQUIRED OUTPUT: Software development and maintenance life–cycle definition
Assurance activity:
3.1.3
The software life cycle shall be reviewed against the contractual software engin-
eering and product assurance requirements.
Assurance activity:
3.1.4
The software life cycle shall be reviewed for suitability and for the availability of
resources to implement it by all functions involved in its application.
The life cycle should be associated with choices of techniques used during the de-
velopment of the software product (database management system, extensive
product re-use, man/machine interface generators, etc) and with the risks in-
herent in the project (highly changeable product specifications, stringent sched-
ule constraints, project size, etc.).
17
ECSS–Q–80A
19 April 1996 ECSS
Development phases
3.1.5
(RE) In order to ensure effective assurance, software development shall be broken
down into successive phases from the statement of requirements to the entry of
the software into service.
These phases, and the milestones marking the transitions between them, consti-
tute the software development life cycle.
3.1.6
(RE) A software specification phase shall be included at the beginning of the de-
velopment life cycle.
3.1.7
(RE) A validation phase, covering the whole software product, shall be included
at the end of the development life cycle.
3.1.8
(RE) The maintenance phase and the interfaces between the development and
maintenance (e.g. the documents to be produced, allocation of responsibilities)
shall be identified in the software life cycle.
The software development cycle should be included in the system development
cycle into which it will be integrated.
3.1.9
The development cycle of embedded software shall be compatible with that of the
hardware into which it will be embedded.
3.1.10
(RE) The development life cycle shall define the required inputs and outputs for
each development phase.
These should be chosen to permit effective verification of the outputs against the
inputs.
3.1.11
(RE) The required outputs of each phase shall include documents, in outline or
complete versions, and the results of verification activities on the phase technical
outputs.
The required outputs should be related to the tools and methods used for the soft-
ware development.
3.1.12
The outputs of each phase shall identify those characteristics of the product that
are crucial to its safe and proper functioning.
Milestones
3.1.13
(RE) A series of milestones (reviews or technical meetings) shall be defined for
each software product.
3.1.14
The role of the customer at these milestones shall be defined.
18
ECSS–Q–80A
ECSS 19 April 1996
3.1.15
(RE) Milestone meetings shall examine the work carried out in the previous
phase and assess the level of preparation for the next phase.
3.1.16
Milestones allowing an overall system view of the activities performed on each
component shall be established at complete software level.
Assurance activity:
3.1.17
(RE) A milestone shall be scheduled immediately before the software validation
phase, to check that the software status is compatible with the commencement
of validation activities and that the necessary resources, software product assur-
ance plans, test case specifications and procedures, simulators etc. are available.
3.1.18
(RE) A milestone shall be scheduled at the completion of software validation, for
a summary review of the test reports.
REQUIRED OUTPUT: Definition of milestones
19
ECSS–Q–80A
19 April 1996 ECSS
S classification of software product according to its functional criticality;
S use of program design language, if it is used in the detailed design;
S use of coding languages.
g. Procedures and project standards shall include provision for all classes of soft-
ware included in the project.
h. All procedures and project standards shall be finalised before the phase for
which they are applicable is started.
REQUIRED OUTPUT: Procedures and Standards
Assurance activity:
i. Each procedure or standard shall be reviewed against the relevant plans and
contractual requirements.
Assurance activity:
j. Before any phase is started, each procedure or standard for that phase shall
be reviewed by all functions involved in its application for suitability and for
the availability of resources to implement it.
Document preparation
k. Typical plans and writing guides shall be prepared before the phase in which
the documents have to be produced.
REQUIRED OUTPUT: The typical plans and writing guides
20
ECSS–Q–80A
ECSS 19 April 1996
21
ECSS–Q–80A
19 April 1996 ECSS
Assurance of change control
The following activities are in addition to the configuration management audits
required by ECSS–M–40. They apply to both development and maintenance
phases.
d. The supplier shall ensure that all authorised changes are implemented ac-
cording to the requirements of the software configuration management plan.
e. The supplier shall ensure that only appropriately authorised changes are
made.
Software configuration management tool
The use of a computer-based configuration management tool is recommended.
The following requirements apply to any computer-based tool that is used.
f. The configuration management tool shall be compatible with the customer’s
interface requirements to ensure effective delivery and continuity in post-ac-
ceptance configuration management.
g. (RE) The configuration management tool shall be identified in the configur-
ation management implementation document.
REQUIRED OUTPUT: Identification of the software configuration management tool
Control of documents
h. The following documents shall be controlled (see ECSS–Q–20 clause 3.1):
S procedural documents describing the quality system to be applied during
the software life cycle;
S planning documents describing the planning and progress of the contract
activities;
S documents describing a particular software product, including:
* development phase inputs
* development phase outputs,
* verification and validation plans and results,
* test case specifications, test procedures and test reports,
* traceability matrices
* documentation for the software and system operators and users,
* maintenance documentation.
Protection and marking
i. The supplier shall establish a mechanism to protect all supplied software
(source, executable, data, ... ) against corruption.
REQUIRED OUTPUT: Identification and protection method or tool
For all software products in operational use, the supplier should use a checksum-
type identification key calculation and checking software on each executable bi-
nary or each file considered to be a supply (source, database).
The checksum value should be specified in the software configuration file.
The identification key should be used:
D prior to each delivery;
D at reception to check identification.
If the protection mechanism used is based on a supplier-specific tool, this tool
should be supplied to the customer along with the delivered software products.
j. (RE) The software media deliverable to the customer shall be marked by the
supplier during the preparation of each delivery, indicating the following
minimum information:
S the software name;
22
ECSS–Q–80A
ECSS 19 April 1996
3.2.5 Verification
Verification is the process of evaluating the products of a given phase to ensure
correctness and consistency with respect to the products and standards provided
as input to that phase.
Verification includes various techniques such as review, inspection, testing, walk-
through, cross-reading, desk-checking, and many types of analysis such as trace-
ability analysis, formal proof, fault tree analysis, etc. (Note that the term “review”
includes both joint reviews with the customer and internal reviews.)
a. (RE) Verification activities shall be carried out according to a comprehensive
verification plan.
b. (RE) The plan shall identify all tools, facilities, training and skills required to
carry out the verification activities.
c. (RE) The first version of the verification plan shall be provided at the first mile-
stone.
REQUIRED OUTPUT: Verification plan
23
ECSS–Q–80A
19 April 1996 ECSS
The verification plan may be part of a verification and validation plan. This would
include plans for all testing (test designs).
General requirements
d. The outputs of each development phase shall be verified for conformance
against the inputs to that phase, to demonstrate that they:
S meet the relevant requirements;
S conform to appropriate development standards;
S contain or reference acceptance criteria for forwarding to subsequent
phases;
S identify those characteristics of the product that are crucial to its safe and
proper functioning (e.g. operating margins of the computing resources or
performances of operating systems on which the application is to run).
e. A summary of verification activities undertaken for each phase, and of their
results, shall be included in regular software product assurance reports.
f. The verification results, including any software problem reports, and any
further actions required to ensure that the specified requirements are met
shall be recorded and checked when the action is completed.
REQUIRED OUTPUT: Verification reports and software problem reports
Only outputs which have been subjected to planned verifications should be sub-
mitted to configuration management and accepted as inputs for subsequent
phases.
Assurance activity:
g. The supplier shall:
S ensure that the planned verification activities are adequate to ensure the
products of each phase are compliant;
S ensure that verification activities are performed according to the plan;
S ensure that the planned verification activities include full verification of
critical software (see sub–clause 3.2.2) at each stage of its development.
Inspections and Reviews
h. (RE) Inspection and review activities shall be described in the Software verifi-
cation plan.
i. (RE) Each inspection shall be based on a written procedure.
j. (RE) The inspection procedures shall specify:
S the inspected items;
S the person in charge;
S participants;
S the means of inspection (tools, check list, etc...);
S the nature of the report.
k. (RE) In addition to the contractually specified joint reviews, the supplier shall
include a schedule for internal reviews as part of the verification process.
REQUIRED OUTPUT: Inspection and review schedule as part of the verification plan
l. Reviews shall be carried out according to defined criteria, by someone other
than the author of the reviewed item.
m. Review records shall be kept which identify the reviewed item, the author, the
reviewer, the review criteria and the finding of the review.
REQUIRED OUTPUT: Review records
24
ECSS–Q–80A
ECSS 19 April 1996
Tracing
n. (RE) Traceability matrices documenting consistency shall be established
covering:
S system/user requirements to software requirements;
S software requirements to design;
S design to code;
S integration tests to major components of the architecture;
S software requirements to system test documentation;
S system/user requirements to validation / acceptance documentation.
REQUIRED OUTPUT: Traceability Matrices
Assurance activity:
o. The traceability matrices shall be verified at the completion of each phase.
Independent Software Verification and Validation (ISVV)
Note that this requirement should only be applied where the risks associated with
the project justify the costs involved. The purchaser may also consider a less rig-
orous level of independence, e.g. an independent team in the same organisation.
p. Independent software verification shall be performed for highly critical soft-
ware.
ISVV is not considered to be merely ’independent’ testing of the product. The con-
cept of ISVV includes the necessity of setting up an independent team of highly
qualified staff composed of specialists from all disciplines including software
product assurance. This team should, independently of the development team,
perform verification activities such as conducting reviews, inspections, testing,
auditing, etc..
REQUIRED OUTPUT: ISVV plan and ISVV report
25
ECSS–Q–80A
19 April 1996 ECSS
Assurance activity:
d. The correct use of methods and tools shall be verified and reported for mile-
stones.
26
ECSS–Q–80A
ECSS 19 April 1996
to begin with analysis to fully and unambiguously define the software require-
ments on the basis of these inputs.
The supplier should develop these requirements in close co-operation with the
customer and the supplier should obtain the customer’s approval before entering
the development stage. In some cases, the software requirements specification is
provided by the customer. The requirements specification should be subject to
documentation control and configuration management as part of the develop-
ment documentation.
a. (RE) Software requirements shall be analysed before any software develop-
ment is started and documented in a software requirements specification.
b. (RE) The software requirements specification shall be prepared and submitted
for customer approval (at a defined milestone) before software development
begins.
REQUIRED OUTPUT: The software requirements specification
c. When the software forms part of a system, the (functional) software require-
ments shall be derived from analyses at system level.
d. (RE) In addition to the functional requirements, these requirements shall in-
clude all aspects necessary to satisfy the customer’s need.
These should include, but are not limited to, the following: performance, safety,
reliability, quality, maintainability, configuration management, security, privacy,
metrication, verification and validation.
e. (RE) The following interface requirements shall be fully specified, either di-
rectly or by reference (i.e. interface control document), in the software require-
ments specification:
S between the software product and other software products
S between the software product and hardware products
S interface requirements relating to the man/machine interface.
During the development of the software requirements specification, attention
should be paid to the following:
D assignment of persons (on both sides) responsible for establishing the software
requirements specification;
D methods for agreeing on requirements and approving changes;
D efforts to prevent misunderstandings such as definition of terms, explanations
of background of requirements;
D recording and reviewing discussion results on both sides.
3.3.2 Design
The design and implementation activities are those which transform the cus-
tomer’s requirements specification into a software product. Because of the com-
plexity of software products, these activities should be carried out in a disciplined
manner, in order to produce a product according to specification rather than de-
pending on the validation tests for assurance of quality.
The level of information disclosure to be provided to the customer should be mu-
tually agreed to by the parties, as design and implementation processes are fre-
quently proprietary to the supplier.
The design specification should be subject to documentation control and configur-
ation management as part of the development documentation. The implementa-
tion process (i.e. coding, integration and testing) should not proceed until the
consequences of all known deficiencies are satisfactorily resolved or the risk of
proceeding otherwise is known.
27
ECSS–Q–80A
19 April 1996 ECSS
a. (RE) A systematic design methodology appropriate to the type of software
product being developed and suitable tools shall be used, and defined or refer-
enced in the software product assurance plan.
REQUIRED OUTPUT: Definition of methodology and tools
b. Mandatory and advisory design standards shall be defined and applied.
REQUIRED OUTPUT: Design standards
Assurance activity:
c. Adherence to design standards shall be verified.
Assurance activity:
d. The complexity and modularity of the design shall be checked to ensure
achievement of maintainability and reusability goals.
It is recommended that these checks be implemented in parallel to the design pro-
cess so as to ensure that the results are easily taken as inputs by the designers.
e. The nature of the checks, the criteria, the tools used and the relationship to
the design team shall be described in the software Product Assurance Plan.
f. Synthesis of results obtained and corrective actions implemented shall be de-
scribed in quality assessment reports.
REQUIRED OUTPUT: : Description of checks in the software product assurance plan
and results in software product assurance reports
3.3.3 Coding
a. (RE) Standards such as programming rules, programming languages, consist-
ent naming conventions, coding and adequate commentary rules shall be
specified and observed.
b. The standards shall be designed to ensure consistency with the product qual-
ity requirements (see clause 4.2).
The coding standards should be appropriate to the software quality objectives (see
clause 4.1).
c. A description of the tools to be used in implementing the standards shall be
provided to the customer before coding activities start.
Assurance activity:
d. Coding standards shall be reviewed to ensure that they reflect product quality
requirements and quality objectives.
REQUIRED OUTPUT: Coding standards and description of tools for customer’s ac-
ceptance
e. (RE) If no high-level programming language is selected this choice shall be
justified.
REQUIRED OUTPUT: Document justifying suitability of the language.
Assurance activity:
f. Complexity measures shall be performed on code in order to ensure achieve-
ment of maintainability and re–usability goals.
This measurement should be implemented in parallel with the coding process to
ensure that the results are easily taken as inputs by the developers.
REQUIRED OUTPUT: Description of complexity measures in the software product
assurance plan and results in software product assurance re-
ports
As far as possible, automatic means to measure adherence of the code to the cod-
ing standards should be used.
28
ECSS–Q–80A
ECSS 19 April 1996
29
ECSS–Q–80A
19 April 1996 ECSS
Assurance activity:
g. At each test phase, test coverage shall be checked with respect to the stated
objectives.
As far as possible, this check should be made with an automatic tool to measure
coverage obtained.
h. The measurements shall be performed throughout the test programme (unit,
integration and system test).
The supplier should implement these measurements in a way that allows devel-
opers to take the results as inputs.
i. The means and organisation to perform this task shall be described in the Soft-
ware Product Assurance Plan.
j. The level of coverage obtained shall be described in the quality assessment re-
ports.
REQUIRED OUTPUT: Required output Collected data and analysis of the results in
the software product assurance report
Assurance activity:
k. The supplier shall ensure that anomalies and changes in test conditions are
properly documented.
Assurance activity:
l. During the validation and acceptance tests, the supplier shall ensure that re-
sults and events are accurately and fully recorded in the test report.
REQUIRED OUTPUT: Test reports and associated tracking elements
m. (RE) Any discovered problems and their possible impacts on any other parts
of the software shall be reported as problem reports and those responsible noti-
fied.
Assurance activity:
n. The supplier shall ensure that problem reports and subsequent actions are
properly closed off.
Assurance activity:
o. Provisions shall be made to allow witnessing of tests by the customer.
Assurance activity:
p. Provisions shall be made to allow witnessing of tests by supplier personnel
independent of the development (e.g. specialist software product assurance
personnel).
Assurance activity:
q. The supplier shall ensure that tests are conducted in accordance with ap-
proved test case specifications and procedures, that the configuration under
test is correct, that the tests are properly documented and that the test reports
are up to date and valid.
Assurance activity:
r. The supplier shall ensure that tests are repeatable by verifying the storage /
recording of tested software, support software, test environment, supporting
documents and problems found.
s. The fact that tests have been successfully completed to plan shall be certified
by the supplier.
REQUIRED OUTPUT: Test certification
t. (RE) Review boards shall be convened after the completion of key test phases.
Note that software product assurance personnel may attend this review to carry
out the assurance activities appropriate to this phase.
30
ECSS–Q–80A
ECSS 19 April 1996
Regression testing
u. Areas affected by any modifications shall be identified and re-tested (re-
gression testing).
v. In case of re-testing all test related documentation (test case specifications,
procedures, reports) shall be updated accordingly.
REQUIRED OUTPUT: Updated test documentation
Validation
w. (RE) Validation tests shall cover all requirements of the software require-
ments specification.
x. (RE) Verification of the user documentation shall be part of the validation acti-
vities.
y. Validation shall be carried out by staff who have not taken part in the design
or coding of the software being validated.
This may be achieved at the level of the whole system, or on a subsystem by sub-
system basis.
z. Validation of embedded software for flight equipment shall include tests of the
equipment model without “patching” the software under test.
Assurance activity:
aa.For software for which long life maintenance occurs, the supplier shall review
the test documentation to ensure that it is up to date and organised to facilitate
its re-use in the maintenance phase.
Independent Software Verification and Validation (ISVV)
ab.Independent software validation shall be performed for highly critical soft-
ware. (See sub–clause 3.2.5 for guidance on ISVV.)
Tests should be organised as activities in their own right in terms of planning, re-
sources and team composition. The necessary resources should be identified as
early as possible in the life cycle taking into account the operating and mainten-
ance requirements. Test tool development or acquisition (hardware and software)
should be planned for in the overall project plan.
The supplier should establish and review the test designs, test case specifications
and procedures before starting testing activities. The supplier should also docu-
ment the constraints of the tests concerning physical, performance, functional,
controllability and observability limitations.
Before offering the product for delivery and customer acceptance, the supplier
should validate its operation as a complete product, when possible under condi-
tions similar to the application environment as specified in the requirements
specification.
Where testing under field conditions occurs, the following concerns should be ad-
dressed:
the features to be tested in the field environment;
the specific responsibilities of the supplier and customer for carrying out and
evaluating the test;
restoration of the user environment (after test).
31
ECSS–Q–80A
19 April 1996 ECSS
The roles, responsibilities and obligations of the supplier and customer during in-
stallation should be clearly established.
a. The planning and documentation of the installation shall cover as a minimum
the schedule, access (security badges, passwords, escorts), availability of
skilled personnel, availability and access to target environment/equipment,
the need for testing as part of each installation, and formal approval of each
installation upon completion.
REQUIRED OUTPUT: Installation plan
The method of handling problems detected during the acceptance procedure and
their disposition should be agreed between the customer and supplier and should
be documented.
b. (RE) The supplier shall establish an acceptance test plan (design and test case
specifications) specifying the intended acceptance tests which may be sup-
plemented by the customer, if necessary, with tests suited to the target envi-
ronment.
REQUIRED OUTPUT: Acceptance test plan for acceptance by the customer
The acceptance tests may be partly made up of tests used during previous test
activities.
The acceptance test plan should take into account the requirement for oper-
ational demonstration, either as part of acceptance or after acceptance.
c. The supplier shall ensure before the software is presented for customer accept-
ance:
S that the delivered software complies with the contractual requirements (in-
cluding any specified content of the software acceptance data pack)
S that the source and object code supplied correspond to each other
S that all agreed changes have been implemented
S that all nonconformances are either resolved or declared.
d. Acceptance shall include generation of the executable code from configuration
managed source code components and its installation on the target environ-
ment.
e. Any discovered problems shall be documented in nonconformance reports.
f. On completion of the acceptance tests a report shall be drawn up and be signed
by the supplier’s representatives, the customer’s representatives, the software
quality engineers of both and the representative of the organisation charged
with the maintenance of the software product.
g. The acceptance test report shall certify conformance to the procedures and
state the conclusion concerning the test result for the software product under
test (accepted, conditionally accepted, rejected).
REQUIRED OUTPUT: Acceptance test report
32
ECSS–Q–80A
ECSS 19 April 1996
33
ECSS–Q–80A
19 April 1996 ECSS
The maintenance plans and procedures should include the following:
scope of maintenance;
identification of the initial status of the software product;
support organisation;
maintenance activities;
maintenance records and reports.
All maintenance activities should be recorded in pre-defined formats and re-
tained. Rules for the submission of maintenance reports should be established
and agreed as part of the maintenance plan.
j. Maintenance records including as a minimum the following information, shall
be established for each software product:
list of requests for assistance or problem reports that have been received and
the current status of each;
organisation responsible for responding to requests for assistance or imple-
menting the appropriate corrective actions;
priorities that have been assigned to the corrective actions;
results of the corrective actions;
statistical data on failure occurrences and maintenance activities.
The record of the maintenance activities may be utilised for evaluation and en-
hancement of the software product and for improvement of the quality system it-
self.
34
ECSS–Q–80A
ECSS 19 April 1996
4.1.1
The supplier shall define assurance activities to ensure that the product meets
the quality objectives as specified in the contract.
Assurance activity:
4.1.2
The software quality objectives shall be derived from the reliability, safety, main-
tainability and quality requirements of the system.
Assurance activity:
4.1.3
Quality models shall be used to specify the required quality objectives.
This can be done by reference to a quality model such as MacCall or ISO 9126. The
following subjects should be considered:
portability especially for long–life software for ground segments;
maintainability especially for long–life software fore ground segments;
re–usability;
correctness.
As far as possible, quantitative objectives or constraints should be expressed.
4.1.4
To achieve these objectives, the contractors shall apply rules on design, code and
documentation and define a metrication programme to verify and prove that the
objectives are reached.
Requirements on how these rules and metrics are to be set up are defined in the
following sub–clauses of this clause.
REQUIRED OUTPUT: Required output: Description of the metrics chosen, the
measurement tools used and the planning of measurement
35
ECSS–Q–80A
19 April 1996 ECSS
Product metrics
4.1.5
The supplier shall define the relevant metrics, and the means to obtain them, to
predict / assess / estimate the actual quality characteristics of the product for
comparison with those required.
Guidance on metric set selection is provided in ECSS–Q–80–4.
4.1.6
These measurements shall be performed throughout the development and the re-
sults obtained used to define corrective actions when necessary.
4.1.7
The results shall be used to provide the customer with an insight into the level
of quality obtained through software product assurance reports.
4.1.8
The following basic products metrics shall be considered for use:
– size (design, code);
– complexity (design, code);
– fault density and/or failure intensity;
– test coverage;
– number of failures.
REQUIRED OUTPUT: Products metrics specification and justification in software
product assurance plan
4.1.9
Metrics chosen shall be collected, stored, analysed and reported on a regular
basis.
4.1.10
The metrics shall be analysed against target values or quality objectives and re-
medial actions taken, if necessary, to ensure achievement of quality goals..
REQUIRED OUTPUT: Report of the analysis and remedial actions in the software
product assurance report
Numerical accuracy
4.1.11
For software in which numerical accuracy has a functional importance (e.g. for
an attitude and orbit control subsystem) specific rules on design and code shall
be defined to ensure that the appropriate level of accuracy will be obtained.
4.1.12
Numerical errors shall be estimated and checked from the design phase to the end
of development.
REQUIRED OUTPUT: Result of studies on numerical errors presented at each mile-
stone of the software development.
36
ECSS–Q–80A
ECSS 19 April 1996
4.1.13
The supplier shall define the organisation and means implemented to collect and
analyse data required for the study of software behaviour (failures, corrections,
duration of runs, ...).
4.1.14
Data shall be collected with respect to predetermined procedures, and processed
to derive:
– descriptive statistics (e.g. the number of modules at each level of complexity);
– trend analysis.
4.1.15
These data shall be used to determine when further actions are necessary to im-
prove the software.
REQUIRED OUTPUT: Records of data collection, analysis and results and actions for
improvement
37
ECSS–Q–80A
19 April 1996 ECSS
S implementation;
S validation.
f. For software with a long planned lifetime over which it is planned to be main-
tained, the design of the software shall minimise dependency on the operating
system and the hardware, in order to aid portability.
REQUIRED OUTPUT: Product quality requirements reflected in coding and design
standards
4.2.3 Code
Further requirements on code beyond those specified in sub–clause 3.3.3 (e.g. a
customer-specific coding standard, permitted language subsets) should be in-
serted here during tailoring.
4.4.1
The choice of purchased software (including commercial off the shelf COTS soft-
ware) shall take into account constraints associated with development and future
use.
The following aspects should be considered:
D the assessment of the product with respect to quality requirements and objec-
tives;
D the available support documentation;
D the acceptance and warranty conditions;
38
ECSS–Q–80A
ECSS 19 April 1996
4.4.2
a. The choice of purchased software shall be described and submitted for cus-
tomer acceptance in the form of a software component list.
b. The software component list shall include specification of, at least:
S ordering criteria (versions, options, extensions, etc.);
S receiving inspection criteria;
S arrangements for maintenance and upgrades to new releases;
S back-up solutions if the product becomes unavailable;
S contractual arrangements for the development and maintenance phases.
REQUIRED OUTPUT: Software component list at first milestone
4.4.3
All the purchased software which will be used in the operational system shall be
identified and registered by configuration management.
Assurance activity:
4.4.4
The supplier shall subject the purchased software to a planned receiving inspec-
tion against pre-defined criteria before its acceptance.
4.4.5
A receiving inspection report (including identification of detected problems) shall
be generated.
It could be necessary to specify supplementary specific tests associated with the
service environment.
Standard hardware
4.4.6
The subcontracting and procurement of hardware shall be carried out according
to the requirements of ECSS–Q–20 clause 5.
4.4.7
The choice of purchased hardware shall take account of the constraints associated
with both the development and the actual use.
4.4.8
The ground computer equipment required for implementing the final system
shall be selected according to the project requirements regarding:
– performance;
– availability;
– possibility of changes;
– compatibility;
– maintenance and durability.
39
ECSS–Q–80A
19 April 1996 ECSS
4.4.9
The ease of maintenance and maintenance policy proposed by the manufacturer,
including any substitutions, shall be comparable with the specified service life
and operational constraints.
4.4.10
Any constraints regarding exportability shall also be taken into account.
4.4.11
The development computer equipment shall be selected according to the follow-
ing criteria:
– performance;
– maintenance;
– durability and technical consistency with the operational equipment;
– the assessment of the product with respect to requirements, including the
criticality category;
– the available support documentation;
– the acceptance and warranty conditions;
– the conditions of installation, preparation, training and use;
– the maintenance conditions, including the possibilities of evolutions;
– copyright constraints.
4.4.12
Descriptions of the choices of both ground and development computer equipment
shall be described or referenced in the software product assurance plan.
REQUIRED OUTPUT: Descriptions of choices of ground and development equipment
4.6 Firmware
4.6.1
The supplier shall establish procedures for firmware device programming and
duplication of firmware devices.
REQUIRED OUTPUT: Procedures described or referenced in the software product as-
surance plan
4.6.2
The supplier shall document the tests required to validate the software embedded
into the firmware device.
40
ECSS–Q–80A
ECSS 19 April 1996
4.6.3
The firmware device shall be indelibly marked to allow the identification (by ref-
erence) of the hardware component and of the software component.
Assurance activity:
4.6.4
The supplier shall ensure that the firmware programming equipment is ap-
propriately calibrated.
41