Abstract
WebML is a domain-specific language used to design complex data-intensive Web applications at a conceptual level. As WebML was devised to support design tasks, the need to define a visual notation for the language was identified from the very beginning. Each WebML element is consequently associated with a separate graphical symbol which was mainly defined with the idea of providing simple and expressive modelling artefacts rather than by adopting a rigorous scientific approach. As a result, the graphical models defined with WebML may sometimes prevent proper communication from taking place between the various stakeholders. In fact, this is a common issue for most of the existing model-based proposals that have emerged during the last few years under the umbrella of model-driven engineering. In order to illustrate this issue and foster in using a scientific basis to design, evaluate, improve and compare visual notations, this paper analyses WebML according to a set of solid principles, based on the theoretical and empirical evidence concerning the cognitive effectiveness of visual notations. As a result, we have identified a set of possible improvements, some of which have been verified by an empirical study. Furthermore, a number of findings, experiences and lessons learnt on the assessment of visual notations are presented.
1. Introduction
In the field of Model-Driven Engineering (MDE), significant effort is typically invested in defining language semantics (the meaning of constructs) and abstract syntax (the structural relationships between concepts). However, the concrete syntax—the actual visual representation of these concepts—is often overlooked or designed based on intuition rather than scientific principles.
This "ad-hoc" approach to visual notation design can lead to communication breakdowns between stakeholders. This paper addresses this gap by performing a cognitive audit of WebML (Web Modeling Language), a mature Domain-Specific Language (DSL) for web application design. The goal is to determine if WebML's visual symbols are "cognitively effective" for human users by evaluating them against established cognitive science principles.
2. Methodology
The researchers employed a two-phase methodology to evaluate WebML:
- Theoretical Analysis: The authors applied Moody’s Physics of Notations (PoN), a framework of nine principles derived from cognitive science and graphic design. They audited the WebML metamodel (containing 41 concepts) against its visual library (70 symbols) to identify anomalies such as "symbol overload" (one symbol representing multiple concepts) or "symbol excess" (symbols with no underlying semantic meaning).
- Empirical Validation: A study involving 45 software engineers (30 graduate students and 15 experts) was conducted. Participants evaluated 21 existing WebML icons for Semantic Transparency—the ease with which a novice can infer an icon's meaning. They also performed "forced choice" tests comparing original icons with redesigned versions based on PoN principles.
3. Analysis of WebML Notation
The analysis revealed several critical issues in the current WebML notation that hinder cognitive effectiveness:
- Graphic Complexity: Cognitive science suggests humans can effectively discriminate between approximately seven categories in immediate recall. WebML’s graphic complexity, as implemented in tools like WebRatio, reaches 70 symbols—nearly ten times the recommended limit.
- Symbol Excess: The study identified 42 instances of symbol excess. This occurs when a modeling tool evolves faster than the language specification, resulting in "ghost" symbols that clutter the interface without representing valid semantic constructs.
- The Transparency Continuum: The authors categorized symbols by their "Semantic Transparency": Immediate (obvious), Translucent (provides a cue), Opaque (arbitrary), or Perverse (misleading). Most WebML icons were found to be translucent or opaque, requiring significant learning effort even for experienced users.
4. Empirical Results
The empirical study demonstrated the impact of scientific notation design on user comprehension:
- User Preference: Redesigned icons (e.g., replacing a generic star with a lightning bolt for "Power Index") were preferred by 89.4% of participants.
- Statistical Significance: The preference for redesigned symbols was highly significant ($p < 0.0000$), confirming that users benefit from symbols with higher semantic transparency.
- Expert vs. Novice: While experts are better at decoding opaque symbols, the study showed that even experienced users prefer symbols that are more intuitively meaningful, suggesting that cognitive load is reduced for all user classes.
5. Discussion and Conclusion
While WebML excels in "Complexity Management" through its modular and hierarchical structure, it performs poorly in "Semiotic Clarity" and "Graphic Economy." A major limitation of current frameworks like PoN is their focus on individual symbols rather than composition rules—how symbols are connected and arranged—which remains a subject for future research.
For established tools like WebRatio, the authors acknowledge a "legacy trap": implementing these changes now would be costly for the existing ecosystem. However, they urge MDE practitioners to integrate cognitive analysis into the initial design phase of future DSLs. The team plans to apply these lessons to IFML (Interaction Flow Modeling Language), the successor to WebML, to ensure next-generation modeling standards are optimized for the human brain.
Summary updated