Связность (программирование)

YahoKa, “Cohesion (computer science)”, public translation into Russian from English More about this translation.

Translate into another language.

Participants

danilkorotenko 407 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next next untranslated
1 2 3 4

Cohesion (computer science)

Связность (программирование)

History of edits (Latest: danilkorotenko 6 years ago) §

In [[computer programming]], '''cohesion''' refers to the ''degree to which the elements of a [[module (programming)|module]] belong together''.<ref>Yourdon, E.; Constantine, L L. Structured Design: Fundamentals of a Discipline of Computer Program and Systems Design. Yourdon Press, 1979</ref>

В [[computer programming | программировании]] под '''связностью''' понимают ''степень с которой элементы [[module (programming)|модуля]] взаимодействуют друг с другом''.<ref>Yourdon, E.; Constantine, L L. Structured Design: Fundamentals of a Discipline of Computer Program and Systems Design. Yourdon Press, 1979</ref>

History of edits (Latest: danilkorotenko 6 years ago) §

Thus, it is a measure of how strongly-related each piece of functionality expressed by the source code of a software [[module (programming)|module]] is. Methods of measuring '''cohesion''' vary from qualitative measures classifying the source text being analyzed using a [[rubric]] with a [[hermeneutics]] approach to quantitative measures which examine textual characteristics of the source code to arrive at a numerical cohesion score. Cohesion is an [[level of measurement#Ordinal scale|ordinal]] type of [[measurement]] and is usually expressed as “high cohesion” or “low cohesion” when being discussed. Modules with high cohesion tend to be preferable because high cohesion is associated with several desirable traits of software including [[Robustness (computer science)|robustness]], reliability, reusability, and understandability whereas low cohesion is associated with undesirable traits such as being difficult to maintain, difficult to test, difficult to reuse, and even difficult to understand.

Связность, это мера того, насколько сильно каждая часть функциональности [[module (programming)|модуля]] выраженная в програмном коде, зависит от других частей. Методы определения связности варьируются от качественного анализа исходного текста программы используя [[rubric]] и [[hermeneutics]], до количественного определения текстовых характеристик выражающих коэфициент связности. При обсуждении, обычно говорят: "Высокая связность" или "Низкая связность" так как это [[level of measurement#Ordinal scale|ordinal]] type of [[measurement]]. Модули с высокой связностью более предпочтительны, так как они обладают рядом положительных качеств, таких как: [[Robustness (computer science)|robustness]], надежность, переиспользование, и понятность. В модулях с низкой связностью, перечисленные блага перерастают в сложности: обслуживание, тестирование, переиспользование, понимание.

History of edits (Latest: danilkorotenko 6 years ago) §

Cohesion is often contrasted with [[coupling (computer science)|coupling]], a different concept. Nonetheless high cohesion often correlates with [[loose coupling]], and vice versa. The [[software metrics|software quality metrics]] of coupling and cohesion were invented by [[Larry Constantine]] <ref>W. Stevens, G. Myers, L. Constantine, “Structured Design”, IBM Systems Journal, 13 (2), 115-139, 1974.</ref> based on characteristics of “good” programming practices that reduced maintenance and modification costs.

Связность часто сопоставляется [[coupling (computer science)|связанности]], совершенно другой концепции. Так, высокая связность часто мопровождается [[loose coupling|низкой связянностью]] , и наоборот. Связность и связанность как [[software metrics| метрики ПО]] были изобретены [[Larry Constantine]] <ref>W. Stevens, G. Myers, L. Constantine, “Structured Design”, IBM Systems Journal, 13 (2), 115-139, 1974.</ref> Который основывал свои выводы на методах программирования при которых уменьшаются затраты на обслуживание и модификацию программного обеспечения.

History of edits (Latest: danilkorotenko 6 years ago) §

== High cohesion ==

== Высокая связность ==

History of edits (Latest: danilkorotenko 6 years ago) §

In [[computer programming]], '''cohesion''' is a measure of how strongly-related or focused the responsibilities of a single module are. As applied to [[object-oriented programming]], if the methods that serve the given class tend to be similar in many aspects, then the class is said to have high cohesion. In a highly-cohesive system, code readability and the likelihood of reuse is increased, while complexity is kept manageable.

Pages: ← previous Ctrl next next untranslated
1 2 3 4