Skip to content

Code readability

Outcome Also called: readability

In short

3 papers in this collection examine code readability, published in 2026. 3 empirical studies are reported; all stated a sample size, 141 participants in total. Every paper was read in full.

Of the 3 outcomes measured for this concept, 2 (67%) came out positive and 1 (33%) did not state a direction.

3
Papers
3 read in full
3
Empirical studies
3 with a stated sample
56
Median sample
25 to 60
20
Outcomes reported
3 measured for this concept

How it was studied

Research methods: Quantitative 2, Other 1.

A control group was used in 3 of 3 studies that said. 0 of 3 were longitudinal.

Study designs
DesignStudies
Controlled experiment (between-subjects)1
Machine learning classification with stylometric analysis1
Subjective evaluation with survey and objective computational metrics1
Sample size
Under 30
1 studies
30 to 99
2 studies
100 to 299
0 studies
300 to 999
0 studies
1,000 or more
0 studies

What was found

Outcomes measured for this concept (3)
Positive 2Not stated 1

1 reported a statistically significant result, 1 printed an effect size, and 0 have been checked by a person.

All outcomes reported in these papers (20)
Thinking and reasoning skills · 4
Not stated 4
Academic performance · 5
Positive 3No difference 1Not stated 1
Learning process and engagement · 2
Positive 2
Motivation and feelings · 2
Positive 2
Perceptions and attitudes · 6
Positive 3Mixed 1No difference 2
Other · 1
Not stated 1

“All outcomes” includes outcomes in these papers that are about other things. Direction is the direction the paper reports for the AI condition on one outcome.

Theories and models these papers use

The papers (3)

Newest first. Each outcome shows the passage it came from.

Voice help with an avatar kept programming students more engaged and positive than text chat in a small experiment

2026 · International Journal of Educational Technology in Higher Education · Controlled experiment (between-subjects) · n = 56 Full text

“Readability and maintainability were both significantly higher in the Voice and Avatar conditions”

Positive
Code readability this concept · eta squared 0.175, p .017
Passage from the paper

“Post-hoc analysis (Table 2) confirmed that both Avatar and Voice conditions resulted in significantly more readable code than the Text condition.”

No difference
Satisfaction · eta squared 0.047, p .471
Passage from the paper

“The analysis revealed no statistically significant differences in satisfaction across conditions, F (3, 52) = 0.86, p = .471, η 2 = 0.047.”

No difference
Usability · eta squared 0.066, p .302
Passage from the paper

“A one-way ANOVA indicated no statistically significant differences in usability across conditions, F (3, 52) = 1.23, p = .302, η 2 = 0.066.”

Positive
Engagement · eta squared 0.215, p .007
Passage from the paper

“Tukey HSD post-hoc tests (Table 2) indicated that both Voice and Avatar conditions resulted in significantly higher engagement than the Text condition.”

See all 10 outcomes in the summary

Students in a small study preferred AI-written lecture summaries for readability, but educators should check them

2026 · Technology, Knowledge and Learning · Subjective evaluation with survey and objective computational metrics · n = 25 Full text

“Specifically for the “readability” aspect, participants agreed that LLM-generated summaries were better.”

Positive
Readability this concept
Passage from the paper

“Specifically for the “readability” aspect, participants agreed that LLM-generated summaries were better.”

Mixed
Accuracy
Passage from the paper

“the responses regarding accuracy indicate that participants considered human-generated summaries to be slightly more accurate than those generated by LLMs.”

Positive
Usefulness
Passage from the paper

“the majority of participants considered LLM-generated summaries to be a better fit to the evaluation aspects we proposed in the experiment (readability, accuracy, usefulness, and overall preference).”

Positive
Student preference
Passage from the paper

“the majority of participants considered LLM-generated summaries to be a better fit to the evaluation aspects we proposed in the experiment (readability, accuracy, usefulness, and overall preference).”

See all 5 outcomes in the summary

A classifier told ChatGPT stories from German learners' stories in a small test of 60 texts

2026 · Frontiers in Artificial Intelligence · Machine learning classification with stylometric analysis · n = 60 Full text

“Lexical diversity, sentence complexity, function-word frequency, and readability were identified as the most influential features in authorship prediction.”

Not stated
Readability (ChatGPT vs student texts) this concept · p .002
Passage from the paper

“Readability score: 71.2 (students) vs 62.4 (ChatGPT); p-value 0.002”

Not stated
Lexical diversity (ChatGPT vs student texts) · p <.001
Passage from the paper

“Lexical diversity (TTR): 0.58 (students) vs 0.74 (ChatGPT); p-value < 0.001”

Not stated
Syntactic complexity (ChatGPT vs student texts) · p <.001
Passage from the paper

“Average sentence length: 14.8 (students) vs 21.4 (ChatGPT); p-value < 0.001”

Not stated
Narrative coherence (ChatGPT vs student texts) · p <.001
Passage from the paper

“Narrative coherence score: 0.68 (students) vs 0.91 (ChatGPT); p-value < 0.001”

See all 5 outcomes in the summary

These are descriptive counts of what the papers report, not a meta-analysis and not advice. A person has checked some outcomes; the rest were read by software and each one must quote the paper. Counts cover published summaries only.