Related Experiment Video
Updated: Feb 9, 2026

04:47
Author Spotlight: Learning Systematic Bronchoscopy in a Simulation-Base Setting
Published on: June 23, 2023
3.6K
The influence of commenting validity, placement, and style on perceptions of computer code trustworthiness: A
Gene M Alarcon1, Rose F Gamble2, Tyler J Ryan3
1Air Force Research Laboratory, United States.
Applied Ergonomics
|June 6, 2018
Summary
Valid computer code comments increase trustworthiness and engagement, but placement and style have complex effects. This study applies the heuristic-systematic model (HSM) to understand code review psychology.
Area of Science:
- Psychology
- Computer Science
- Software Engineering
Background:
- Code reviews are crucial for software quality.
- Psychological factors influencing code review are under-explored.
- The heuristic-systematic model (HSM) provides a framework for understanding information processing.
Purpose of the Study:
- To investigate how computer code comments influence perceptions of code trustworthiness.
- To examine the impact of comment validity, placement, and style on trustworthiness and time spent on code.
- To extend the application of the heuristic-systematic model (HSM) to the domain of programming.
Main Methods:
- Applied the heuristic-systematic model (HSM) to analyze code review.
- Manipulated comment validity, placement, and style in computer code.
- Measured participants' perceptions of code trustworthiness and time spent on code.
Main Results:
- Valid comments significantly increased trust and time spent on code.
- Properly placed comments decreased trust, with a marginal effect on time.
- Comment style had mixed effects: low style marginally increased trust, high style increased time spent.
Conclusions:
- The relationship between code comments and trustworthiness is complex and non-linear.
- Comment validity is a key driver of trust in code.
- The heuristic-systematic model (HSM) offers valuable insights into code review processes.
Related Concept Videos
The Representativeness Heuristic
16.8K
The representative heuristic describes a biased way of thinking, in which you unintentionally stereotype someone or something. For example, you may assume that your professors spend their free time reading books and engaging in intellectual conversation, because the idea of them spending their time playing volleyball or visiting an amusement park does not fit in with your stereotypes of professors.
16.8K
The Availability Heuristic
7.1K
A heuristic is a general problem-solving framework (Tversky & Kahneman, 1974). You can think of these as mental shortcuts that are used to solve problems. Different types of heuristics are used in different types of situations, and the impulse to use a heuristic occurs when one of five conditions is met (Pratkanis, 1989):
7.1K
The Anchoring-and-Adjustment Heuristic
7.8K
In order to make good decisions, we use our knowledge and our reasoning. Often, this knowledge and reasoning is sound and solid. However, sometimes, we are swayed by biases or by others manipulating a situation. For example, let’s say you and three friends wanted to rent a house and had a combined target budget of $1,600. The realtor shows you only very run-down houses for $1,600 and then shows you a very nice house for $2,000. Might you ask each person to pay more in rent to get the...
7.8K
Information Processing Approach
591
The information-processing theory of cognitive development centers on fundamental mental processes, including attention, memory, and problem-solving skills. Researchers in this field examine how cognitive abilities, such as working memory, evolve and influence children's overall development. Studies indicate that children with stronger working memory tend to excel in reading comprehension, math, and problem-solving compared to peers with less efficient memory skills. Low working memory is...
591
Heuristics
733
Heuristics are problem-solving strategies that use mental shortcuts to simplify decision-making. Unlike algorithms, which must be followed precisely to achieve a correct result, heuristics offer a general problem-solving framework. They save time and energy but can sometimes lead to less rational decisions.
People often rely on heuristics when faced with an overload of information, limited time, low importance of the decision, limited information, or when a heuristic readily comes to mind. For...
People often rely on heuristics when faced with an overload of information, limited time, low importance of the decision, limited information, or when a heuristic readily comes to mind. For...
733
Chemical Equilibria: Systematic Approach to Equilibrium Calculations
1.6K
Equilibrium calculations for systems involving multiple equilibria are often complex. For example, to calculate the solubility of a sparingly soluble salt in an aqueous solution in the presence of a common ion, one must consider all the equilibria in this solution. Calculations for these systems can be complicated and tedious, so a systematic approach with a series of steps is often helpful. The process is detailed below.
The first step is to identify all the chemical reactions involved, The...
The first step is to identify all the chemical reactions involved, The...
1.6K

