Pātaka Rangahau
Massey Research Online
Nau mai, haere mai, welcome to the research repository at Massey University – Te Kunenga ki Pūrehuroa.
Find and share full text theses, dissertations, exegeses, and original open access scholarly works by our researchers and postgraduate students.
Communities in MRO
Select a community to browse its collections.
Recent Submissions
Item type: Item , “Images in the most tangled of dreams” : the cultural relations of AI slop through Walter Benjamin : a thesis presented in partial fulfilment of the requirements for the degree of Master of Arts in Media Studies at Massey University, Wellington, New Zealand(Massey University, 2026) Couper, Matthew JosephThis thesis examines the phenomena of AI slop as a cultural artefact holding distinct aesthetic, political, and historical relations. I take interest in new forms of waste, junk, and spam on the internet in order to scavenge for its redemptive qualities —or, in Walter Benjamin’s words, the “profane illuminations”—that can spell our sense of being with and through media in a very online world.Item type: Item , Engagement, motivations, and trust : how New Zealanders use and evaluate mental health content on social media : a thesis presented in partial fulfilment of the requirements for the degree of Master of Science in Psychology at Massey University, Albany, New Zealand(Massey University, 2026) Garratt, Aston CaronThis study explored how New Zealand residents who are interested in mental health content on social media engage with, evaluate, and perceive this material, a highly relevant topic given the growing unmet need for mental health support in New Zealand. A cross-sectional online survey was conducted with a sample of 915 participants (aged 16 and older) meeting these criteria. Participants ranked their platform and format preferences, identified motivations and perceived benefits and downsides, and rated the value and trustworthiness of various mental health influencer types. Results indicated a strong preference for short form video on platforms such as Facebook and Instagram. Participants primarily engaged for learning-oriented reasons, valuing the 24/7 accessibility, anonymity, and access without direct payment. However, they also recognised significant risks, frequently citing misinformation, oversimplification, and a lack of professional guidance. Qualified mental health professionals and individuals sharing lived experiences were rated as the most valuable and trustworthy sources, whereas social media influencers with large followings were rated the lowest. Exploratory analyses revealed broad similarities between Māori and non-Māori participants, alongside nuanced differences in relational motivations and source evaluations. Ultimately, social media functions as an accessible, informal mental health information environment, highlighting the need for credible, safe, and culturally appropriate digital public health communication.Item type: Item , Exploring clinician perceptions of the clinical utility of BPD in Aotearoa New Zealand : a thesis presented in partial fulfilment of the requirements for the degree of Master of Arts in Psychology at Massey University, Manawatū, Aotearoa New Zealand(Massey University, 2025) Borgman, DanielBorderline personality disorder (BPD) is a complex mental disorder marked by difficulties in emotion regulation, impulsivity, relationship issues, and identity instability (American Psychiatric Association, 2022). BPD causes great suffering to those who have the disorder, with poor outcomes in life quality, relationships, employment (Skodol et al., 2002), high rates of suicidal and non-suicidal self-injury, and high rates of death due to suicide (Oldham, 2006). BPD is associated with significant financial and emotional burdens for society as well as for the individuals with the disorder (Zanarini et al., 2001). BPD is the most commonly occurring personality disorder in clinical populations (Volkert et al., 2018). It is highly comorbid, often co-occurring with MDD, anxiety disorders, traumatic disorders, and other personality disorders (Zanarini et al., 2004). However, BPD is a controversial and often disputed diagnosis (Leichsenring et al., 2024). This is due to the long and complex history of the diagnosis, stigma surrounding the diagnosis, gender biases of the diagnosis, its lack of a clear aetiology, the heterogeneity of symptoms, and its high comorbidity with other mental disorders (Bockian, 2002). Debate has only increased in recent decades with the development of the concept of complex post-traumatic stress disorder (CPTSD), recently included as a diagnosis in the ICD-11 (World Health Organisation, 2025). Indeed, some suggest CPTSD is a better way of understanding the symptoms of BPD (Kulkarni, 2017). This arguably has led to increased confusion in clinical practice, yet there is limited research into the perceived utility of the BPD diagnosis by clinicians. The present study aims to investigate psychologists' perceptions of the clinical utility of the BPD diagnosis in their everyday clinical practice. Thematic analysis of interviews with practising psychologists in Aotearoa New Zealand (NZ) was conducted to examine how they perceive those seeking treatment who present with symptoms of borderline personality disorder, whether they use the BPD diagnosis, what alternative approaches they may take if not using the diagnosis, and how this would inform formulation and treatment. Five themes were identified: Alarm Bells!; Navigating a Moral Dilemma; Centring the Client; Trauma: A New Approach to BPD; and Change & Acceptance. The BPD diagnosis caused immediate concerns for clinicians due to factors such as stigma, the ‘stickiness’ of the diagnosis, gender issues with the diagnosis, and the difficulty for clinicians in treating those with BPD. Grappling with the alarming diagnosis required psychologists to discuss how they navigate the use of the diagnosis in their practice. Participants also highlighted the importance of having a client-centred approach to clinical psychology. They consistently referred to CPTSD as a potential alternative to the BPD diagnosis; however, they pointed out that there are still issues with replacing BPD with CPTSD. A final theme discussed was acceptance and change in diagnosis, including perspectives on the DSM and diagnosis, which highlighted that change is possible but complex and slow, and acknowledged the role of culture and society in diagnosis.Item type: Item , Security weaknesses in AI-generated code : a comparative analysis across models and programming languages : a thesis presented in partial fulfilment of the requirements for the degree of Master of Information Sciences in Software Engineering at Massey University, Palmerston North, New Zealand(Massey University, 2026) Soltanian Fard Johromi, AliThe security of AI-generated code remains a major challenge for its widespread adoption. Code generation models have demonstrated strong performance on functional benchmarks. However, their outputs frequently contain bugs and security weaknesses that reduce their reliability in real-world settings. Prior research has explored a range of approaches to mitigate these issues, including static analysis-guided generation and prompt engineering techniques. However, the effectiveness of these methods varies significantly across models, programming languages, and settings. This thesis presents a systematic investigation of strategies for improving the security of model-generated code with respect to Common Weakness Enumeration (CWE) weaknesses. Both prompting-based techniques and fine-tuning approaches for model output refinement are evaluated across multiple large language models and programming languages. In addition to measuring the frequency of security weaknesses, this research analyses their severity, co-occurrence patterns, and whether remediation strategies introduce new weaknesses while attempting to fix existing ones. This research is based on 9,600 code samples generated from scenario-based prompts derived from the MITRE CWE Top 25, using five large language models and four programming languages. All outputs are analysed using static analysis tools, supported by custom detection scripts and manual validation. The baseline analysis of AI-generated code found that security weaknesses were present across all evaluated models, programming languages, and scenarios, with multiple security weaknesses occurring within the same code samples. The results show that security improvements are highly dependent on both the model and refinement strategy used. Although fine-tuning consistently achieves the strongest reductions in security weaknesses, prompting techniques also provide measurable improvements, with Meta Prompting performing best among them. However, all approaches exhibit limitations, and in some cases, introduce new weaknesses as a side effect of remediation. These introduced weaknesses are generally less severe than those present in the original outputs, indicating an overall reduction in security risk despite their occurrence. Furthermore, no single method consistently eliminates security weaknesses across all models and scenarios, highlighting the lack of a universal solution for secure AI code generation. The results highlight the need to integrate security analysis into LLM-based development workflows and to further research more robust methods for secure code generation.Item type: Item , An unfinished history of colonial accountability : media representations of the Citizenship (Western Samoa) Act 1982 and its repeal : a thesis presented in partial fulfilment of the requirements for a Master of Arts in History at Massey University(Massey University, 2026) Su'a, Rosanne CatherineThis thesis examines the New Zealand and Samoan newspaper coverage of the Citizenship (Western Samoa) Act 1982 and the subsequent campaign for its repeal. Comparing the coverage of the (Western Samoa) Act in 1982 with Arthur Anae’s repeal campaign in 2002 and The Citizenship (Western Samoa) (Restoration) Amendment Act 2024 provide insights into both the evolving media coverage about citizenship and race in New Zealand, and, at a deeper level, New Zealand’s relations with Samoa. Although the Citizenship (Western Samoa) Act 1982 has been referred to in passing in some scholarly texts and political biographies, it has yet to be the subject of detailed scholarly examination. This thesis argues that New Zealand newspapers framed the passage of the Act in 1982 as a practical and legally necessary solution brought on by the Privy Council’s ruling in Lesa v Attorney-General of New Zealand. Themes discussed in articles include national sovereignty, immigration policy, and race relations with only passing reference to New Zealand’s colonial history with Samoa. In contrast, the Samoa Observer framed the Act as racially and historically unjust and put the Act into a longer history of New Zealand policy towards Samoans, although the Savali, the government newspaper, was more measured in its tone. By 2024, New Zealand media reporting on the Citizenship (Western Samoa) (Restoration) Amendment Act was much more sympathetic towards Samoa, characterising the initiative as rectifying an historical injustice. However Samoan media continued to highlight controversy surrounding descendants being excluded from gaining citizenship and the narrow scope of recognition given to Falema’i Lesa. Overall, this thesis demonstrates that newspaper coverage did more than inform the public about these citizenship debates. It argues that newspapers created competing narratives of justice, belonging, and responsibility. At a deeper level, the history of the Citizenship (Western Samoa) Act shows us decolonisation between New Zealand and Samoa is incomplete.
