<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Educ.</journal-id>
<journal-title>Frontiers in Education</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Educ.</abbrev-journal-title>
<issn pub-type="epub">2504-284X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/feduc.2024.1323843</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Education</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Task complexity and foreign language writing emotions as predictors of EFL writing performance</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Wu</surname>
<given-names>Libo</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2511692/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Halim</surname>
<given-names>Hasliza Binti Abdul</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>College of Arts and Science, Universiti Utara Malaysia</institution>, <addr-line>Sintok</addr-line>, <country>Malaysia</country></aff>
<aff id="aff2"><sup>2</sup><institution>Foreign Language Department, Hubei University of Science and Technology</institution>, <addr-line>Xianning</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by" id="fn0001"><p>Edited by: Louise Lambert, Canadian University of Dubai, United Arab Emirates</p></fn>
<fn fn-type="edited-by" id="fn0002"><p>Reviewed by: Michael D. Broda, Virginia Commonwealth University, United States</p><p>Xiaoyu Sophia Zhang, academyEX&#x2014;The Mind Lab, New Zealand</p></fn>
<corresp id="c001">&#x002A;Correspondence: Halim Hasliza Binti Abdul, <email>wulibo@hbust.com.cn</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>15</day>
<month>03</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>9</volume>
<elocation-id>1323843</elocation-id>
<history>
<date date-type="received">
<day>18</day>
<month>10</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>20</day>
<month>02</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2024 Wu and Halim.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Wu and Halim</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Emotions and task complexity have gained scant attention in EFL writing. This study, based on control-value theory and a positive psychology perspective, explores the relationship between task complexity, writing anxiety, writing boredom, writing enjoyment, and task complexity and writing emotions interaction on EFL writing performance among English major students in China&#x2019;s educational context (<italic>N</italic>&#x2009;=&#x2009;84). It has been found that difficult writing tasks can result in higher writing anxiety and lower writing boredom. By 6&#x2009;&#x00D7;&#x2009;2 between-subject ANOVA, there is a significant interaction of task complexity and different levels of writing anxiety, writing boredom, and writing enjoyment for the dimensions of language fluency, complexity, and accuracy among English major students in China&#x2019;s educational context. This study is an initial step in extending the writing emotions and task complexity in the production of EFL writing, which promotes the mutual integration of emotion and cognition in EFL writing research and thus supplies suggestions for task-based EFL writing instruction.</p>
</abstract>
<kwd-group>
<kwd>writing enjoyment</kwd>
<kwd>writing anxiety</kwd>
<kwd>writing boredom</kwd>
<kwd>task complexity</kwd>
<kwd>writing performance</kwd>
</kwd-group>
<counts>
<fig-count count="4"/>
<table-count count="5"/>
<equation-count count="0"/>
<ref-count count="67"/>
<page-count count="13"/>
<word-count count="10851"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Educational Psychology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="sec1">
<label>1</label>
<title>Introduction</title>
<p>As for the terrain of EFL writing, <xref ref-type="bibr" rid="ref12">Ellis and Barkhuizen (2005)</xref> once pointed out that writing performance, including language accuracy, complexity, and fluency. And it is essential to take the EFL writing performance and emotions into consideration. In the course of EFL writing, EFL learners would induce a variety of positive or negative emotions. Furthermore, negative emotions like foreign language anxiety and foreign language boredom have been found to negatively predict the EFL writing production, while positive emotions like foreign language enjoyment have been confirmed to positively contribute to EFL writing outcomes (<xref ref-type="bibr" rid="ref1002">Teimouri et al., 2019</xref>). From the perspective of emotions and writing tasks, conducting the analysis and study of learners&#x2019; language performance can contribute to a comprehensive understanding of learners&#x2019; language information (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>). The current study, from the lens of emotions to investigate EFL writing production, would be beneficial to gain insights into how emotions, along with different writing tasks, respectively, affect the EFL writing performance.</p>
<p>Numerous studies have been conducted to examine the effect of task factors and cognitive factors on the dimensions of EFL writing performance. For example, the effect of different writing tasks and different genres on the dimensions of writing performance has been reported (<xref ref-type="bibr" rid="ref46">Qin and Uccelli, 2016</xref>), as has the effect of cognitive factors like task complexity on the measures of EFL writing performance (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>; <xref ref-type="bibr" rid="ref2">Awwad and Tavakoli, 2022</xref>). However, EFL writing is a very complex process which is affected by a variety of factors, such as social environmental factors (learning environment, curriculum environment) and individual factors (cognition, affect, and working memory). For example, <xref ref-type="bibr" rid="ref18">Grabe and Stoller (2001)</xref> not least emphasized the importance of the curriculum environment and affective factors in writing. Meanwhile, <xref ref-type="bibr" rid="ref20">Hyland (2003)</xref> further argued that language writing should be concerned with individuals&#x2019; affective factors. Indeed, learning emotions such as anxiety, boredom, and enjoyment are also factors that influence EFL writing (<xref ref-type="bibr" rid="ref36">Mahfoodh, 2017</xref>; <xref ref-type="bibr" rid="ref63">Zheng and Yu, 2018</xref>; <xref ref-type="bibr" rid="ref19">Han and Hyland, 2019</xref>). Moreover, they unanimously highlighted the effect of high or low learning emotions on EFL learning and advised to further examine the interaction effect of cognition and emotion in EFL writing. This implies the importance of the integration of cognitive and affective factors into EFL writing should be elaborated. As such, the current study is to further explore the possible relations between task complexity, writing anxiety, writing enjoyment, and writing boredom and the dimensions of writing performance.</p>
</sec>
<sec id="sec2">
<label>2</label>
<title>Literature review</title>
<sec id="sec3">
<label>2.1</label>
<title>EFL writing performance</title>
<p><xref ref-type="bibr" rid="ref12">Ellis and Barkhuizen (2005)</xref> stated that writing performance is composed of language complexity, language fluency, and language accuracy. The development of writing performance plays an important role in facilitating writing ability. Thus, the measurements of language complexity, language fluency, and language accuracy in EFL writing performance have long been acknowledged as a major goal of research in the development of writing ability. Numerous studies have been conducted to explore a variety of measurements of language complexity, language accuracy, and language fluency. For example, <xref ref-type="bibr" rid="ref59">Wolfe-Quintero et al. (1998)</xref> examined more than one hundred measures of complexity, fluency, and accuracy in order to verify the characteristics of different indicators in measuring language accuracy, fluency, and complexity and the categories of these indicators. <xref ref-type="bibr" rid="ref6">Cumming et al. (2005)</xref>, based on Wolfe-Quintero&#x2019;s research synthesis, by statistical analysis, found that the number of words per minute (W/M) can be used to measure the fluency of language, the number of errors per T-unit (E/T) and the ratio of errors to the total number of words (E/W) can test the accuracy of language, and the ratio of word type to word token (TTR) can be used to measure lexical complexity. Similarly, <xref ref-type="bibr" rid="ref34">Lu (2010)</xref>, by the research synthesis of <xref ref-type="bibr" rid="ref59">Wolfe-Quintero et al. (1998)</xref> and <xref ref-type="bibr" rid="ref41">Ortega (2003)</xref>, described the automatic analysis of syntactic complexity in writing performance using 14 different measures proposed in studies of second language development, facilitating and extending in EFL writing performance research.</p>
<p>The measurement of language complexity, accuracy, and fluency has provided the basis for further investigating EFL writing performance, and the research has begun to concern about the development of language complexity, language accuracy, and language fluency from the perspective of cognitive factors, such as task complexity, task difficulty, task types, and task genres in EFL context (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>; <xref ref-type="bibr" rid="ref37">Malicka, 2020</xref>; <xref ref-type="bibr" rid="ref2">Awwad and Tavakoli, 2022</xref>; <xref ref-type="bibr" rid="ref55">Tao and Wang, 2022</xref>). For example, the typical study conducted by <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref>, based on the research findings conducted by <xref ref-type="bibr" rid="ref58">Widdowson (1990)</xref>, <xref ref-type="bibr" rid="ref33">Long (1998)</xref> and <xref ref-type="bibr" rid="ref52">Skehan (1998)</xref>, described a framework for examining the effects of the cognitive complexity of tasks on language performance and learner perceptions of task difficulty, with the results indicating that the significant effects of task complexity and task difficulty on the dimensions of language complexity and language accuracy. Among the previous researches, the similarity was that the dimensions of writing performance were investigated from the perspective of cognitive factors or task factors, with the results showing the significant effects of both task complexity and different tasks on writing performance. The differences were that <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref>, in his study, shed light on the effects of some affective factors such as confidence, motivation, and anxiety on writing performance, with the results that motivation, as well as confidence affected the writing performance, but concurrently emphasized the important role played by classroom anxiety in writing, and appealed to supplementing the following research about the relation between affective factors such as anxiety and the dimensions of language performance by adopting more extensive and detailed instrumentation.</p>
<p>To sum up, the development of EFL writing performance is not only affected by cognitive factors but rather affected by learning emotions. In order to fill the gap in the studies of the three indices of EFL writing performance, the present study attempts to incorporate task complexity and the learning emotions into EFL writing performance and gain insights into how task complexity and learning emotions such as boredom, enjoyment, and anxiety may influence language complexity, language fluency, and language accuracy.</p>
</sec>
<sec id="sec4">
<label>2.2</label>
<title>Foreign language writing emotions and EFL writing</title>
<p><xref ref-type="bibr" rid="ref14">Fehr and Russell (1984)</xref> have noted that emotion is not difficult to understand until we are asked to give its definition. <xref ref-type="bibr" rid="ref7">Damasio (1994)</xref> defined the term emotions as changes in the body state in response to a positive or negative environment. Nowadays, emotions are considered to be the factors to direction the behavior. <xref ref-type="bibr" rid="ref39">Oatley and Jenkins (1996)</xref> claimed that emotions are the central part of human mental life, which affects our physical well-being. Even research shows that afflictive emotions can make one ill, and positive emotions can tend to promote health (<xref ref-type="bibr" rid="ref17">Goleman, 1997</xref>). Overall, the above definitions have presented the possible relationship between emotions, social environment, and human behaviors.</p>
<p>Not until positive psychology (PP) was introduced into second language learning, the new trends in the literature on emotions in SLA have emerged in the EFL educational context (<xref ref-type="bibr" rid="ref30">Li et al., 2018</xref>; <xref ref-type="bibr" rid="ref8">Dewaele, 2019</xref>; <xref ref-type="bibr" rid="ref32">Li and Xu, 2019</xref>; <xref ref-type="bibr" rid="ref45">Prior, 2019</xref>; <xref ref-type="bibr" rid="ref56">Tsang and Lee, 2023</xref>). From the perspective of PP, the research on emotions in SLA is conducted under the theoretical framework of the broaden-and-build theory (<xref ref-type="bibr" rid="ref16">Fredrickson, 2001</xref>) and control-value theory (<xref ref-type="bibr" rid="ref42">Pekrun, 2006</xref>) to explore the influence of positive emotions and negative emotions on foreign language learning performance (<xref ref-type="bibr" rid="ref10">Dewaele and Li, 2020</xref>). The broaden-and-build theory has played a part in building the &#x201C;emotional wave&#x201D; (<xref ref-type="bibr" rid="ref35">MacIntyre and Gregersen, 2012</xref>; <xref ref-type="bibr" rid="ref11">Dewaele and MacIntyre, 2016</xref>), which holds that positive emotion and negative emotion are two types of emotions with different functions; positive emotions have positive effects on cognition, motivation, physiology, psychology, and social resources, while negative emotions shrink short-term and long-term resources and affect individuals&#x2019; cognition of the environment (<xref ref-type="bibr" rid="ref16">Fredrickson, 2001</xref>).</p>
<p>At present, control-value theory is introduced into SLA research and expands the perspective of SLA research (<xref ref-type="bibr" rid="ref30">Li et al., 2018</xref>; <xref ref-type="bibr" rid="ref19">Han and Hyland, 2019</xref>). <xref ref-type="bibr" rid="ref42">Pekrun (2006)</xref> proposed the conceptual framework of learning emotion based on this theory, and then <xref ref-type="bibr" rid="ref43">Pekrun and Linnenbrink-Garcia (2012)</xref> defined learning emotion from three dimensions: valence (positive emotion and negative emotion), activity (emotional arousal), and orientation (arousal of emotional objects). For example, enjoyment is classified as a positive high-arousal emotion and hopelessness as a low-arousal emotion (<xref ref-type="bibr" rid="ref11">Dewaele and MacIntyre, 2016</xref>). There have been some studies on the relationship between emotions and learning achievement. For example, the relationship between anxiety and writing achievement (<xref ref-type="bibr" rid="ref62">Zabihi et al., 2020</xref>) and the positive emotion (foreign language enjoyment) on foreign language achievement (see <xref ref-type="bibr" rid="ref9">Dewaele and Alfawzan, 2018</xref>; <xref ref-type="bibr" rid="ref51">Saito et al., 2018</xref>). The above-mentioned studies shed light on the positive effect of high-level positive emotions on language achievement and the negative effect of high levels of negative emotions on language learning. However, little attention has been concentrated on how the diverse-specific state emotions like writing anxiety, writing boredom and writing enjoyment appeared in the process of writing tasks administering, and how the different levels of emotions affect the dimensions of writing performance along with the cognitive factors like task complexity. EFL writing has a complicated cognitive process, and learners are prone to produce a variety of emotions (<xref ref-type="bibr" rid="ref5">Cotterall, 2011</xref>). The diverse-specific state emotions may arise from the writing task complexity. <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref> examined the relationship between task complexity and task difficulty in task production, suggesting the extent to which task complexity can predict the learners&#x2019; stress, confidence, interest, and even motivation. Although the prior studies, in the domain of task-based instruction, paid attention to learners&#x2019; different emotions in perspective of task difficulty, the research instrumentation should have been extended and detailed. For example, adding more items to the different emotion variables based on preceding studies. Additionally, the effect of multiple high- or low-specific state emotions on the dimensions of EFL writing performance and the effect of high or low emotions at different writing task complexity on EFL writing performance also needed to be considered.</p>
</sec>
<sec id="sec5">
<label>2.3</label>
<title>Task complexity and writing performance</title>
<p>Task complexity is related to the attentional, memory, reasoning, and other information processing demands imposed by the structure of the task on the language learner (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>). Thus, it is a cognitive factor. The impact of task complexity on foreign language learning production has attracted scholars&#x2019; attention in the field of SLA (e.g., <xref ref-type="bibr" rid="ref24">Kormos and Trebits, 2011</xref>; <xref ref-type="bibr" rid="ref27">Kuiken and Vedder, 2011</xref>; <xref ref-type="bibr" rid="ref3">Benson, 2015</xref>). Numerous studies are based on the cognitive hypothesis (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>, <xref ref-type="bibr" rid="ref49">2011</xref>, <xref ref-type="bibr" rid="ref50">2015</xref>) and competition hypothesis (<xref ref-type="bibr" rid="ref53">Skehan, 2009</xref>) as the theoretical basis for exploring the influence of task complexity on EFL learning. According to the cognitive hypothesis, the two dimensions of resource-directing and resource-depleting are important factors affecting the complexity of the task; these two dimensions have different effects on the allocation of attention resources and the resource-directing dimension by increasing the difficulty of the task, and the cognitive requirements of conceptualization can direct attention resources to language performance, resulting in more accurate and complex language output and lower language fluency. As the resource-depleting dimension increases, learners will consume more attention resources and thus pay less attention to language performance, affecting language accuracy, complexity, and fluency. According to the competition hypothesis, learners are affected by the capacity of working memory, so the increase in task complexity can only make learners pay priority to either language accuracy or complexity. Nowadays, studies have explored the relationship between task complexity and L2 writing performance, but with inconsistent results. For example, <xref ref-type="bibr" rid="ref60">Yan and Zhang (2015)</xref> pointed out that there was not a significant main effect of task complexity on language complexity and fluency in EFL writing performance, but a significant task complexity and self-efficacy interaction on EFL writing accuracy. <xref ref-type="bibr" rid="ref57">Wang et al. (2020)</xref>, based on 616 Chinese English learners, comprehensively investigated the impact of task complexity on language complexity, with the findings indicating that task complexity has an impact on different dimensions of language complexity. The above inconsistent findings may be the ignorance of the effects of individual factors, such as learning emotions, on the dimensions of writing performance. Furthermore, <xref ref-type="bibr" rid="ref22">Jin and Wang (2021)</xref> not least stressed that future research could explore the interaction between task complexity and different learner factors as well as cultural environment, suggesting that cognitive factors like task complexity as well as learner factors like positive and negative emotional factors should be integrated into the development of EFL writing performance.</p>
</sec>
<sec id="sec6">
<label>2.4</label>
<title>Goals of the current study</title>
<p>The present study seeks to address this gap. Drawing on <xref ref-type="bibr" rid="ref42">Pekrun&#x2019;s (2006)</xref> learning emotions such as anxiety, boredom, and enjoyment and <xref ref-type="bibr" rid="ref48">Robinson&#x2019;s (2001)</xref> concept about task complexity, it added the assessment of L2 proficiency based on a dedicated reading and writing proficiency test as the main dependent variable. It attempts to pursue two principal objectives: first, to explore the relation between task complexity and multiple learning emotions, and second, to investigate the possible interaction effects of task complexity and diverse high or low emotions on the dimensions of EFL writing performance. Specifically, we attempt to investigate the following research questions (RQS) among English major students in a Chinese EFL context.</p>
<disp-quote>
<p><italic>RQ1</italic>: To what extent do writing anxiety, boredom, and enjoyment differ when attempting no tests, a simple writing task (posttest 1) and a difficult writing task (posttest 2)?</p>
</disp-quote>
<disp-quote>
<p><italic>RQ2</italic>: To what extent does the interaction (s) of task complexity with writing anxiety, boredom, and enjoyment respectively contribute to individual differences in language fluency, complexity, and accuracy in the EFL educational context?</p>
</disp-quote>
<p>To better elaborate on the preceding literature and the above research questions, we, drawing on the work by <xref ref-type="bibr" rid="ref47">Rahimi and Zhang (2019)</xref>, have synthesized the conceptual information in the current study, with the details indicated in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>The conceptual framework of emotions, task difficulty, language complexity, accuracy, and fluency.</p>
</caption>
<graphic xlink:href="feduc-09-1323843-g001.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="methods" id="sec7">
<label>3</label>
<title>Method</title>
<sec id="sec8">
<label>3.1</label>
<title>Participants</title>
<p>By convenient sampling, the participants were 84 Chinese mainland EFL learners, 8.9% males and 91.1% females, aged 19&#x2013;20, who were university students majoring in English at a university in Hubei Province, China. They were all sophomores from three different classes, with 28 students from Class 1, 10.3% males and 89.7% females, with 28 students from Class 2, 7.4% males and 92.6% females, and 28 students from Class 3, which were recruited using convenience sampling.</p>
<p>The number of 84 students in the present study, based on the measurement results collected by questionnaires of writing anxiety, writing boredom, and writing enjoyment among 177 students of Class 1, Class 2, and Class 3, has been divided into six subgroups. To be specific, questionnaires of writing anxiety, writing boredom, and writing enjoyment are administered in three classes at the same time; we employed the way to sort the groups suggested by <xref ref-type="bibr" rid="ref1">Argyrous (2000)</xref>, with 25% of the high score and 25% of the low score as the boundary between high score group and low score group. Finally, we confirmed six subgroups, with the subgroup information demonstrated in <xref ref-type="table" rid="tab1">Table 1</xref>. The six subgroups, with high or low levels of respective writing emotions, are selected to be between-subject factors due to high- or low-specific emotions exhibiting a big influence on EFL learning achievement (<xref ref-type="bibr" rid="ref11">Dewaele and MacIntyre, 2016</xref>).</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>The information of subgroups in the present study.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Code</th>
<th align="left" valign="top">Subgroups</th>
<th align="center" valign="top">Number</th>
<th align="center" valign="top">Male</th>
<th align="center" valign="top">Female</th>
<th align="center" valign="top">Class</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">1</td>
<td align="left" valign="middle">High writing anxiety</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">2</td>
<td align="center" valign="middle">12</td>
<td align="center" valign="middle">1</td>
</tr>
<tr>
<td align="left" valign="middle">2</td>
<td align="left" valign="middle">Low writing anxiety</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">13</td>
<td align="center" valign="middle">1</td>
</tr>
<tr>
<td align="left" valign="middle">3</td>
<td align="left" valign="middle">Low writing boredom</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">11</td>
<td align="center" valign="middle">2</td>
</tr>
<tr>
<td align="left" valign="middle">4</td>
<td align="left" valign="middle">High writing boredom</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">2</td>
<td align="center" valign="middle">12</td>
<td align="center" valign="middle">2</td>
</tr>
<tr>
<td align="left" valign="middle">5</td>
<td align="left" valign="middle">Low writing enjoyment</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">11</td>
<td align="center" valign="middle">3</td>
</tr>
<tr>
<td align="left" valign="middle">6</td>
<td align="left" valign="middle">High writing enjoyment</td>
<td align="center" valign="middle">14</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">13</td>
<td align="center" valign="middle">3</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>All participants were native Chinese speakers who shared a very similar social and cultural background. All learners, by the time of their admission into university, had learned English in primary school for 3&#x2009;years and in high school for 6&#x2009;years, and they were non-native English speakers, with a little concentration on spoken language use in high school education. Additionally, all the students have taken the National English Test authorized by the Chinese foreign test center, and additionally, it has been analyzed, by one-way between-subject ANOVA, that there is no significant difference in TEM-4 scores among six subgroups (<italic>p</italic>&#x2009;=&#x2009;0.059&#x2009;&#x003E;&#x2009;0.05). To further exclude the effect of other emotions on EFL writing performance between respective high or low emotions, paired-sample <italic>T</italic>-test was conducted among different emotions, indicating, between writing anxiety groups, that there is no significant difference in writing enjoyment (<italic>p</italic>&#x2009;=&#x2009;0.090&#x2009;&#x003E;&#x2009;0.05) and writing boredom (<italic>p</italic>&#x2009;=&#x2009;0.802&#x2009;&#x003E;&#x2009;0.05). Between writing enjoyment groups, there is no significant difference in writing anxiety (<italic>p</italic>&#x2009;=&#x2009;0.342&#x2009;&#x003E;&#x2009;0.05); however, there is a significant difference in writing boredom (<italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), which needs to be further discussed. Between writing boredom groups, there is no significant difference in writing anxiety (<italic>p</italic>&#x2009;=&#x2009;0.135&#x2009;&#x003E;&#x2009;0.05) and writing enjoyment (<italic>p</italic>&#x2009;=&#x2009;0.464&#x2009;&#x003E;&#x2009;0.05).</p>
</sec>
<sec id="sec9">
<label>3.2</label>
<title>Instruments</title>
<sec id="sec10">
<label>3.2.1</label>
<title>Questionnaire</title>
<p>The questionnaire (see <xref ref-type="supplementary-material" rid="SM1">Appendix A</xref>) was composed of two parts. Part A consisted of personal background information such as gender, grade, major, and years of English learning.</p>
<p>Part B included 19 items drawn from the work of <xref ref-type="bibr" rid="ref4">Cheng (2004)</xref>, <xref ref-type="bibr" rid="ref30">Li et al. (2018)</xref> and <xref ref-type="bibr" rid="ref1003">Shao et al. (2019)</xref>. The participants were required to select one of the possible answers on a 5-point Likert scale, ranging from 1 (&#x201C;strongly disagree&#x201D; on the left end) to 5 (&#x201C;strongly agree&#x201D; on the right end). The above items were used to measure the learning emotions in the present research, which could contribute to comparisons with the results of the preceding studies.</p>
<p>The questionnaire content in Part B covered the information based on the following three variables: (a) writing boredom with seven items was drawn from the study about learning emotions conducted by <xref ref-type="bibr" rid="ref1003">Shao et al. (2019)</xref>; (b) writing enjoyment with six items was adapted from <xref ref-type="bibr" rid="ref30">Li et al. (2018)</xref>; (c) writing anxiety with six items consisted of the items from the study conducted by <xref ref-type="bibr" rid="ref4">Cheng (2004)</xref>. All the items demonstrated in the current study have been adapted from the previous research based on the writing education context in China, such as &#x201C;English writing exercises in class really makes me bored&#x201D; or &#x201C;I feel enjoyable about English writing exercises in English writing class&#x201D; or &#x201C;Whenever I am asked to finish the English writing task in Class, I will feel nervous.&#x201D;</p>
<p>Questionnaire as an instrument can be used to obtain the quantitative data, and the reliability of the questionnaire refers to the consistency and stability of quantitative data measured by questionnaire. Nowadays, the reliability analysis of questionnaire can be employed by Cronbach&#x2019;s alpha to measure the internal consistency of questionnaire, whose value varies from 0.00 to 1.00; the larger the value is, the higher the reliability will be. However, the reliability is widely accepted if the Cronbach alpha is over 0.70. The questionnaires involved in the present study were originally from the works of early researchers, in which the reliability analysis of questionnaires is as follows: (1) writing boredom (seven items, Cronbach&#x2019;s alpha&#x2009;=&#x2009;0.83); (2) writing enjoyment (six items, Cronbach&#x2019;s alpha&#x2009;=&#x2009;0.83); (5) writing anxiety (six items, Cronbach&#x2019;s alpha&#x2009;=&#x2009;0.842).</p>
<p>The CFA has been conducted to measure the validity of the questionnaire, demonstrating that the fitness indexes all learning emotions involved in the present study, with the results indicated in <xref ref-type="table" rid="tab2">Table 2</xref>. It is indicated, by the reliability and validity analysis, that the questionnaire involved in the present study can be accepted.</p>
<table-wrap position="float" id="tab2">
<label>Table 2</label>
<caption>
<p>The model fit statistics for confirmatory factor analysis for WE, WA, and WB.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Index</th>
<th align="center" valign="top">CMIN/DF</th>
<th align="center" valign="top">
<italic>p</italic>
</th>
<th align="center" valign="top">GFI</th>
<th align="center" valign="top">AGFI</th>
<th align="center" valign="top">CFI</th>
<th align="center" valign="top">RMR</th>
<th align="center" valign="top">RMSEA</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Reference</td>
<td align="center" valign="middle">&#x2266;5</td>
<td align="center" valign="middle">&#x003E;0.05</td>
<td align="center" valign="middle">&#x2267;0.90</td>
<td align="center" valign="middle">&#x2267;0.90</td>
<td align="center" valign="middle">&#x2267;0.90</td>
<td align="center" valign="middle">&#x2266;0.10</td>
<td align="center" valign="middle">&#x2266;0.08</td>
</tr>
<tr>
<td align="left" valign="middle">Writing enjoyment</td>
<td align="center" valign="middle">3.78</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.923</td>
<td align="center" valign="middle">0.9</td>
<td align="center" valign="middle">0.933</td>
<td align="center" valign="middle">0.087</td>
<td align="center" valign="middle">0.075</td>
</tr>
<tr>
<td align="left" valign="middle">Writing anxiety</td>
<td align="center" valign="middle">2.27</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.913</td>
<td align="center" valign="middle">0.917</td>
<td align="center" valign="middle">0.902</td>
<td align="center" valign="middle">0.029</td>
<td align="center" valign="middle">0.064</td>
</tr>
<tr>
<td align="left" valign="middle">Writing boredom</td>
<td align="center" valign="middle">3.69</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.923</td>
<td align="center" valign="middle">0.916</td>
<td align="center" valign="middle">0.939</td>
<td align="center" valign="middle">0.087</td>
<td align="center" valign="middle">0.075</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec11">
<label>3.2.2</label>
<title>Writing materials of different task complexity</title>
<p>The experimental materials of this study are two writing tasks of high and low complexity, which are adapted from the writing tasks of different complexity in the experiments of and <xref ref-type="bibr" rid="ref25">Kuiken and Vedder (2007)</xref> and <xref ref-type="bibr" rid="ref15">Frear and Bitchener (2015)</xref>. The materials are adapted to the Chinese cultural background, which was that an English native speaker plans to travel to China, which is presented in <xref ref-type="supplementary-material" rid="SM1">Appendix B</xref>. The participants are asked to help foreign tourists make a detailed travel plan (mainly including food, accommodation, and choice of tourist attractions) through emails.</p>
<p>Task 1 (simple task): Participants are required to write a letter to a foreign friend, which mainly introduces the tourist attractions and delicious food in China, and complete an exposition (no limit on words and time).</p>
<p>Task 2 (complex task): The researcher provides two restaurants and four hotels, as well as the preference information of accommodation and tourist attractions of foreign tourists, and asks the participants to choose the best tourist attraction for the tourist and choose a restaurant and hotel for the tourist as well. Since the restaurants and hotels provided could not meet the requirements completely, the participants are required to choose the restaurant and hotel which are most suitable for tourists through analysis and reasoning from the information provided by the alternative restaurants and hotels and then to complete an exposition explaining the reasons for the choice (no word limit). The completion time is 40&#x2009;min.</p>
<p>In this study, the resource-directing dimensions (whether the processing of spatio-temporal concepts is involved, whether inference elements are involved, whether multiple task elements are involved) and the resource depletion dimensions (whether there is limited time, whether schemata knowledge is involved, and whether it is a single task) for different writing tasks have been analyzed. Based on the cognitive hypothesis proposed by <xref ref-type="bibr" rid="ref48">Robinson (2001</xref>, <xref ref-type="bibr" rid="ref49">2011)</xref>, we distinguished the task complexity from the above two writing tasks, with the details demonstrated in <xref ref-type="table" rid="tab3">Table 3</xref>.</p>
<table-wrap position="float" id="tab3">
<label>Table 3</label>
<caption>
<p>Classification of task complexity.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="3">Writing task</th>
<th align="center" valign="top" colspan="3">Resource-directing dimensions</th>
<th align="center" valign="top" colspan="3">Resource depletion dimensions</th>
<th align="center" valign="top" rowspan="3">Task complexity</th>
</tr>
<tr>
<th align="center" valign="top">Past</th>
<th align="center" valign="top" rowspan="2">Reasoning</th>
<th align="center" valign="top">Multiple</th>
<th align="center" valign="top">Planned</th>
<th align="center" valign="top">Compound</th>
<th align="center" valign="top">Schemata</th>
</tr>
<tr>
<th align="center" valign="top">Event</th>
<th align="center" valign="top">Ingredients</th>
<th align="center" valign="top">Time</th>
<th align="center" valign="top">Task</th>
<th align="center" valign="top">Knowledge</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Task 1</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">Low</td>
</tr>
<tr>
<td align="left" valign="middle">Task 2</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">+</td>
<td align="center" valign="middle">+</td>
<td align="center" valign="middle">+</td>
<td align="center" valign="middle">+</td>
<td align="center" valign="middle">&#x2212;</td>
<td align="center" valign="middle">High</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Task 2, in terms of resource distribution dimension, was presented with multiple elements and compound tasks (see <xref ref-type="supplementary-material" rid="SM1">Appendix B</xref>) and needed to be reasoned within a limited time. Accordingly, task 2 is classified as a high writing complexity task, while task 1 is a low writing complexity task in the current study.</p>
</sec>
</sec>
<sec id="sec12">
<label>3.3</label>
<title>Procedure</title>
<p>The investigation and the different writing tasks were administered in three classes during class time. The specific process of research was presented in the following details.</p>
<p>To begin with, the investigation of writing anxiety, writing enjoyment, and writing boredom is administered to the students of three classes (<italic>N</italic>&#x2009;=&#x2009;177) in the first week of the Autumn semester of 2023, with the aim of finding out six different subgroups as Between-subject factors and exploring the general state of writing anxiety, writing enjoyment, and writing boredom among the three class students. Then, the administration of the writing task 1 was given to the students of three classes in the second week of this semester to obtain the data of the indicators of language complexity, language fluency and language accuracy, followed by the administration of questionnaires of writing anxiety, writing enjoyment, and writing boredom with the same items as those at the beginning of this semester. Finally, after 1&#x2009;week, writing task 2 was administered to the students of three classes again to extract the quantitative data of the indicators of language complexity, language fluency, and language accuracy, followed by the same questionnaires to obtain the data of six subgroups.</p>
<p>Prior to the investigation, we contacted the instructors of the three class students and also got their permission to collect data in the above classes. Participation was voluntary, and anonymity was guaranteed for all the participants. Data were matched with the help of a code system in SPSS 23.</p>
</sec>
<sec id="sec13">
<label>3.4</label>
<title>Data analysis</title>
<p>The present study, based on fluency, accuracy, and complexity of writing performance (<xref ref-type="bibr" rid="ref12">Ellis and Barkhuizen, 2005</xref>), collects the indexes of language performance. Specific language performance indicators are shown in <xref ref-type="table" rid="tab4">Table 4</xref>. The accuracy measurement indicator is an error-free t-unit rate (EFT/T) (<xref ref-type="bibr" rid="ref13">Ellis and Yuan, 2004</xref>); the complexity measures include sentence complexity and lexical complexity. Sentence complexity adopts the number of T-unit clauses (C/T), the number of subordinate conjunctions used (SC/T), and the average length of t-unit sentences (MLT). Lexical complexity adopts lexical diversity (TTR) (<xref ref-type="bibr" rid="ref23">Johnson, 2017</xref>). Fluency is measured by the number of words produced per minute (W/M) (<xref ref-type="bibr" rid="ref6">Cumming et al., 2005</xref>). The following indicators in <xref ref-type="table" rid="tab3">Table 3</xref> are assumed to be dependent variables in the present study, the six subgroups being between-subject factors and two tasks within-subject factors.</p>
<table-wrap position="float" id="tab4">
<label>Table 4</label>
<caption>
<p>Language performance measurement indicators.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Language performance</th>
<th align="left" valign="top">Indicators</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Fluency</td>
<td align="left" valign="top">W/M</td>
</tr>
<tr>
<td align="left" valign="top">Accuracy</td>
<td align="left" valign="top">EFT/T</td>
</tr>
<tr>
<td align="left" valign="top" rowspan="3">Sentence complexity</td>
<td align="left" valign="top">MLT</td>
</tr>
<tr>
<td align="left" valign="top">C/T</td>
</tr>
<tr>
<td align="left" valign="top">SC/T</td>
</tr>
<tr>
<td align="left" valign="top">Lexical complexity</td>
<td align="left" valign="top">TTR</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The language complexity and fluency indexes can be measured automatically by the online sentence analysis software Coh-Metrix 3.0 (see <xref ref-type="bibr" rid="ref61">Ye, 2013</xref>). The language accuracy index in the present study is calculated by two raters who have been teaching English for 15&#x2009;years. To begin with, two raters analyzed 20 essays to collect the grammatical errors in terms of syntactic errors, morphological errors, and lexical errors (see <xref ref-type="bibr" rid="ref44">Plakans et al., 2019</xref>). It has been found that the inter-coder and inter-rater reliability for language accuracy in terms of grammatical errors is significantly correlated (syntactic errors&#x2009;=&#x2009;0.832; morphological errors&#x2009;=&#x2009;0.89; lexical errors&#x2009;=&#x2009;0.901; error-free t-unit rate&#x2009;=&#x2009;0.82). Then, the 354 essays were distributed so that each rater got 177 essays for errors. Error-free t-unit rate (EFT/T) was, by extension, computed.</p>
<p>All the data analysis was conducted using SPSS 23.0 and AMOS 7.0, and the specific data analysis procedure is presented as follows. First, all the data will be submitted to SPSS 23.0 to process the missing values of the data, and meanwhile, the reliability analysis of writing anxiety, writing boredom, and writing enjoyment is demonstrated using Cronbach&#x2019;s alpha (<italic>N</italic>&#x2009;=&#x2009;177). Then, the processed data by SPSS is imported into AMOS 7.0 to conduct the CFA of questionnaires (see <xref ref-type="bibr" rid="ref38">Moustaki et al., 2004</xref>), with the common model fit indexes that AMOS provided in the current study presented in the Instruments section.</p>
<p>After the reliability and validity analysis of questionnaires, SPSS 23.0 is used to process the quantitative data of three-time questionnaires and the indicators of language complexity, language fluency, and language accuracy in different writing tasks. Following descriptive statistical analysis, repeated measures tests, and 2&#x2009;&#x00D7;&#x2009;<inline-formula><mml:math id="M1"><mml:mn>6</mml:mn></mml:math></inline-formula> two-factor analysis of variance are employed to shed light on the changes in writing anxiety, writing boredom, and writing enjoyment after administering the two different writing tasks, and the learning emotions and task complexity interaction on the indicators of language complexity, language fluency, and language accuracy involved in the present study.</p>
</sec>
</sec>
<sec sec-type="results" id="sec14">
<label>4</label>
<title>Results</title>
<sec id="sec15">
<label>4.1</label>
<title>Main analyses</title>
<sec id="sec16">
<label>4.1.1</label>
<title>Research question 1. Task complexity and foreign language writing emotions</title>
<p>This study examines the impact of different tasks on learning emotions, such as writing anxiety, writing enjoyment, and writing boredom among English major students based on the Chinese foreign language writing context. <xref ref-type="table" rid="tab5">Table 5</xref> shows that writing anxiety was significantly varied by the task complexity. To be specific, the study indicated that, by repeated contrast tests, the writing anxiety scores were significantly lower at the end of simple writing task administering than at the beginning [<italic>F</italic> (2, 352)&#x2009;=&#x2009;13.943, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.01]. However, the writing anxiety scores were even significantly higher at the end of difficult writing task administering than simple writing task administering [<italic>F</italic> (2, 352)&#x2009;=&#x2009;20.670, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.01]. Additionally, we also found that the writing boredom scores were significantly lower at the end of difficult writing task administering than at the beginning [<italic>F</italic> (2, 352)&#x2009;=&#x2009;4.02, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05].</p>
<table-wrap position="float" id="tab5">
<label>Table 5</label>
<caption>
<p>The effect of task complexity on learning emotions.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th rowspan="2"/>
<th align="center" valign="top" colspan="2">Pretest</th>
<th align="center" valign="top" colspan="2">Posttest 1</th>
<th align="center" valign="top" colspan="2">Posttest 2</th>
<th align="center" valign="top" rowspan="2"><italic>F</italic> (2, 352)</th>
<th align="left" valign="top" rowspan="2">Repeated contrasts</th>
</tr>
<tr>
<th align="center" valign="top">M</th>
<th align="center" valign="top">SD</th>
<th align="center" valign="top">M</th>
<th align="center" valign="top">SD</th>
<th align="center" valign="top">M</th>
<th align="center" valign="top">SD</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle" rowspan="2">WA</td>
<td align="char" valign="middle" char=".">3.09</td>
<td align="char" valign="middle" char=".">0.82</td>
<td align="char" valign="middle" char=".">2.81</td>
<td align="char" valign="middle" char=".">0.55</td>
<td align="char" valign="middle" char=".">3.16</td>
<td align="char" valign="middle" char=".">0.82</td>
<td align="char" valign="middle" char=".">13.943<sup>&#x002A;&#x002A;</sup></td>
<td align="left" valign="middle">Pretest&#x2009;&#x003E;&#x2009;posttest 1</td>
</tr>
<tr>
<td align="char" valign="middle" char=".">3.09</td>
<td align="char" valign="middle" char=".">0.82</td>
<td align="char" valign="middle" char=".">2.81</td>
<td align="char" valign="middle" char=".">0.55</td>
<td align="char" valign="middle" char=".">3.16</td>
<td align="char" valign="middle" char=".">0.82</td>
<td align="char" valign="middle" char=".">20.670<sup>&#x002A;&#x002A;</sup></td>
<td align="left" valign="middle">Pretest 2&#x2009;&#x003E;&#x2009;posttest 1</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2">WE</td>
<td align="char" valign="middle" char=".">3.63</td>
<td align="char" valign="middle" char=".">0.58</td>
<td align="char" valign="middle" char=".">3.61</td>
<td align="char" valign="middle" char=".">0.55</td>
<td align="char" valign="middle" char=".">3.56</td>
<td align="char" valign="middle" char=".">0.75</td>
<td align="char" valign="middle" char=".">1.09</td>
<td align="left" valign="middle">Pretest&#x2009;&#x003E;&#x2009;posttest 1</td>
</tr>
<tr>
<td align="char" valign="middle" char=".">3.63</td>
<td align="char" valign="middle" char=".">0.58</td>
<td align="char" valign="middle" char=".">3.61</td>
<td align="char" valign="middle" char=".">0.55</td>
<td align="char" valign="middle" char=".">3.56</td>
<td align="char" valign="middle" char=".">0.75</td>
<td align="char" valign="middle" char=".">1.22</td>
<td align="left" valign="middle">Pretest 2&#x2009;&#x003C;&#x2009;posttest 1</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2">WB</td>
<td align="char" valign="middle" char=".">2.48</td>
<td align="char" valign="middle" char=".">0.65</td>
<td align="char" valign="middle" char=".">2.55</td>
<td align="char" valign="middle" char=".">0.52</td>
<td align="char" valign="middle" char=".">2.46</td>
<td align="char" valign="middle" char=".">0.66</td>
<td align="char" valign="middle" char=".">2.07</td>
<td align="left" valign="middle">Pretest&#x2009;&#x003C;&#x2009;posttest 1</td>
</tr>
<tr>
<td align="char" valign="middle" char=".">2.48</td>
<td align="char" valign="middle" char=".">0.65</td>
<td align="char" valign="middle" char=".">2.55</td>
<td align="char" valign="middle" char=".">0.52</td>
<td align="char" valign="middle" char=".">2.46</td>
<td align="char" valign="middle" char=".">0.66</td>
<td align="char" valign="middle" char=".">4.02<sup>&#x002A;</sup></td>
<td align="left" valign="middle">Pretest&#x2009;&#x003E;&#x2009;posttest 2</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>WA, writing anxiety; WE, writing enjoyment; WB, writing boredom.</p>
</table-wrap-foot>
</table-wrap>
<p>The above-mentioned study suggested that negative learning emotions like writing anxiety and writing boredom were susceptible to change with the writing task complexity, while writing enjoyment may not change with the writing task complexity. In the present study, a simple writing task could alleviate the writing anxiety of English major students in China, while a difficult writing task could result in English major students&#x2019; higher writing anxiety. Unexpectedly, the difficult writing task could cause lower writing boredom in English major students in China, and there was not a significant difference in writing enjoyment scores at the beginning, at the end of the simple writing task, and at the end of the difficult writing task.</p>
</sec>
<sec id="sec17">
<label>4.1.2</label>
<title>Research question 2. Task complexity, foreign language writing emotions, and the dimensions of EFL writing performance</title>
<p>This study measured several indicators of fluency, accuracy and complexity of EFL writing performance. A 2&#x2009;&#x00D7;&#x2009;6 mixed design was conducted with the dimensions of language fluency, language accuracy, and language complexity as the dependent variables and task complexity (simple and difficult writing tasks) as within-subject factors and the six subgroups of learning emotions (writing anxiety, writing enjoyment, and writing boredom) as between-subject factors. The descriptive statistics and two-factor analysis of variance are shown in <xref ref-type="fig" rid="fig2">Figures 2</xref>&#x2013;<xref ref-type="fig" rid="fig4">4</xref>, with the specific data indicated in <xref ref-type="supplementary-material" rid="SM1">Appendices I&#x2013;III</xref>.</p>
<fig position="float" id="fig2">
<label>Figure 2</label>
<caption>
<p>The significant difference of high or low writing anxiety groups in different writing tasks at language fluency, complexity, and accuracy. LWA&#x2009;+&#x2009;DWT&#x2009;=&#x2009;low writing anxiety&#x2009;+&#x2009;difficult writing task; LWA&#x2009;+&#x2009;SWT&#x2009;=&#x2009;low writing anxiety&#x2009;+&#x2009;simple writing task; HWA&#x2009;+&#x2009;DWT&#x2009;=&#x2009;high writing anxiety&#x2009;+&#x2009;difficult writing task; HWA&#x2009;+&#x2009;SWT&#x2009;=&#x2009;high writing anxiety&#x2009;+&#x2009;simple writing task.</p>
</caption>
<graphic xlink:href="feduc-09-1323843-g002.tif"/>
</fig>
<fig position="float" id="fig3">
<label>Figure 3</label>
<caption>
<p>The significant difference of high or low writing boredom groups in different writing tasks at language complexity. LWB&#x2009;+&#x2009;DWT&#x2009;=&#x2009;low writing boredom&#x2009;+&#x2009;difficult writing task; LWB&#x2009;+&#x2009;SWT&#x2009;=&#x2009;low writing boredom&#x2009;+&#x2009;simple writing task; HWB&#x2009;+&#x2009;DWT&#x2009;=&#x2009;high writing boredom&#x2009;+&#x2009;difficult writing task; HWB&#x2009;+&#x2009;SWT&#x2009;=&#x2009;high writing boredom&#x2009;+&#x2009;simple writing task.</p>
</caption>
<graphic xlink:href="feduc-09-1323843-g003.tif"/>
</fig>
<fig position="float" id="fig4">
<label>Figure 4</label>
<caption>
<p>The significant difference of high or low writing enjoyment groups in different writing tasks at language fluency, complexity, and accuracy. LWE&#x2009;+&#x2009;DWT&#x2009;=&#x2009;low writing enjoyment&#x2009;+&#x2009;difficult writing task; LWE&#x2009;+&#x2009;SWT&#x2009;=&#x2009;low writing enjoyment&#x2009;+&#x2009;simple writing task; HWE&#x2009;+&#x2009;DWT&#x2009;=&#x2009;high writing enjoyment&#x2009;+&#x2009;difficult writing task; HWE&#x2009;+&#x2009;SWT&#x2009;=&#x2009;high writing enjoyment&#x2009;+&#x2009;simple writing task.</p>
</caption>
<graphic xlink:href="feduc-09-1323843-g004.tif"/>
</fig>
<sec id="sec18">
<label>4.1.2.1</label>
<title>Fluency indicator</title>
<p>Fluency, in the current study, was measured by W/M. In <xref ref-type="fig" rid="fig2">Figures 2</xref>, <xref ref-type="fig" rid="fig4">4</xref>, the results indicated a significant interaction effect between writing anxiety, writing enjoyment, and writing task complexity, respectively. However, we have not found significant writing boredom and task complexity interaction for the fluency indicator.</p>
<p>Specifically, for the writing anxiety and task complexity interaction in fluency indicator [<italic>F</italic> (3, 52)&#x2009;=&#x2009;11.492, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.01], it is indicated, in <xref ref-type="fig" rid="fig2">Figure 2</xref>, that English major students in China with low levels of writing anxiety can result in more fluency of language in difficult writing task than those with low level of writing anxiety in simple writing task (MD&#x2009;=&#x2009;1.4, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05); however, the students with a high level of writing anxiety can produce less fluency in difficult writing task than those in simple writing task (MD&#x2009;=&#x2009;1.87, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05). In addition, we have also found that students with a low level of writing anxiety in the difficult writing task can have more fluency than those with a high level of writing anxiety in the difficult writing task (MD&#x2009;=&#x2009;1.85, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), while the students with low writing anxiety can produce less fluency in simple writing task than those with high writing anxiety in simple writing task (MD&#x2009;=&#x2009;1.42, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05).</p>
<p>As for the significant writing enjoyment and task complexity interaction for language fluency [<italic>F</italic> (3, 52)&#x2009;=&#x2009;22.303, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.01], it is demonstrated, in <xref ref-type="fig" rid="fig4">Figure 4</xref>, for those students with a low level of writing enjoyment, that there was no significant difference in language fluency production between difficult writing task and simple writing task (MD&#x2009;=&#x2009;0.03, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05), while for those with high-level writing enjoyment, there was a significant difference in language fluency production between difficult writing task and simple writing task (MD&#x2009;=&#x2009;1.67, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), suggesting that students with high-level writing enjoyment can produce more language fluency in difficult writing task. For those students in the difficult writing task, there was a significant difference between high writing enjoyment and low writing enjoyment (MD&#x2009;=&#x2009;2.07, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), while for those in simple writing task, there was no significant difference between high writing enjoyment and low writing enjoyment (MD&#x2009;=&#x2009;0.37, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05), indicating that those students with high-level writing enjoyment can produce more language fluency in difficult writing task.</p>
</sec>
<sec id="sec19">
<label>4.1.2.2</label>
<title>Accuracy indicator</title>
<p>T-unit grammar error rate index (E/T) was used to measure the language accuracy in the current study. It is indicated, in <xref ref-type="fig" rid="fig2">Figures 2</xref>, <xref ref-type="fig" rid="fig4">4</xref>, that there was significant writing anxiety and task complexity interaction [<italic>F</italic> (3, 52)&#x2009;=&#x2009;4.534, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05], writing enjoyment and task complexity interaction [<italic>F</italic> (3, 52)&#x2009;=&#x2009;31.935, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05] in language accuracy.</p>
<p><xref ref-type="fig" rid="fig2">Figure 2</xref> demonstrated the details that, for those students in difficult writing tasks, there was a significant difference between high-level writing anxiety and low writing anxiety in language accuracy (MD&#x2009;=&#x2009;0.18, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), while for those students in the simple writing task, there was no significant difference between high writing anxiety and low writing anxiety (MD&#x2009;=&#x2009;0.04, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05), suggesting that those students with high writing anxiety are likely to company with less language accuracy production. For the students with high writing anxiety or low writing anxiety, there was no significant difference between difficult writing tasks and simple writing tasks in language accuracy production.</p>
<p>Additionally, <xref ref-type="fig" rid="fig4">Figure 4</xref> indicated for those students with low-level writing enjoyment, that there was a significant difference between difficult writing task and simple writing tasks in language accuracy production (MD&#x2009;=&#x2009;0.15, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), while for those with high-level writing enjoyment, that there was no significant difference between difficult writing task and simple writing task in language accuracy production (MD&#x2009;=&#x2009;0.04, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05), suggesting that those students with low-level writing enjoyment may have more language accuracy production in simple writing task. For those students in difficult writing tasks or simple writing tasks, there was a significant difference between high writing enjoyment and low writing enjoyment in language accuracy production, indicating that those students with high writing enjoyment can produce more language accuracy in either difficult writing tasks or simple writing tasks.</p>
<p>Unexpectedly, we have not found significant writing boredom and task complexity interaction in language accuracy production [<italic>F</italic> (3, 52)&#x2009;=&#x2009;1.077, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05], with the data indicated in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p>
</sec>
<sec id="sec20">
<label>4.1.2.3</label>
<title>Complexity indicators</title>
<p>The dimensions of language complexity consisted of MLT, C/T, and SC/T in the present study, and the following presented the details about how task complexity and learning emotions explained the variance of the dimensions of language complexity. <xref ref-type="fig" rid="fig2">Figures 2</xref>&#x2013;<xref ref-type="fig" rid="fig4">4</xref> demonstrated the interaction of writing anxiety and task complexity, writing boredom and task complexity, and writing enjoyment and task complexity in language complexity indicators, respectively. The following contents will indicate the details of the different writing emotions and complexity interaction in specific complexity indicators.</p>
<p>As for the writing anxiety and task complexity interaction in language complexity, the results, shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>, indicated that there was significant writing anxiety and task complexity interaction in language complexity production [<italic>F</italic> (3, 52)&#x2009;=&#x2009;12.335, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05]. For further comparison among the subgroups of writing anxiety and task complexity, the students with low writing anxiety can produce more MLT in difficult writing tasks than in simple writing tasks (MD&#x2009;=&#x2009;1.6, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05), while those with high writing anxiety have no significant difference in MLT between difficult writing task and simple writing task. For the students in difficult writing tasks, the students with low writing anxiety can produce more MLT than those with high writing anxiety (MD&#x2009;=&#x2009;1.62, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05). It is the same case with another language complexity indicator, C/T production, while we have not found any significant difference in SC/T production among the subgroups of writing anxiety and task complexity [<italic>F</italic> (3, 52)&#x2009;=&#x2009;1.492, <italic>p</italic>&#x2009;&#x003E;&#x2009;0.05]. In addition, the students with low anxiety can have more lexical complexity in difficult writing tasks than in simple writing tasks.</p>
<p>Regarding the writing boredom and task complexity interaction in language complexity indicators in the present study, <xref ref-type="fig" rid="fig3">Figure 3</xref> demonstrated that, for those students with low writing boredom, the students in difficult writing tasks can produce more MLT, C/T, and SC/T than in simple writing task, and for those students with high writing boredom, the students in difficult writing task can produce more MLT than in simple writing task, however, produce no significant difference of other complexity indicators. For those students in the difficult writing task, the students with low writing boredom resulted in more MLT, C/T, and SC/T than those with high writing boredom, while for those students in the simple writing task, there was no significant difference in the production of MLT, C/T, and SC/T between students with high writing boredom and those with low writing boredom.</p>
<p>In terms of the writing enjoyment and task complexity interaction in language complexity indicators in the current study, the results, demonstrated in <xref ref-type="fig" rid="fig4">Figure 4</xref>, indicated that there was significant writing enjoyment and task complexity interaction in MLT [<italic>F</italic> (3, 52)&#x2009;=&#x2009;7.317, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05], C/T [<italic>F</italic> (3, 52)&#x2009;=&#x2009;34.638, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05], SC/T [<italic>F</italic> (3, 52)&#x2009;=&#x2009;14.535, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05], and TTR [<italic>F</italic> (3, 52)&#x2009;=&#x2009;12.306, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.05].</p>
<p>For further comparison among the subgroups of writing enjoyment and task complexity, the students with low writing enjoyment can produce more MLT and C/T in simple writing tasks than in difficult writing tasks, and those with high writing enjoyment can significantly produce more MLT and C/T in difficult writing task than in simple writing task. For those students in difficult writing tasks, the students with high writing enjoyment result in more MLT, C/T, and SC/T than those with low writing enjoyment, and for those students in simple writing tasks, the students with high writing enjoyment still significantly produce more C/T, SC/T, and even TTR. The findings of writing enjoyment and task complexity interaction demonstrated the essential roles played in the language complexity of EFL writing performance.</p>
</sec>
</sec>
</sec>
</sec>
<sec sec-type="discussion" id="sec21">
<label>5</label>
<title>Discussion</title>
<sec id="sec22">
<label>5.1</label>
<title>Task complexity and foreign language writing emotions</title>
<p>In line with the previous studies on the effect of task complexity on learners&#x2019; perception of task difficulty, the first research question explores the effects of task complexity on learning emotions. The findings indicated, in <xref ref-type="table" rid="tab5">Table 5</xref>, that the cognitively defined difficult writing task involved in the present study can lead to greater writing anxiety, while simple writing tasks can lessen writing anxiety, suggesting that English major students in China may demonstrate greater writing anxiety with more difficult writing tasks. The result of the present study corresponds with the study conducted by <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref>, who concluded that the difficult task could result in higher stress significantly, causing, by extension, anxiety in L2 writing. Additionally, L2 writing itself is a very complicated cognitive process; learners often have a certain degree of writing anxiety, including fear and aversion, as well as anxiety behavior out of cognitive thinking obstruction (<xref ref-type="bibr" rid="ref21">Jalili and Shahrokhi, 2017</xref>), thus, that is understandable, given that the simple writing task needs few resource depletion for learners to finish the writing task easily, difficult writing task would no doubt bring the learners some stress out of more cognitive load in achieving the task, and this stress, by extension, would result in writing anxiety. Meanwhile, in the present study, we unexpectedly found that English major students in China who were given difficult writing tasks significantly induced less writing boredom, and this result can be illustrated in the prior literature. According to the definition of foreign language boredom proposed by <xref ref-type="bibr" rid="ref29">Li et al. (2023a)</xref>, foreign language boredom, as a negative emotion with extremely low activation, arises from activities that are over-challenging or under-challenging. Without hesitation, writing boredom, as a specific negative emotion in writing, can be affected by the writing tasks. Writing tasks, whether they are over-simple or over-difficult, may induce writing boredom. Additionally, writing boredom can be affected by individuals&#x2019; L2 writing competence, which is evidenced by the empirical study conducted by <xref ref-type="bibr" rid="ref31">Li et al. (2023b)</xref>. Due to the difficult writing task in the present study not over-challenging for English major students in China, the students may have less writing boredom while engaging in the appropriately difficult writing task. However, we have not found that task complexity had an impact on writing enjoyment, suggesting that the learners, as writing tasks increase in cognitive complexity, may finish the writing task without the loss of foreign language enjoyment, which is more or less consistent with the previous study by <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref>, who proposed that task complexity was not related to the interest or motivation. Overall, the findings, by comparison with the research conducted by <xref ref-type="bibr" rid="ref48">Robinson (2001)</xref> and <xref ref-type="bibr" rid="ref31">Li et al. (2023b)</xref>, presented evidence that negative emotions like writing anxiety and writing boredom are likely to arise from writing difficult tasks in EFL writing education, the extent to which it can extend the scope of the research about the mechanism of how the different writing task complexity affects the learning emotions.</p>
</sec>
<sec id="sec23">
<label>5.2</label>
<title>Task complexity, foreign language writing emotions, and the dimensions of EFL writing performance</title>
<p>This present study examines the effects of task complexity and foreign language writing emotions&#x2019; interaction on the dimensions of EFL writing performance. In order to examine the task complexity and writing emotions interaction on the dimensions of EFL writing performance, we have divided the learning emotions of writing anxiety, writing enjoyment and writing boredom into six subgroups as between-subject factors and task complexity as within-subject variables. Then, A 2&#x2009;&#x00D7;&#x2009;6 between-in-subject ANOVA analysis, shown in <xref ref-type="fig" rid="fig2">Figures 2</xref>&#x2013;<xref ref-type="fig" rid="fig4">4</xref>, found significant task complexity and learning emotions interactions on the dimensions of language fluency, language accuracy, and language complexity, respectively.</p>
<p>For task complexity and writing anxiety interaction on the dimensions of language fluency, language complexity, and language accuracy, we have found that English major students in China with low writing anxiety can lead more production of language fluency, language complexity, and language accuracy than any other subgroups in the current study, and these findings once further confirmed the essential effects of writing anxiety and task difficulty on EFL writing achievement, which has also been evidenced by the prior studies, for example, for the effect of task complexity on language achievement (see <xref ref-type="bibr" rid="ref26">Kuiken and Vedder, 2008</xref>; <xref ref-type="bibr" rid="ref40">Ong and Zhang, 2010</xref>), and for the effect of writing anxiety on language achievement (see <xref ref-type="bibr" rid="ref4">Cheng, 2004</xref>; <xref ref-type="bibr" rid="ref47">Rahimi and Zhang, 2019</xref>; <xref ref-type="bibr" rid="ref54">Tahmouresi and Papi, 2021</xref>; <xref ref-type="bibr" rid="ref31">Li et al. 2023b</xref>). However, compared with the previous studies, we looked at an investigation of writing anxiety and task complexity interaction and found there was significant writing anxiety and task complexity interaction for language fluency, language complexity, and language accuracy, respectively. To be specific, writing anxiety and task complexity interaction for language complexity dimensions is aligned with the work by <xref ref-type="bibr" rid="ref47">Rahimi and Zhang (2019)</xref>, who suggested that writing anxiety in highly complex writing tasks could negatively predict the effect on the production of language syntactic complexity. Additionally, the current study found high writing anxiety in difficult writing tasks could significantly lead to lower language accuracy, and this finding seemed to be inconsistent with the results obtained by <xref ref-type="bibr" rid="ref47">Rahimi and Zhang (2019)</xref>. The inconsistent results are due to the lack of consideration about the possible effect of different writing anxiety levels combined with different writing complexity tasks on language performance in their study. The components of writing anxiety and writing task complexity were used by <xref ref-type="bibr" rid="ref47">Rahimi and Zhang (2019)</xref>, while our study considered the effect of different writing anxiety levels (high writing anxiety and low writing anxiety) on language performance, which can also be evidenced negative effect of writing anxiety on language achievement in the previous study (<xref ref-type="bibr" rid="ref62">Zabihi et al., 2020</xref>). Regarding the writing anxiety and task complexity interaction for language fluency, we also found writing task complexity could predict language fluency when the students have the same writing anxiety level. For example, students with low levels of writing anxiety can produce more fluency of language in difficult writing tasks than those in simple writing tasks; however, students with high levels of writing anxiety can perform less fluency in difficult writing tasks than those in simple writing tasks. The findings that the predictive effect of difficult writing tasks and simple writing tasks on language fluency was presented to be significantly different in terms of different writing anxiety levels support the work by <xref ref-type="bibr" rid="ref23">Johnson (2017)</xref>. Based on the previous studies (see <xref ref-type="bibr" rid="ref13">Ellis and Yuan, 2004</xref>; <xref ref-type="bibr" rid="ref1004">Ishikawa, 2007</xref>; <xref ref-type="bibr" rid="ref23">Johnson, 2017</xref>), increasing the resource-directing dimensions or decreasing the resource depletion dimensions in writing tasks has been confirmed to lead to more language fluency production, which can be explained the different predictive effect of writing tasks on language fluency in the present study. For instance, students with highly difficult writing tasks, due to the multiple elements, sufficient time available or low anxiety level, achieve higher language fluency. Thus, this finding does not only further complement the effect of task complexity or writing anxiety on language achievement but also verifies the interaction effect of writing anxiety and task complexity on writing performance.</p>
<p>Regarding the writing boredom and task complexity interaction for EFL writing performance, we only found significant writing boredom levels and task complexity interaction for some dimensions of language complexity, such as MLT, C/T, and SC/T, presented in <xref ref-type="fig" rid="fig3">Figure 3</xref>, indicating that those students majoring in English in China with low writing boredom are likely to produce more language complexity dimension scales in the difficult writing task, except for TTR of lexical complexity. This finding is in line with the results obtained by <xref ref-type="bibr" rid="ref29">Li et al. (2023a)</xref>, which gained insights into the significant negative relationship between writing boredom and writing achievement and showed the predictive power of writing boredom on writing achievement. Compared with the study by <xref ref-type="bibr" rid="ref29">Li et al. (2023a)</xref>, we investigated the different writing boredom levels and task complexity interaction for language fluency, language complexity, and language accuracy, presenting that different writing boredom levels combined with different writing complexity led to a significant difference in language complexity, despite no significant effect on language fluency and language accuracy. This finding further extends the EFL writing literature by integrating task complexity.</p>
<p>As for writing enjoyment and task complexity interaction for language fluency, language complexity, and language accuracy, there are significantly different writing enjoyment levels and task complexity interaction for language fluency, language complexity, and language accuracy, respectively, with the data shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, suggesting that those students majoring in English in China with high writing enjoyment are likely to produce more language fluency, language complexity, and language accuracy, not least in difficult writing task. What needs to be noted is that there is a significant difference in writing boredom between high writing enjoyment and low writing enjoyment groups; that is, the positive effect of high writing enjoyment on language fluency, language complexity, and language accuracy is likely to be affected by low writing boredom. However, according to the work by <xref ref-type="bibr" rid="ref28">Li (2022)</xref>, foreign language enjoyment is presented to be significantly and negatively related to foreign language boredom. Thus, high writing enjoyment may accompany low writing boredom, and meanwhile, low writing enjoyment may go with high writing boredom. Regarding the positive effect of high foreign language enjoyment and low foreign language boredom on language learning, the findings in the current study can still explain the effect of writing enjoyment on language fluency, accuracy, and complexity.</p>
<p>As for the predictive effect of high writing enjoyment together with high-difficulty writing tasks on language complexity and accuracy, the finding can be illustrated by preceding studies (<xref ref-type="bibr" rid="ref48">Robinson, 2001</xref>, <xref ref-type="bibr" rid="ref49">2011</xref>; <xref ref-type="bibr" rid="ref23">Johnson, 2017</xref>), who unanimously shed light on the positive effect of task complexity increased by resource-directing dimensions on syntactic or lexical complexity and accuracy. However, the writing enjoyment and writing task complexity interaction for language fluency counters with the work by <xref ref-type="bibr" rid="ref48">Robinson (2001</xref>, <xref ref-type="bibr" rid="ref49">2011)</xref>, who claimed that increasing task complexity would direct the L2 learners to engross in the linguistic form such as syntactic or lexical complexity, language accuracy. Thus, writing task complexity increased by recourse directing dimensions seems to play no role in language fluency. However, the effect of the writing task and writing enjoyment interaction on language fluency can highlight the salience of writing enjoyment on language fluency in L2 writing. There are a few studies examining the relationship between foreign language enjoyment and language fluency (<xref ref-type="bibr" rid="ref1005">Bielak, 2021</xref>), reporting that high enjoyment could even contribute to processing the writing materials, and then producing the language fluency.</p>
<p>We have also found the students in the high writing enjoyment and difficult writing task subgroup present even more language fluency, language complexity, and language accuracy than any other subgroups in the current study, indicating greater predictive power of writing enjoyment on EFL writing achievement than anxiety and boredom, and this finding has been confirmed by <xref ref-type="bibr" rid="ref9">Dewaele and Alfawzan (2018)</xref>, <xref ref-type="bibr" rid="ref54">Tahmouresi and Papi (2021)</xref> and <xref ref-type="bibr" rid="ref31">Li et al. (2023b)</xref>. Compared to the prior studies, the present study examined the interaction effect of task complexity and different writing enjoyment levels on language fluency, complexity and accuracy of EFL writing, so we have found how different writing enjoyment levels with different task complexity presented significant differences in language fluency, complexity, and accuracy. Additionally, objective linguistic measures such as the dimensions of language fluency, complexity, and accuracy are used in the present study, so that we can further gain insights into such possible mediated variables as language fluency, complexity, and accuracy between writing enjoyment interacted with different writing task and writing achievement.</p>
<p>Above all, the research findings demonstrated the predictive power of positive and negative emotions like writing enjoyment, anxiety, and boredom on writing achievement in specific writing task complexity. Not least, the findings can still be theoretically illustrated by the control-value theory of educational psychology (<xref ref-type="bibr" rid="ref42">Pekrun, 2006</xref>). Based on the control-value theory of educational psychology, writing enjoyment can be assumed as a positive high-arousal emotion, accompanied by boosted engagement and more access to cognitive resources. When it is combined with difficult writing tasks, learners with high writing enjoyment can access cognitive resources from difficult writing tasks to contribute to linguistic development, such as language fluency, complexity, and accuracy. While writing, boredom and anxiety can result in disengagement and less access to cognitive resources (<xref ref-type="bibr" rid="ref29">Li et al., 2023a</xref>). When they are combined with difficult writing tasks, the learners with high writing anxiety or writing boredom, due to less access to cognitive resources from difficult writing tasks, present less language fluency, complexity, and accuracy.</p>
</sec>
</sec>
<sec sec-type="conclusions" id="sec24">
<label>6</label>
<title>Conclusion</title>
<p>This study examined the relationship between task complexity and foreign language writing emotions, and it explained the effect of task complexity and emotional interaction on the dimensions of language fluency, complexity, and accuracy in writing performance in the Chinese educational context. Results showed the task complexity was related to certain foreign language writing emotions, not least difficult writing tasks could result in the appearance of writing anxiety and writing boredom; however, it had no impact on the foreign language writing enjoyment involved in the present study. That is, more difficult writing tasks would accompany higher writing anxiety and writing boredom. Additionally, results also showed that task complexity and writing emotions interaction could significantly explain the variance of the dimensions of language accuracy, complexity, and accuracy.</p>
<p>This is a quantitative study, with English major students in China as the participants. The present findings, due to female students far outnumbering male students, maybe susceptible to be affected by the imbalance of gender. For example, male students may produce different language complexity, accuracy, and fluency compared to female students even if they lie in the same level of foreign language emotions. Given this, the research results also need to be supported by more subsequent quantitative and qualitative studies. For example, recruiting more male students as participants should be conducted to compare the difference between foreign language writing emotions and the possible effect of emotions on language complexity, accuracy, and fluency. However, the implications of this study lie in the following aspects. First, the introduction of objective linguistic measures into the research field of emotions consequently extends the research perspective of emotions; for example, both negative and positive emotions can be used to explain the development of language fluency, complexity, and accuracy. Second, the research on the interaction between different writing task complexity and different levels of specific emotions in EFL writing can provide an in-depth understanding of the individual factors such as writing anxiety, boredom, and enjoyment in the cognitive process of EFL writing, which, for teachers with task-based instruction, contributes to focusing on the roles of different levels of writing emotions played in different writing task complexity, for instance, creating the enjoyable EFL writing environment in difficult writing task or appropriately increase writing anxiety in simple writing task to result in high-qualified language production. Meanwhile, further research needs to examine the features of specific levels of writing emotions in different writing tasks to gain insights into which factors implied in the specific level of writing emotions may affect the language production in different writing tasks. Additionally, we call for more indexes of language fluency, complexity, and accuracy to justify the effect of learning emotions on learning achievement.</p>
</sec>
<sec sec-type="data-availability" id="sec25">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="ethics-statement" id="sec26">
<title>Ethics statement</title>
<p>Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.</p>
</sec>
<sec sec-type="author-contributions" id="sec27">
<title>Author contributions</title>
<p>LW: Conceptualization, Formal analysis, Software, Writing &#x2013; original draft. HH: Supervision, Writing &#x2013; review &#x0026; editing.</p>
</sec>
</body>
<back>
<sec sec-type="funding-information" id="sec28">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="sec29">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="sec100" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec sec-type="supplementary-material" id="sec30">
<title>Supplementary material</title>
<p>The Supplementary material for this article can be found online at: <ext-link xlink:href="https://www.frontiersin.org/articles/10.3389/feduc.2024.1323843/full#supplementary-material" ext-link-type="uri">https://www.frontiersin.org/articles/10.3389/feduc.2024.1323843/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Table_1.DOCX" id="SM2" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="ref1"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Argyrous</surname> <given-names>G.</given-names></name></person-group> (<year>2000</year>). <source>Statistics for social and health research: with a guide to SPSS</source>. <publisher-loc>Thousand Oaks</publisher-loc>: <publisher-name>SAGE</publisher-name>.</citation></ref>
<ref id="ref2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Awwad</surname> <given-names>A.</given-names></name> <name><surname>Tavakoli</surname> <given-names>P.</given-names></name></person-group> (<year>2022</year>). <article-title>Task complexity, language proficiency and working memory: interaction effects on second language speech performance</article-title>. <source>Int. Rev. Appl. Linguist. Lang. Teach.</source> <volume>60</volume>, <fpage>169</fpage>&#x2013;<lpage>196</lpage>. doi: <pub-id pub-id-type="doi">10.1515/iral-2018-0378</pub-id></citation></ref>
<ref id="ref3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Benson</surname> <given-names>S. D.</given-names></name></person-group> (<year>2015</year>). <article-title>Task-based language teaching: an empirical study of task transfer</article-title>. <source>Lang. Teach. Res.</source> <volume>20</volume>, <fpage>341</fpage>&#x2013;<lpage>365</lpage>. doi: <pub-id pub-id-type="doi">10.1177/1362168815569829</pub-id></citation></ref>
<ref id="ref1005"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bielak</surname> <given-names>J.</given-names></name></person-group> (<year>2021</year>). <article-title>To what extent are foreign language anxiety and foreign language enjoyment related to L2 fluency? An investigation of task-specific emotions and breakdown and speed fluency in an oral task</article-title>. <source>Lang. Teac. Res.</source> <volume>1</volume>, <fpage>1</fpage>&#x2013;<lpage>23</lpage>. doi: <pub-id pub-id-type="doi">10.1177/13621688221079319</pub-id></citation></ref>
<ref id="ref4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cheng</surname> <given-names>Y. S.</given-names></name></person-group> (<year>2004</year>). <article-title>A measure of second language writing anxiety: scale development and preliminary validation</article-title>. <source>J. Second Lang. Writ.</source> <volume>13</volume>, <fpage>313</fpage>&#x2013;<lpage>335</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2004.07.001</pub-id></citation></ref>
<ref id="ref5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cotterall</surname> <given-names>S.</given-names></name></person-group> (<year>2011</year>). <article-title>Doctoral students writing: Where&#x2019;s the pedagogy?</article-title> <source>Teach. High. Educ.</source> <volume>16</volume>, <fpage>413</fpage>&#x2013;<lpage>425</lpage>. doi: <pub-id pub-id-type="doi">10.1080/13562517.2011.560381</pub-id></citation></ref>
<ref id="ref6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cumming</surname> <given-names>A.</given-names></name> <name><surname>Kantor</surname> <given-names>R.</given-names></name> <name><surname>Baba</surname> <given-names>K.</given-names></name> <name><surname>Erdosy</surname> <given-names>U.</given-names></name> <name><surname>Eouanzou</surname> <given-names>K.</given-names></name> <name><surname>James</surname> <given-names>M.</given-names></name></person-group> (<year>2005</year>). <article-title>Differences in written discourse in independent and integrated prototype tasks for next generation TOEFL</article-title>. <source>Assess. Writ.</source> <volume>10</volume>, <fpage>5</fpage>&#x2013;<lpage>43</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.asw.2005.02.001</pub-id></citation></ref>
<ref id="ref7"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Damasio</surname> <given-names>A.</given-names></name></person-group> (<year>1994</year>). <source>Descartes&#x2019; error: emotion, reason and the human brain</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Grosset/Putnam</publisher-name>.</citation></ref>
<ref id="ref8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name></person-group> (<year>2019</year>). <article-title>When elephant fly: the life-off of emotion research in applied linguistics</article-title>. <source>Mod. Lang. J.</source> <volume>103</volume>, <fpage>533</fpage>&#x2013;<lpage>536</lpage>. doi: <pub-id pub-id-type="doi">10.1111/modl.12576</pub-id></citation></ref>
<ref id="ref9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name> <name><surname>Alfawzan</surname> <given-names>M.</given-names></name></person-group> (<year>2018</year>). <article-title>Does the effect of enjoyment outweigh that of anxiety in foreign language performance?</article-title> <source>Stud. Second Lang. Learn. Teach.</source> <volume>8</volume>, <fpage>21</fpage>&#x2013;<lpage>45</lpage>. doi: <pub-id pub-id-type="doi">10.14746/ssllt.2018.8.1.2</pub-id></citation></ref>
<ref id="ref10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name> <name><surname>Li</surname> <given-names>C.</given-names></name></person-group> (<year>2020</year>). <article-title>Emotions in second language acquisition: a critical review and research agenda</article-title>. <source>Foreign Lang. World</source> <volume>1</volume>, <fpage>34</fpage>&#x2013;<lpage>49</lpage>. Available at: <ext-link xlink:href="https://eprints.bbk.ac.uk/id/eprint/32797" ext-link-type="uri">https://eprints.bbk.ac.uk/id/eprint/32797</ext-link></citation></ref>
<ref id="ref11"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name> <name><surname>MacIntyre</surname> <given-names>P. D.</given-names></name></person-group> (<year>2016</year>). &#x201C;<article-title>Foreign language enjoyment and anxiety: the right and left feet of the FL learning?</article-title>&#x201D; in <source>Positive psychology in SLA</source>. eds. <person-group person-group-type="editor"><name><surname>MacIntyre</surname> <given-names>P. D.</given-names></name> <name><surname>Gregersen</surname> <given-names>T.</given-names></name> <name><surname>Mercer</surname> <given-names>S.</given-names></name></person-group> (<publisher-loc>Bristol</publisher-loc>: <publisher-name>Multilingual Matters</publisher-name>), <fpage>215</fpage>&#x2013;<lpage>236</lpage>.</citation></ref>
<ref id="ref12"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Ellis</surname> <given-names>R.</given-names></name> <name><surname>Barkhuizen</surname> <given-names>G.</given-names></name></person-group> (<year>2005</year>). <source>Analyzing learner language</source>. <publisher-loc>Oxford University Press</publisher-loc>. Available at: <ext-link xlink:href="https://cir.nii.ac.jp/crid/1130000797139865344" ext-link-type="uri">https://cir.nii.ac.jp/crid/1130000797139865344</ext-link></citation></ref>
<ref id="ref13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ellis</surname> <given-names>R.</given-names></name> <name><surname>Yuan</surname> <given-names>F.</given-names></name></person-group> (<year>2004</year>). <article-title>The effects of planning on fluency, complexity, and accuracy in second language narrative writing</article-title>. <source>Stud. Second Lang. Acquis.</source> <volume>26</volume>, <fpage>59</fpage>&#x2013;<lpage>84</lpage>. doi: <pub-id pub-id-type="doi">10.1017/S0272263104026130</pub-id></citation></ref>
<ref id="ref14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fehr</surname> <given-names>B.</given-names></name> <name><surname>Russell</surname> <given-names>J. A.</given-names></name></person-group> (<year>1984</year>). <article-title>Concept of emotion viewed from a prototype perspective</article-title>. <source>J. Exp. Psychol. Gen.</source> <volume>113</volume>, <fpage>464</fpage>&#x2013;<lpage>486</lpage>. doi: <pub-id pub-id-type="doi">10.1037/0096-3445.113.3.464</pub-id></citation></ref>
<ref id="ref15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Frear</surname> <given-names>M. W.</given-names></name> <name><surname>Bitchener</surname> <given-names>J.</given-names></name></person-group> (<year>2015</year>). <article-title>The effects of cognitive task complexity on writing complexity</article-title>. <source>J. Second Lang. Writ.</source> <volume>30</volume>, <fpage>45</fpage>&#x2013;<lpage>57</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2015.08.009</pub-id></citation></ref>
<ref id="ref16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fredrickson</surname> <given-names>B. L.</given-names></name></person-group> (<year>2001</year>). <article-title>The role of positive emotions in positive psychology: the broaden-and-build theory of positive emotions</article-title>. <source>Am. Psychol.</source> <volume>56</volume>, <fpage>218</fpage>&#x2013;<lpage>226</lpage>. doi: <pub-id pub-id-type="doi">10.1037/0003-066X.56.3.218</pub-id></citation></ref>
<ref id="ref17"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Goleman</surname> <given-names>D.</given-names></name></person-group> (<year>1997</year>). <source>Healing emotions</source>. <publisher-loc>Boston</publisher-loc>: <publisher-name>Shambhala</publisher-name>.</citation></ref>
<ref id="ref18"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Grabe</surname> <given-names>W.</given-names></name> <name><surname>Stoller</surname> <given-names>F. L.</given-names></name></person-group> (<year>2001</year>). &#x201C;<article-title>Reading for academic purposes: guidelines for the ESL/EFL teacher</article-title>&#x201D; in <source>Methods in teaching English as a second or foreign language</source>. ed. <person-group person-group-type="editor"><name><surname>Celce-Murcia</surname> <given-names>M.</given-names></name></person-group> (<publisher-loc>Boston</publisher-loc>: <publisher-name>Heinle &#x0026; Heinle</publisher-name>), <fpage>187</fpage>&#x2013;<lpage>204</lpage>.</citation></ref>
<ref id="ref19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Han</surname> <given-names>Y.</given-names></name> <name><surname>Hyland</surname> <given-names>F.</given-names></name></person-group> (<year>2019</year>). <article-title>Academic emotions in written corrective feedback situations</article-title>. <source>J. Engl. Acad. Purp.</source> <volume>38</volume>, <fpage>1</fpage>&#x2013;<lpage>13</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jeap.2018.12.003</pub-id></citation></ref>
<ref id="ref20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hyland</surname> <given-names>F.</given-names></name></person-group> (<year>2003</year>). <article-title>Focusing on form: student engagement with teacher feedback</article-title>. <source>System</source> <volume>31</volume>, <fpage>217</fpage>&#x2013;<lpage>230</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S0346-251X(03)00021-6</pub-id></citation></ref>
<ref id="ref1004"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ishikawa</surname> <given-names>T.</given-names></name></person-group> (<year>2007</year>). <article-title>The effect of task demands of intentional reasoning on L2 speech performance</article-title>. <source>J. Asia TEFL.</source> <volume>5</volume>, <fpage>29</fpage>&#x2013;<lpage>63</lpage>.</citation></ref>
<ref id="ref21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jalili</surname> <given-names>M. H.</given-names></name> <name><surname>Shahrokhi</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>The effect of collaborative writing on Iranian EFL learners&#x2019; L2 writing anxiety and attitudes</article-title>. <source>J. Appl. Linguist. Lang. Res.</source> <volume>4</volume>, <fpage>203</fpage>&#x2013;<lpage>215</lpage>. Available at: <ext-link xlink:href="http://jallr.com/index.php/JALLR/article/view/538" ext-link-type="uri">http://jallr.com/index.php/JALLR/article/view/538</ext-link></citation></ref>
<ref id="ref22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jin</surname> <given-names>H. Y.</given-names></name> <name><surname>Wang</surname> <given-names>T. S.</given-names></name></person-group> (<year>2021</year>). <article-title>Task complexity, working memory capacity and L2 writing performance: the role of learner agency</article-title>. <source>Foreign Lang. Teach.</source> <volume>318</volume>, <fpage>102</fpage>&#x2013;<lpage>113</lpage>. doi: <pub-id pub-id-type="doi">10.13458/j.cnki.flatt.004780</pub-id></citation></ref>
<ref id="ref23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Johnson</surname> <given-names>M. D.</given-names></name></person-group> (<year>2017</year>). <article-title>Cognitive task complexity and L2 written syntactic complexity, accuracy, lexical complexity, and fluency: a research synthesis and meta-analysis</article-title>. <source>J. Second Lang. Writ.</source> <volume>37</volume>, <fpage>13</fpage>&#x2013;<lpage>38</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2017.06.001</pub-id></citation></ref>
<ref id="ref24"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kormos</surname> <given-names>J.</given-names></name> <name><surname>Trebits</surname> <given-names>A.</given-names></name></person-group> (<year>2011</year>). &#x201C;<article-title>Working memory capacity and narrative task performance</article-title>&#x201D; in <source>Second language task complexity: researching the cognition hypothesis of language learning and performance</source>. ed. <person-group person-group-type="editor"><name><surname>Robinson</surname> <given-names>P.</given-names></name></person-group> (<publisher-loc>Amsterdam</publisher-loc>: <publisher-name>John Benjamins</publisher-name>), <fpage>267</fpage>&#x2013;<lpage>287</lpage>. Available at: <ext-link xlink:href="https://www.torrossa.com/en/resources/an/5016555#page=280" ext-link-type="uri">https://www.torrossa.com/en/resources/an/5016555#page=280</ext-link></citation></ref>
<ref id="ref25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kuiken</surname> <given-names>F.</given-names></name> <name><surname>Vedder</surname> <given-names>I.</given-names></name></person-group> (<year>2007</year>). <article-title>Task complexity and measures of linguistics performance in L2 writing</article-title>. <source>Int. Rev. Appl. Linguist. Lang. Teach.</source> <volume>45</volume>, <fpage>261</fpage>&#x2013;<lpage>284</lpage>. doi: <pub-id pub-id-type="doi">10.1515/iral.2007.012</pub-id></citation></ref>
<ref id="ref26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kuiken</surname> <given-names>F.</given-names></name> <name><surname>Vedder</surname> <given-names>I.</given-names></name></person-group> (<year>2008</year>). <article-title>Cognitive task complexity and written output in Italian and French as a foreign language</article-title>. <source>J. Second Lang. Writ.</source> <volume>17</volume>, <fpage>48</fpage>&#x2013;<lpage>60</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2007.08.003</pub-id></citation></ref>
<ref id="ref27"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kuiken</surname> <given-names>F.</given-names></name> <name><surname>Vedder</surname> <given-names>I.</given-names></name></person-group> (<year>2011</year>). &#x201C;<article-title>Task complexity and linguistic performance in L2 writing and speaking: the effect of mode</article-title>&#x201D; in <source>Second language task complexity: researching the cognition hypothesis of language learning and performance</source>. ed. <person-group person-group-type="editor"><name><surname>Robinson</surname> <given-names>P.</given-names></name></person-group> (<publisher-loc>Amsterdam</publisher-loc>: <publisher-name>John Benjamins</publisher-name>), <fpage>91</fpage>&#x2013;<lpage>104</lpage>. Available at: <ext-link xlink:href="https://www.torrossa.com/en/resources/an/5016555#page=104" ext-link-type="uri">https://www.torrossa.com/en/resources/an/5016555#page=104</ext-link></citation></ref>
<ref id="ref28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name></person-group> (<year>2022</year>). <article-title>Foreign language learning boredom and enjoyment: the effects of learner variables and teacher variables</article-title>. <source>Lang. Teach. Res.</source> <volume>1</volume>, <fpage>1</fpage>&#x2013;<lpage>26</lpage>. doi: <pub-id pub-id-type="doi">10.1177/13621688221090324</pub-id></citation></ref>
<ref id="ref29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name> <name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name> <name><surname>Hu</surname> <given-names>Y.</given-names></name></person-group> (<year>2023a</year>). <article-title>Foreign language learning boredom: conceptualization and measurement</article-title>. <source>Appl. Linguist. Rev.</source> <volume>14</volume>, <fpage>223</fpage>&#x2013;<lpage>249</lpage>. doi: <pub-id pub-id-type="doi">10.1515/applirev-2020-0124</pub-id></citation></ref>
<ref id="ref30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name> <name><surname>Jiang</surname> <given-names>G.</given-names></name> <name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name></person-group> (<year>2018</year>). <article-title>Understanding Chinese high school students&#x2019; foreign language enjoyment: validation of the Chinese version of the foreign language enjoyment scale</article-title>. <source>System</source> <volume>76</volume>, <fpage>183</fpage>&#x2013;<lpage>196</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.system.2018.06.004</pub-id></citation></ref>
<ref id="ref31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name> <name><surname>Wei</surname> <given-names>L.</given-names></name> <name><surname>Lu</surname> <given-names>X.</given-names></name></person-group> (<year>2023b</year>). <article-title>Contributions of foreign language writing emotions to writing achievement</article-title>. <source>System</source> <volume>116</volume>:<fpage>103074</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.system.2023.103074</pub-id></citation></ref>
<ref id="ref32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name> <name><surname>Xu</surname> <given-names>J.</given-names></name></person-group> (<year>2019</year>). <article-title>Trait emotional intelligence and classroom emotions: a positive psychology investigation and intervention among Chinese EFL learners</article-title>. <source>Front. Psychol.</source> <volume>10</volume>:<fpage>2453</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyg.2019.02453</pub-id>, PMID: <pub-id pub-id-type="pmid">31736840</pub-id></citation></ref>
<ref id="ref33"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Long</surname> <given-names>M.</given-names></name></person-group> (<year>1998</year>). &#x201C;<article-title>Focus on form and task-based language teaching</article-title>&#x201D; in <source>University of Hawaii Working Papers</source>, <fpage>35</fpage>&#x2013;<lpage>49</lpage>. Available at: <ext-link xlink:href="https://www.torrossa.com/en/resources/an/5000631#page=192" ext-link-type="uri">https://www.torrossa.com/en/resources/an/5000631#page=192</ext-link></citation></ref>
<ref id="ref34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lu</surname> <given-names>X.</given-names></name></person-group> (<year>2010</year>). <article-title>Automatic analysis of syntactic complexity in second language writing</article-title>. <source>Int. J. Corpus Linguist.</source> <volume>15</volume>, <fpage>474</fpage>&#x2013;<lpage>496</lpage>. doi: <pub-id pub-id-type="doi">10.1075/ijcl.15.4.02lu</pub-id></citation></ref>
<ref id="ref35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>MacIntyre</surname> <given-names>P. D.</given-names></name> <name><surname>Gregersen</surname> <given-names>T.</given-names></name></person-group> (<year>2012</year>). <article-title>Emotions that facilitate language learning: the positive-broadening power of the imagination</article-title>. <source>Stud. Second Lang. Learn. Teach.</source> <volume>2</volume>:<fpage>193</fpage>. doi: <pub-id pub-id-type="doi">10.14746/ssllt.2012.2.2.4</pub-id></citation></ref>
<ref id="ref36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mahfoodh</surname> <given-names>O. H. A.</given-names></name></person-group> (<year>2017</year>). <article-title>&#x201C;I feel disappointed&#x201D;: EFL university students&#x2019; emotional responses towards teacher written feedback</article-title>. <source>Assess. Writ.</source> <volume>31</volume>, <fpage>53</fpage>&#x2013;<lpage>72</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.asw.2016.07.001</pub-id></citation></ref>
<ref id="ref37"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Malicka</surname> <given-names>A.</given-names></name></person-group> (<year>2020</year>). <article-title>The role of task sequencing in fluency, accuracy, and complexity: investigating the SSARC model of pedagogic task sequencing</article-title>. <source>Lang. Teach. Res.</source> <volume>24</volume>, <fpage>642</fpage>&#x2013;<lpage>665</lpage>. doi: <pub-id pub-id-type="doi">10.1177/1362168818813668</pub-id></citation></ref>
<ref id="ref38"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Moustaki</surname> <given-names>I.</given-names></name> <name><surname>Joreskog</surname> <given-names>K. G.</given-names></name> <name><surname>Mavridis</surname> <given-names>D.</given-names></name></person-group> (<year>2004</year>). <article-title>Factor models for ordinary variables with covariance effects on the manifest and latent variables: a comparison of LISREL and IRT approaches</article-title>. <source>Struct. Equ. Model.</source> <volume>11</volume>, <fpage>487</fpage>&#x2013;<lpage>513</lpage>. doi: <pub-id pub-id-type="doi">10.1207/s15328007sem1104_1</pub-id></citation></ref>
<ref id="ref39"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Oatley</surname> <given-names>K.</given-names></name> <name><surname>Jenkins</surname> <given-names>J.</given-names></name></person-group> (<year>1996</year>). <source>Understanding emotions</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Blackwell Publishers</publisher-name>.</citation></ref>
<ref id="ref40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ong</surname> <given-names>J.</given-names></name> <name><surname>Zhang</surname> <given-names>L. J.</given-names></name></person-group> (<year>2010</year>). <article-title>Effects of task complexity on the fluency and lexical complexity in EFL. Students&#x2019; argumentative writing</article-title>. <source>J. Second Lang. Writ.</source> <volume>19</volume>, <fpage>218</fpage>&#x2013;<lpage>233</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2010.10.003</pub-id></citation></ref>
<ref id="ref41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ortega</surname> <given-names>L.</given-names></name></person-group> (<year>2003</year>). <article-title>Syntactic complexity measures and their relationship to L2 proficiency: a research synthesis of college-level L2 writing</article-title>. <source>Appl. Linguist.</source> <volume>24</volume>, <fpage>492</fpage>&#x2013;<lpage>518</lpage>. doi: <pub-id pub-id-type="doi">10.1093/applin/24.4.492</pub-id></citation></ref>
<ref id="ref42"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pekrun</surname> <given-names>R.</given-names></name></person-group> (<year>2006</year>). <article-title>The control-value theory of achievement emotions: assumptions, corollaries, and implications for educational research and practice</article-title>. <source>Educ. Psychol. Rev.</source> <volume>18</volume>, <fpage>315</fpage>&#x2013;<lpage>341</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s10648-006-9029-9</pub-id></citation></ref>
<ref id="ref43"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Pekrun</surname> <given-names>R.</given-names></name> <name><surname>Linnenbrink-Garcia</surname> <given-names>L.</given-names></name></person-group> (<year>2012</year>). &#x201C;<article-title>Academic emotions and student engagement</article-title>&#x201D; in <source>Handbook of research on student engagement</source>. eds. <person-group person-group-type="editor"><name><surname>Christenson</surname> <given-names>S. L.</given-names></name> <name><surname>Reschly</surname> <given-names>A. L.</given-names></name> <name><surname>Wylie</surname> <given-names>C.</given-names></name></person-group> (<publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>259</fpage>&#x2013;<lpage>282</lpage>. Available at: <ext-link xlink:href="https://link.springer.com/chapter/10.1007/978-1-4614-2018-7_12" ext-link-type="uri">https://link.springer.com/chapter/10.1007/978-1-4614-2018-7_12</ext-link></citation></ref>
<ref id="ref44"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Plakans</surname> <given-names>L.</given-names></name> <name><surname>Gebril</surname> <given-names>A.</given-names></name> <name><surname>Bilki</surname> <given-names>Z.</given-names></name></person-group> (<year>2019</year>). <article-title>Shaping a score: complexity, accuracy, and fluency in integrated writing performances</article-title>. <source>Lang. Test.</source> <volume>36</volume>, <fpage>161</fpage>&#x2013;<lpage>179</lpage>. doi: <pub-id pub-id-type="doi">10.1177/0265532216669537</pub-id></citation></ref>
<ref id="ref45"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Prior</surname> <given-names>M. T.</given-names></name></person-group> (<year>2019</year>). <article-title>Elephants in the room: an &#x201C;affective turn,&#x201D; or just feeling our way?</article-title> <source>Mod. Lang. J.</source> <volume>103</volume>, <fpage>516</fpage>&#x2013;<lpage>527</lpage>. doi: <pub-id pub-id-type="doi">10.1111/modl.12573</pub-id></citation></ref>
<ref id="ref46"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Qin</surname> <given-names>W.</given-names></name> <name><surname>Uccelli</surname> <given-names>P.</given-names></name></person-group> (<year>2016</year>). <article-title>Same language, different functions: a cross-genre analysis of Chinese EFL learners&#x2019; writing performance</article-title>. <source>J. Second Lang. Writ.</source> <volume>33</volume>, <fpage>3</fpage>&#x2013;<lpage>17</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2016.06.001</pub-id></citation></ref>
<ref id="ref47"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rahimi</surname> <given-names>M.</given-names></name> <name><surname>Zhang</surname> <given-names>L. J.</given-names></name></person-group> (<year>2019</year>). <article-title>Writing task complexity, students&#x2019; motivational beliefs, anxiety and their writing production in English as a second language</article-title>. <source>Read. Writ.</source> <volume>32</volume>, <fpage>761</fpage>&#x2013;<lpage>786</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11145-018-9887-9</pub-id></citation></ref>
<ref id="ref48"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>P.</given-names></name></person-group> (<year>2001</year>). <article-title>Task complexity, task difficulty, and task production: exploring interactions in a componential frame work</article-title>. <source>Appl. Linguist.</source> <volume>22</volume>, <fpage>27</fpage>&#x2013;<lpage>57</lpage>. doi: <pub-id pub-id-type="doi">10.1093/applin/22.1.27</pub-id></citation></ref>
<ref id="ref49"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>P.</given-names></name></person-group> (<year>2011</year>). <source>Second language task complexity, the cognition hypothesis, language learning and performance</source>. <publisher-loc>Amsterdam</publisher-loc>: <publisher-name>John Benjamins</publisher-name>. Available at: <ext-link xlink:href="https://www.torrossa.com/en/resources/an/5016555#page=16" ext-link-type="uri">https://www.torrossa.com/en/resources/an/5016555#page=16</ext-link></citation></ref>
<ref id="ref50"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>P.</given-names></name></person-group> (<year>2015</year>). &#x201C;<article-title>The cognition hypothesis, second language task demands, and the SSARC model of pedagogic task sequencing</article-title>&#x201D; in <source>Domains and directions in the development of TBLT</source>. ed. <person-group person-group-type="editor"><name><surname>Bygate</surname> <given-names>M.</given-names></name></person-group> (<publisher-loc>Amsterdam</publisher-loc>: <publisher-name>John Benjamins</publisher-name>) Available at: <ext-link xlink:href="https://www.torrossa.com/en/resources/an/5001163#page=112" ext-link-type="uri">https://www.torrossa.com/en/resources/an/5001163#page=112</ext-link></citation></ref>
<ref id="ref51"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Saito</surname> <given-names>K.</given-names></name> <name><surname>Dewaele</surname> <given-names>J.-M.</given-names></name> <name><surname>Abe</surname> <given-names>M.</given-names></name> <name><surname>In&#x2019;nami</surname> <given-names>Y.</given-names></name></person-group> (<year>2018</year>). <article-title>Motivation, emotion, learning experience, and second language comprehensibility development in classroom settings: a cross-sectional and longitudinal study</article-title>. <source>Lang. Learn.</source> <volume>68</volume>, <fpage>709</fpage>&#x2013;<lpage>743</lpage>. doi: <pub-id pub-id-type="doi">10.1111/lang.12297</pub-id></citation></ref>
<ref id="ref1003"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shao</surname> <given-names>K.</given-names></name> <name><surname>Pekrun</surname> <given-names>R.</given-names></name> <name><surname>Nicholson</surname> <given-names>L. J.</given-names></name></person-group> (<year>2019</year>). <article-title>Emotions in classroom language learning: What can we learn from achievement emotion research?</article-title> <source>System.</source> <volume>86</volume>, <fpage>1</fpage>&#x2013;<lpage>11</lpage>.</citation></ref>
<ref id="ref52"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Skehan</surname> <given-names>P.</given-names></name></person-group> (<year>1998</year>). <source>A cognitive approach to language learning</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation></ref>
<ref id="ref53"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Skehan</surname> <given-names>P.</given-names></name></person-group> (<year>2009</year>). <article-title>Modelling second language performance: integrating complexity, accuracy, fluency, and lexis</article-title>. <source>Appl. Linguist.</source> <volume>30</volume>, <fpage>510</fpage>&#x2013;<lpage>532</lpage>. doi: <pub-id pub-id-type="doi">10.1093/applin/amp047</pub-id></citation></ref>
<ref id="ref54"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tahmouresi</surname> <given-names>S.</given-names></name> <name><surname>Papi</surname> <given-names>M.</given-names></name></person-group> (<year>2021</year>). <article-title>Future selves, enjoyment and anxiety as predictors of L2 writing achievement</article-title>. <source>J. Second Lang. Writ.</source> <volume>53</volume>:<fpage>100837</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jslw.2021.100837</pub-id></citation></ref>
<ref id="ref55"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tao</surname> <given-names>N.</given-names></name> <name><surname>Wang</surname> <given-names>Y.</given-names></name></person-group> (<year>2022</year>). <article-title>Effects of prior knowledge and reasoning demands on Chinese EFL writing performance</article-title>. <source>Lang. Teach. Res.</source> <volume>1</volume>, <fpage>1</fpage>&#x2013;<lpage>22</lpage>. doi: <pub-id pub-id-type="doi">10.1177/13621688221089879</pub-id></citation></ref>
<ref id="ref1002"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Teimouri</surname> <given-names>Y.</given-names></name> <name><surname>Goetze</surname> <given-names>J.</given-names></name> <name><surname>Plonsky</surname> <given-names>L.</given-names></name></person-group> (<year>2019</year>). <article-title>Second language anxiety and achievement: A. meta-analysis</article-title>. <source>Stud. Sec.</source> <publisher-name>Language Acquisition</publisher-name>, <volume>41</volume>, <fpage>363</fpage>&#x2013;<lpage>387</lpage>.</citation></ref>
<ref id="ref56"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsang</surname> <given-names>A.</given-names></name> <name><surname>Lee</surname> <given-names>J. S.</given-names></name></person-group> (<year>2023</year>). <article-title>The making of proficient young FL speakers: the role of emotions, speaking motivation, and spoken input beyond the classroom</article-title>. <source>System</source> <volume>115</volume>:<fpage>103047</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.system.2023.103047</pub-id></citation></ref>
<ref id="ref57"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>L. P.</given-names></name> <name><surname>Wu</surname> <given-names>H. Y.</given-names></name> <name><surname>Zhang</surname> <given-names>J. L.</given-names></name></person-group> (<year>2020</year>). <article-title>Effects of task complexity on linguistic complexity in EFL writing</article-title>. <source>Mod. Foreign Lang.</source> <volume>43</volume>, <fpage>503</fpage>&#x2013;<lpage>515</lpage>. Available at: <ext-link xlink:href="http://hdl.handle.net/2292/53983" ext-link-type="uri">http://hdl.handle.net/2292/53983</ext-link></citation></ref>
<ref id="ref58"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Widdowson</surname> <given-names>H. G.</given-names></name></person-group> (<year>1990</year>). <source>Aspect of language teaching</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation></ref>
<ref id="ref59"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Wolfe-Quintero</surname> <given-names>K.</given-names></name> <name><surname>Inagaki</surname> <given-names>S.</given-names></name> <name><surname>Kim</surname> <given-names>H. Y.</given-names></name></person-group> (<year>1998</year>). <source>Second language development in writing: measures of fluency, accuracy, and complexity</source> <publisher-loc>Honolulu</publisher-loc>: <publisher-name>National Foreign Language Resource Center</publisher-name>.</citation></ref>
<ref id="ref60"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname> <given-names>R.</given-names></name> <name><surname>Zhang</surname> <given-names>L.</given-names></name></person-group> (<year>2015</year>). <article-title>Effects of task complexity, task difficulty and self-efficacy on EFL writing</article-title>. <source>Foreign Lang. World</source> <volume>1</volume>, <fpage>40</fpage>&#x2013;<lpage>47</lpage>.</citation></ref>
<ref id="ref61"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ye</surname> <given-names>D.</given-names></name></person-group> (<year>2013</year>). <article-title>A Coh&#x2013;Metrix analysis of language varieties between the journal articles of Chinese and American scientists</article-title>. <source>Int. J. Eng. Linguist.</source> <volume>3</volume>:<fpage>63</fpage>. doi: <pub-id pub-id-type="doi">10.5539/ijel.v3n4p63</pub-id></citation></ref>
<ref id="ref62"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zabihi</surname> <given-names>R.</given-names></name> <name><surname>Mousavi</surname> <given-names>S. H.</given-names></name> <name><surname>Salehian</surname> <given-names>A.</given-names></name></person-group> (<year>2020</year>). <article-title>The differential role of domain-specific anxiety in learners&#x2019; narrative and argumentative L2 written task performance</article-title>. <source>Curr. Psychol.</source> <volume>39</volume>, <fpage>1438</fpage>&#x2013;<lpage>1444</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s12144-018-9850-6</pub-id></citation></ref>
<ref id="ref63"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname> <given-names>Y.</given-names></name> <name><surname>Yu</surname> <given-names>S.</given-names></name></person-group> (<year>2018</year>). <article-title>Student engagement with teacher written corrective feedback in EFL writing: a case study of Chinese lower-proficiency students</article-title>. <source>Assess. Writ.</source> <volume>37</volume>, <fpage>13</fpage>&#x2013;<lpage>24</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.asw.2018.03.001</pub-id></citation></ref>
</ref-list>
</back>
</article>