Transitive dependency
A transitive dependency is an indirect dependency relationship between software components.[src] This kind of dependency is held by virtue of a transitive relation from a component that the software depends on directly.[src]
A transitive dependency is an indirect dependency relationship between software components.[src] This kind of dependency is held by virtue of a transitive relation from a component that the software depends on directly.[src] ==Computer programs== In a computer program a direct dependency is functionality from a library, or API, or any software component that is referenced directly by the program itself.[src] A transitive dependency is any dependency induced by a different component, that in turn is directly or indirectly referenced by the program.[src] E.g.[src] a call to a log() function may induce a transitive dependency to a library that manages the I/O of writing a message to a log file.[src] Dependencies and transitive dependencies can be resolved at different times, depending on how the computer program is assembled and/or executed: e.g.[src] a compiler can have a link phase where the dependencies are resolved.[src] Sometimes the build system even allows management of the transitive dependencies.[src] Similarly, when a computer uses services, a computer program can depend on a service that should be started before to execute the program.[src] A transitive dependency in such case is any other service that the service we depend directly on depends on, e.g.[src] a web browser depends on a Domain Name Resolution service to convert a web URL in an IP address; the DNS will depend on a networking service to access a remote name server.[src] The Linux boot system is based on a set of configurations that declare the dependencies of the modules to be started: at boot time analyzes all the transitive dependencies to decide the execution order of each module to start.[src] ==Database management systems== Suppose entities A, B, and C exist such that the following statements hold: A → B direct dependency relationship exists.[src] There is no B → A relationship.[src] B → C direct dependency relationship exists.[src] Then the functional dependency A → C is a transitive dependency (which follows the axiom of transitivity).[src] In database normalization of relational databases, one of the important features of third normal form is that it excludes certain types of transitive dependencies.[src] E.F.[src] Codd, the inventor of the relational model, introduced the concepts of transitive dependence and third normal form in 1971.[src] ===Example=== A transitive dependency occurs in the following relation: The functional dependency {Book} → {Author nationality} emerges; that is, if we know the book, we can know the author's nationality.[src] Furthermore: {Book} → {Author} {Author} does not → {Book} {Author} → {Author nationality} Therefore {Book} → {Author nationality} is a transitive dependency.[src] ==Notes==[src]
25 sentences · 25 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Transitive dependency." encyclopegia.org, 2026, https://encyclopegia.org/wiki/transitive-dependency. Accessed 25 November 2026.
Chicago
"Transitive dependency." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/transitive-dependency.
APA
encyclopegia.org. (2026). Transitive dependency. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/transitive-dependency
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON