Skip to main content

Quality Requirements

The three top quality goals listed in Introduction and Goals are refined here into measurable quality scenarios. The requirements are classified using the quality characteristics of ISO/IEC 25010:2023. They focus on the watermarker library, which is the canonical implementation behind the CLI and the webinterface.

Quality Requirements Overview​

Each row maps one quality requirement to a quality characteristic of ISO/IEC 25010:2023 and to the quality scenarios that make it verifiable. Requirements marked as top goal are taken from Introduction and Goals, all others are derived requirements.

ISO/IEC 25010:2023 CharacteristicSub-CharacteristicQuality RequirementScenarios
Functional suitabilityFunctional correctnessInvisible (top goal): a human reader does not notice a watermarked cover textQS-2
Functional suitabilityFunctional correctnessLength-preserving (top goal): watermarking does not change the cover text lengthQS-3
Functional suitabilityFunctional correctnessEmbedding and extraction are correct and behave predictably at the limits of the available capacityQS-1, QS-4
ReliabilityFault toleranceRobust (top goal): the watermark survives modifications as long as possibleQS-5
CompatibilityInteroperabilityAll platform builds of the library (JVM, JS) produce and read the same watermarksQS-6
SecurityConfidentialityData sovereignty: The user has full control over its cover texts and watermarksQS-7
MaintainabilityAnalyzabilityErrors and warnings are reported as values with a description and an origin, not as exceptionsQS-8
MaintainabilityModifiabilityNew file types and transcodings can be added without modifying existing implementationsQS-9

Non-Goals​

The library explicitly does not aim for performance efficiency. Where a decision had to be made between performance and usability, usability was chosen (see Solution Strategy).

Quality Scenarios​

The scenarios below make the requirements above concrete and serve as acceptance criteria.

#ScenarioContext and StimulusResponse Measure
QS-1Round-trip correctnessAn application embeds an arbitrary watermark into a cover text and extracts it again afterwardThe extracted watermark equals the originally embedded watermark
QS-2InvisibilityA human compares the original and the watermarked text in a typical text viewerNo difference in glyphs, spacing, or line breaks is perceivable
QS-3Length preservationAn application compares the original and the watermarked text programmaticallyBoth texts have the same number of characters and the same sequence of visible characters
QS-4Capacity limitAn application tries to embed a watermark into a very short cover text (watermark does not fit in)The operation reports a warning and returns the cover text unchanged, so no corrupted output is produced
QS-5RobustnessParts of a watermarked text are removed or the text is copied into another application and modifiedExtraction returns the original watermark while at least one complete occurrence remains, otherwise a warning is returned
QS-6InteroperabilityA watermark is embedded by one platform build of the library and extracted by another platform buildBoth builds extract the identical watermark content
QS-7Data sovereigntyAn application performs embedding or extraction while network traffic to and from the process is observedNo cover text or watermark is transferred to an external party
QS-8Error handling as valuesAn application passes invalid input, such as empty data, unsupported content, or malformed encodingsA result value describes the problem and its origin, so no exception is raised from the core watermarker library (see Error Handling Concept)
QS-9Extensibility (change)A contributor adds support for a new file type or a new watermark transcodingOnly new implementations and their registration are required, while existing implementations remain unchanged (see Watermarker Library Concept)