CFML (2025)
This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].
Snapshot CFML (2025) — released 25 February 2025 · lifecycle current
Family CFML — shelf: Web
The language’s centre of gravity is the browser or the HTTP request and response model. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.
Trajectory 1.0 (2 July 1995 — Cold Fusion 1.0) · 2025 (25 February 2025 — assessed release)
Tags
Use — Web back end
Paradigm — Object-oriented, Imperative
Platform — JVM
Lifecycle — Current
Memory — Managed (GC)
Typing — Dynamic
Resources
The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to CFML (2025); an unmarked link is the current reference for the language.
Landing page
Specification and reference
API documentation
Tutorial
Package registry
1 Assessment
This page assesses CFML in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.
Core coupling 57.1/100 · Ecosystem coupling 69.1/100 · Engineering readiness 59.1/100
1.1 Core coupling
1.1.1 Type
- ❌ A variable is dynamically typed: A name takes any value (T1)
- ❌ A component method resolves at run time: A dynamic call reaches a method by name (T3)
- ❌ There are no generics (T5)
- ❌ A variable can be undefined: The type does not carry the check (T10)
- ❌ There is no sum type: A component or a struct carries a discriminator, and a
switchis not checked (T4)
1.1.2 Construction
- ✅ A component is a class:
initis the constructor - ❌ The application and session scopes are global: A value in
applicationis reachable from every request (C1) - ❌ A variable is mutable by default (C2)
- ❌ Collection order is unpinned: HashMap iterates in a hash-dependent order the specification does not fix, and the ordered map is the opt-in a disciplined team must choose (C5)
- ❌ One value, many names: every object is reached through references, an array’s buffer is shared by assignment, and no declaration names the alias set — a defensive copy is a discipline, not a type (C6)
- ❌ Execution moves with no call in sight: invoke() and createObject with string names resolve to code at run time, and the source names a string (C7)
- ❌ Java class initialization under the engine: first-touch, with the documented cycle (C8)
1.1.3 Memory
- ❌ The JVM collects (M2)
- ❌ There is no scope-exit release: A file or a query is closed by hand (M3)
- ❌ There is no ownership model (M4)
1.1.4 Error
- ❌ An exception bypasses the signature (Er2)
- ❌ An error can be ignored: A failed tag returns false (Er3)
- ❌ There is no result type: A failure is an exception, and a success is a return value (Er4)
1.1.5 Concurrency
- ✅
cfthreadstarts an asynchronous task: The engine scopes the thread to the request - ❌ Shared scopes are the default:
applicationandsessionare reachable from every thread (K2) - ❌ A lock is manual:
cflockis the discipline, and nothing detects a missing one (K3)
1.1.6 Platform
- ✅ The runtime is a JVM servlet: A CFML application deploys to Tomcat or a Java EE server
- ✅ The language has more than one implementation: Adobe ColdFusion and Lucee run the same source
1.1.7 Trade-offs (not coupling)
- A page is the program: The request lifecycle is the framework, and the scopes are the state
- Two syntaxes, one language: A tag and a script statement do the same thing
- The JVM is the platform: A Java library is one call away, and the GC is the JVM’s
- The engine is the deployment: A CFML application is a directory of templates on a servlet container
1.2 Ecosystem coupling
1.2.1 Performance
- ❌ A collection pause is part of the timing (R2)
- ✅ A compiled template is cached: The engine compiles a page once and reuses it
1.2.2 Ecosystem
- ❌ Two engines dominate: Adobe ColdFusion and Lucee are the choices (Ec6)
- ❌ A large body of tag-era code remains: A 2005 application still runs (Ec7)
- ✅ A Java library is reachable: A component calls a JAR directly
- ✅ The class file carries a published promise: CFML runs on the JVM and consumes JVM bytecode [5] (Ec8)
- ✅ Serialized objects cross on a published promise: the stream carries the format version and a per-class serial version UID, and the specification states the current protocol is fully backward and forward compatible, read by JDK 1.1.7 and later [6] (Ec9)
1.2.3 Evolution
- ✅ A release is annual: A named release ships with updates
- ⚠️ The tag and the script syntax both remain: New code can use either
1.2.4 Domain
- ❌ The engine sets the architecture:
Application.cfcand the scopes decide the structure (D3) - ✅ A data-driven web application is the ordinary project: A form, a query, and a page
1.2.5 Learning
- ✅ The tag syntax is approachable: An HTML-like page reads as markup
1.2.6 Syntax
- ❌ The tag syntax is verbose:
<cfquery>,<cfoutput>, and a closing tag (S1) - ❌ Two syntaxes share one language: Tags and CFScript state the same construct (S2)
1.2.7 Testing
- ✅ A test framework exists: TestBox runs a unit and an integration test
1.2.8 Security
- ❌
evaluate()andcfexecuteare ordinary calls: Text becomes code or a command (Q3) - ⚠️ Output is not escaped by default: A value is written as it is, and
encodeForHTMLis the caller’s call - ❌ A dynamically typed value is checked at run time: A wrong type fails when the line runs (Q2)
- ❌ Java numeric semantics under the engine: integer wraparound (Q4)
1.2.9 Delivery targets
What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.
| Target | Ships as | Crosses a producer boundary | Cross-release promise |
|---|---|---|---|
| jar — Java class files | compiled | yes | yes — The class-file format and the binary compatibility rules are published by the JVM specification [5] |
1.2.10 Stored data formats
What the toolchain stores that outlives the program, and what the vendor publishes about reading it across a release boundary. Ec9 is present when one row carries a break: the reading promise published as broken, the writing direction published as unreadable elsewhere, or a break the probe harness has reproduced.
| Stored format | Reading promise | Writing promise |
|---|---|---|
| Serialized objects — Java serialization stream | yes — Java’s serialization specification publishes the stream protocol: the stream carries the magic number and version, every class descriptor carries a serial version UID, the writer can select a protocol version, the current protocol is stated fully backward and forward compatible, and JDK 1.1.7 and later read both protocol versions [6] | — |
1.3 Engineering readiness
1.3.1 Reproducibility
- ❌ A deployment copies source: The artifact is the source tree, not a verified build (Y1)
- ❌ No contract the toolchain reads: the engine deploys applications by directory, and no shipped manifest declares dependencies or versions (Y18)
1.3.2 Supply chain
- ❌ A package is installed without a signature check (Y3)
1.3.3 Observability
- ❌ There is no open tracing standard in the language (Y5)
1.3.4 Feedback
- ❌ The standard engines ship no CFML debugger; diagnosis rides logs and the web admin. (Y13)
1.3.5 Interop
- ✅ The engines expose the whole JVM from CFScript, so any Java library is reachable in process. (Y9)
- ✅ The artifact runs on any CFML engine on any JVM. (Y10)
1.3.6 Governance
- ❌ Semantics rest on the dominant runtime: the specification documents the implementation’s behavior, and no conformance suite exists for an independent runtime (Y17)
- ✅ A published-source compiler ships the parser: Lucee’s compiler is open source, so the CFML parser is published source an analysis tool can run; Adobe ColdFusion’s remains closed (Y19)
1.4 Profile
Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.
1.4.1 Energy and cost
What this axis asks: what does a running program cost in energy and time?
- ⚠️ No independent energy or time benchmark for the language is recorded.
1.4.2 AI and agent readiness
What this axis asks: how well does a coding model and an agent work in this language?
- ❌ Sparse public training data: models write it less reliably than a mainstream language [7].
1.4.3 Safety certification
What this axis asks: is there a certified or standards-qualified path to a safety-critical system?
- ⚠️ No certified or standards-qualified path for safety-critical systems.
1.5 Scoring detail
1.5.1 Core coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Type | T1 |
dynamic no static check | language | ✅ | −15 |
T2 |
weak static | language | — | 0 | |
T3 |
dynamic/duck dispatch | language | ✅ | −8 | |
T4 |
no sum types | language | ✅ | −4 | |
T5 |
no generics | language | ✅ | −4 | |
T6 |
no namespaces | language | — | 0 | |
T7 |
type erasure/reflection | language | — | 0 | |
T8 |
operator overloading | language | — | 0 | |
T9 |
inheritance required for polymorphism | language | — | 0 | |
T10 |
no null-safety | language | ✅ | −8 | |
T11 |
no module boundary | language | — | 0 | |
T12 |
no effect tracking | language | ✅ | −8 | |
T13 |
async/sync colouring | language | — | 0 | |
T14 |
unchecked foreign boundary | language | ✅ | −4 | |
T15 |
chars are encoding units | language | — | 0 | |
| Type cost | −14.6 (−51) | ||||
| Construction | C1 |
global mutable state by default | language | ✅ | −15 |
C2 |
no immutability by default | language | ✅ | −4 | |
C3 |
constructors coupled to allocation | language | — | 0 | |
C4 |
no constructor/validation | language | — | 0 | |
C5 |
unpinned collection order | language | ✅ | −4 | |
C6 |
aliasing by default | language | ✅ | −8 | |
C7 |
undeclared control transfer | language | ✅ | −8 | |
C8 |
no source-visible init order | language | ✅ | −8 | |
| Construction cost | −13.4 (−47) | ||||
| Memory | M1 |
manual deallocation | runtime | — | 0 |
M2 |
GC non-deterministic pauses | runtime | ✅ | −8 | |
M3 |
no RAII | language | ✅ | −4 | |
M4 |
no ownership model | language | ✅ | −8 | |
M5 |
uninitialized reads | language | — | 0 | |
M6 |
unchecked reinterpretation | language | — | 0 | |
Er6 |
uncatchable runtime fault | language | — | 0 | |
M7 |
reference cycles leak | runtime | — | 0 | |
| Memory cost | −5.7 (−20) | ||||
| Error | Er1 |
no structured path | language | — | 0 |
Er2 |
unchecked exceptions only | language | ✅ | −8 | |
Er3 |
errors ignored/non-exhaustive | language | ✅ | −4 | |
Er4 |
no composable result type | language | ✅ | −4 | |
Er5 |
no isolation unit for a fault | runtime | — | 0 | |
| Error cost | −4.6 (−16) | ||||
| Concurrency | K1 |
GIL/no parallel | runtime | — | 0 |
K2 |
shared mutable state default | language | ✅ | −8 | |
K3 |
manual sync no race detection | runtime | ✅ | −8 | |
K4 |
no structured concurrency | language | — | 0 | |
K5 |
no primitives | language | — | 0 | |
K6 |
thread-per-task cost | runtime | — | 0 | |
| Concurrency cost | −4.6 (−16) | ||||
| Platform | P1 |
cannot function outside one vendor/domain | context | — | 0 |
P2 |
single-vendor but other uses | context | — | 0 | |
P3 |
legacy/discontinued platform | context | — | 0 | |
P4 |
poor domain fit | context | — | 0 | |
| Platform cost | 0 |
Core coupling score: 57.1/100 — 150 of the 350 inventory points are present, so the axis cost is 100 × 150 ÷ 350 = 42.9 and the score is 100 − 42.9. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.2 Ecosystem coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Performance | R1 |
interpreted no AOT/JIT | runtime | — | 0 |
R2 |
GC pauses | runtime | ✅ | −8 | |
R3 |
JIT warmup | runtime | — | 0 | |
| Performance cost | −3.1 (−8) | ||||
| Ecosystem | Ec1 |
no package manager | context | — | 0 |
Ec2 |
fragmented tooling | context | — | 0 | |
Ec3 |
small/niche/discontinued | context | — | 0 | |
Ec4 |
proprietary | context | — | 0 | |
Ec5 |
platform-locked tooling | context | — | 0 | |
Ec6 |
monoculture | context | ✅ | −8 | |
Ec7 |
legacy burden | context | ✅ | −8 | |
Ec8 |
unpromised binary boundary | context | — | 0 | |
Ec9 |
unpromised data boundary | context | — | 0 | |
| Ecosystem cost | −6.2 (−16) | ||||
| Evolution | V1 |
breaking changes | language | — | 0 |
V2 |
frozen | context | — | 0 | |
V3 |
discontinued | context | — | 0 | |
V4 |
glacial standards | context | — | 0 | |
V5 |
silent default drift | runtime | — | 0 | |
V7 |
build-variant state space | context | — | 0 | |
| Evolution cost | 0 | ||||
| Domain | D1 |
domain/vendor lock-in | context | — | 0 |
D3 |
framework forces architecture | context | ✅ | −8 | |
| Domain cost | −3.1 (−8) | ||||
| Learning | L1 |
steep | context | — | 0 |
L2 |
large surface/multi-paradigm | context | — | 0 | |
L3 |
sparse docs | context | — | 0 | |
| Learning cost | 0 | ||||
| Syntax | S1 |
verbose | language | ✅ | −8 |
S2 |
inconsistent | language | ✅ | −8 | |
S3 |
punctuation-heavy | language | — | 0 | |
| Syntax cost | −6.2 (−16) | ||||
| Testing | G1 |
weak tooling | context | — | 0 |
G2 |
poor debugging | context | — | 0 | |
G3 |
runtime-only errors | context | — | 0 | |
G4 |
no published monotonic clock | runtime | — | 0 | |
| Testing cost | 0 | ||||
| Security | Q1 |
memory-unsafe | language | — | 0 |
Q2 |
dynamic/weak typing risk | language | ✅ | −8 | |
Q3 |
known vulnerability/injection | context | ✅ | −8 | |
Q4 |
silent integer overflow | language | ✅ | −15 | |
| Security cost | −12.1 (−31) |
Ecosystem coupling score: 69.1/100 — 79 of the 256 inventory points are present, so the axis cost is 100 × 79 ÷ 256 = 30.9 and the score is 100 − 30.9. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.3 Engineering readiness Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Reproducibility | Y1 |
build not reproducible | context | ✅ | −15 |
Y2 |
dependencies not pinned | context | — | 0 | |
Y14 |
no toolchain version pin | context | — | 0 | |
Y18 |
no machine-read project contract | context | ✅ | −8 | |
| Reproducibility cost | −13.5 (−23) | ||||
| Supply chain | Y3 |
no signed provenance | context | ✅ | −15 |
Y4 |
registry without namespacing | context | — | 0 | |
Y16 |
no advisory feed | context | ✅ | −8 | |
| Supply chain cost | −13.5 (−23) | ||||
| Observability | Y5 |
no stable tracing standard | context | ✅ | −8 |
Y6 |
no structured logging | context | — | 0 | |
Y15 |
no post-mortem diagnostics | runtime | — | 0 | |
| Observability cost | −4.7 (−8) | ||||
| Feedback | Y7 |
slow build | context | — | 0 |
Y8 |
no fast in-editor analysis | context | — | 0 | |
Y13 |
no bundled debugger | context | ✅ | −8 | |
| Feedback cost | −4.7 (−8) | ||||
| Interop | Y9 |
no foreign-function interface | language | — | 0 |
Y10 |
no portable target | context | — | 0 | |
| Interop cost | 0 | ||||
| Governance | Y11 |
single-vendor governance | context | — | 0 |
Y12 |
closed specification | context | — | 0 | |
Y17 |
no conformance mechanism | context | ✅ | −8 | |
Y19 |
no published parser | context | — | 0 | |
| Governance cost | −4.7 (−8) |
Engineering readiness score: 59.1/100 — 70 of the 171 inventory points are present, so the axis cost is 100 × 70 ÷ 171 = 40.9 and the score is 100 − 40.9. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
Verdict: CFML is a dynamic web language on the JVM: components, tags, and the request scopes make a data-driven page cheap, and the Java runtime is behind it. What it charges is the dynamic type, the shared application scope, the manual lock, the tag verbosity, and a two-syntax language whose engines disagree at the edges. Main strength: a fast path from a form to a working page. Main weakness: the scopes and the lock are the program’s discipline.
The formal development. The definitions, theorems, and proofs behind this page are published in:
- On the Nature of Coupling: All Coupling as Shared Resource Access — Zenodo, 2026 — doi:10.5281/zenodo.21925122
- Coupling as a Consequence of Cohesion: Decomposition, the Coupling Floor, and Domain-Imposed Coupling — Zenodo, 2026 — doi:10.5281/zenodo.21925201
- On the Nature of Cohesion: Cohesion as Correctness Relative to a Partitioning Rule — Zenodo, 2026 — doi:10.5281/zenodo.21703193