How-to articleResearch writingComputer science

Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order

A computer science thesis is built around its contributions and the evidence for them. This guide maps kinds of research to the evidence examiners expect, sets out a chapter order, and explains what to do with code and data.

What you will learn

  • Identify the type of contribution your thesis makes and the evidence it requires
  • Plan a chapter order that follows your argument within university regulations
  • Decide which software artefacts belong in the thesis and which in a repository
  • Write an evaluation chapter with baselines, metrics and threats to validity
  • Make computational work reproducible and examinable

What you will unlearn

  • A computer science PhD thesis is about 10,000 words with fixed chapter percentages.Length and format are set by each university's regulations; 10,000 words describes taught-degree projects.
  • All design documents and manuals belong in the thesis.Include what supports your claims; archive the rest in a cited repository.
  • A working system is the contribution.The contribution is what the system shows, and that must be demonstrated by evaluation.
  • Viva length and resubmission periods are the same everywhere.They vary by institution; check your own regulations.

Skills you will practise

  • Stating contributions
  • Chapter planning
  • Evaluation design
  • Threats to validity
  • Reproducible artefacts

Start from the type of contribution

A computer science thesis is organised around what it contributes and how that contribution is shown to be valid. That differs from a thesis in the social or natural sciences, where a single study usually follows a fixed sequence of question, method, results and discussion. In computer science the main result may be an algorithm with a proof, a system and its evaluation, an empirical study of developers, or a new formal model. Each calls for different evidence and therefore a different chapter plan.

Shaw's analysis of software engineering papers is a useful lens: a paper, and by extension a thesis, should make clear what question it answers, what kind of result it offers (such as a technique, a model, a tool, an analytic result or an empirical finding) and what kind of validation supports that result (Shaw, 2003). The 2020 version of this page listed five kinds of computer science research. Table 1 restates them as contribution types and pairs each with the evidence examiners will expect.

Table 1. Kinds of computer science research, their contributions and the evidence each requires
Kind of research (2020 list)Typical contributionEvidence expectedUseful standard or guide
Applying mathematical theoryAlgorithm, bound or formal modelProofs; complexity analysis; experiments where relevantExperimental algorithmics (McGeoch, 2012)
Creating a new systemTechnique, tool or architectureEvaluation against baselines on stated criteriaDesign science (Hevner et al., 2004; Peffers et al., 2007)
Studying an existing systemEmpirical findings about behaviour or performanceMeasurements, benchmarks, threats to validityEmpirical standards (Ralph et al., 2020)
Studying a tool or practice in useFindings about developers or usersExperiments, surveys, case studies, interviewsEmpirical standards (Ralph et al., 2020)
Socio-economic and ethical issuesAnalysis of impacts or policyQualitative or quantitative social researchDiscipline methods texts; systematic review (Kitchenham & Charters, 2007)

A chapter order that follows the argument

Most computer science theses use a version of the sequence below. The front matter and back matter are fixed by your university's regulations, which set requirements such as word limits, layout and declarations; read them before you start writing (University of Exeter, 2026). The chapters in between should follow your argument, not a template.

Table 2. A typical chapter order for a computer science thesis
PartPurposeNotes for computer science
Title page, declaration, abstractIdentify the work and summarise itState the problem, approach, main result and how it was validated
Acknowledgements, contents, glossaryNavigation and termsA glossary or list of notation helps when symbols and acronyms are many
IntroductionProblem, research questions, contributions, outlineList contributions explicitly and point to the chapters that support each
Background and related workConcepts needed and the work you build onOrganise by approach; end with the gap your work fills
Approach or designWhat you propose and whyAlgorithms in pseudocode; design decisions with alternatives
ImplementationHow it was builtOnly what matters for the claims; detail goes to appendices or a repository
EvaluationEvidence that the contribution worksResearch questions, baselines, data, metrics, threats to validity
Discussion and conclusionWhat the results mean and their limitsAnswer each research question; state future work concretely
References and appendicesSources and supporting materialProofs, extra results, artefact descriptions

In thesis-by-publication formats, each paper becomes a chapter and the introduction and conclusion explain how the papers form one contribution. Whatever the format, use the term your university uses. In the UK, "thesis" usually refers to the doctoral document and "dissertation" to a taught-degree project, while in the United States the terms are often used the other way round. The 2020 version of this page defined them differently, and incorrectly.

Abstract, introduction and related work

The 2020 page advised reading the literature gap and choosing keywords before writing the abstract. The better order is the reverse: write the abstract last, once the results are fixed, so that it reports what the thesis actually shows. A computer science abstract should state the problem, why existing approaches fall short, what you did, the main result with a number where possible, and how it was validated. Follow your university's word limit; there is no general rule.

The introduction should end with a numbered list of contributions, each a sentence that a reader could check, and a map of which chapter supports which contribution. Avoid listing activities ("we implemented", "we surveyed") as contributions; say what is new and what it makes possible. The related work chapter is not a catalogue. Group prior work by approach, compare approaches on the dimensions that matter for your problem, and finish with the specific limitation your work addresses. If your field expects it, a systematic review protocol makes the search reproducible (Kitchenham & Charters, 2007). Background material, such as definitions and notation, can sit in its own short chapter so that the related work chapter can focus on argument.

Software, data and other artefacts

The 2020 page listed requirement documents, design documents, code comments, user manuals, maintenance manuals and test suites as thesis artefacts. Few of these belong in the thesis itself. Include what a reader needs to judge your claims: algorithms, key design decisions, the experimental set-up and the results. Place the rest in a public, archived repository with a persistent identifier, and cite it. For presenting code and pseudocode in the text, see how to present computer code and algorithms in a thesis.

Reproducibility is now part of how computational work is judged. Record versions of software and data, keep scripts that regenerate every figure and table, and fix random seeds (Sandve et al., 2013). Machine learning venues have introduced reproducibility checklists for the same reason (Pineau et al., 2021), and studies of artefacts at a leading software engineering conference show that many published artefacts are still hard to obtain or run (Muttakin et al., 2026). Make data findable, accessible, interoperable and reusable where you can (Wilkinson et al., 2016).

Writing the evaluation chapter

The evaluation chapter carries most of the weight in a systems or tools thesis. State the evaluation questions, which follow from your research questions. Describe the baselines and why they are fair, the data sets or benchmarks and why they are representative, the metrics and the experimental protocol. Report variation across runs, not just the best result. For algorithmic work, explain how instances were generated and how running time was measured (McGeoch, 2012). For design science work, show how the artefact was evaluated against the problem it was designed to solve (Wieringa, 2014). End with threats to validity: what could make your conclusions wrong and what you did about it (Ralph et al., 2020).

Worked example (illustrative)

A doctoral researcher builds a tool that detects a class of concurrency bugs. Her introduction lists three contributions: a detection technique, an implementation, and an empirical study on open-source projects. The background chapter explains concurrency bugs and existing detectors. The approach chapter gives the algorithm in pseudocode and argues for its design choices. The evaluation chapter asks how many known bugs the tool finds compared with two existing detectors, how many false alarms it raises, and how long it takes, and it discusses threats such as the choice of projects. The code and data are archived with a persistent identifier. The tool and study are hypothetical.

What examiners look for

Experienced examiners look for a coherent argument, a clear statement of contribution and evidence that the candidate understands the limits of the work; they do not expect a thesis to settle a field (Mullins & Kiley, 2002). They also read in a particular way, often starting with the abstract, introduction and conclusion to see whether the promised contribution is delivered (Golding et al., 2014). Make those three parts consistent with each other and with the evaluation.

Research integrity applies to code and experiments as much as to text. Fabrication means making up data or results; falsification means manipulating them, for example by omitting runs that do not fit; plagiarism includes copying code without attribution. The 2020 page defined fabrication as "not following research methods", which is wrong.

Common mistakes

  • Following a word count or chapter percentage from a website instead of your university's regulations.
  • Describing the implementation in detail but evaluating it thinly.
  • Contributions that are not stated in the introduction or not traced to chapters.
  • Comparing against weak or outdated baselines.
  • Reporting a single best run with no variation or statistical comparison.
  • Code and data that cannot be found or run by the examiners.

See also structuring a PhD thesis chapter by chapter, doing a PhD in computer science and engineering and writing a thesis in LaTeX.

Key takeaways

Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
Full dissertation mentoring

References

  1. Golding, C., Sharmini, S., & Lazarovitch, A. (2014). What examiners do: What thesis students should know. Assessment & Evaluation in Higher Education, 39(5), 563–576. https://doi.org/10.1080/02602938.2013.859230
  2. Hevner, A. R., March, S. T., Park, J., & Ram, S. (2004). Design science in information systems research. MIS Quarterly, 28(1), 75–105. https://aisel.aisnet.org/misq/vol28/iss1/6/
  3. Kitchenham, B., & Charters, S. (2007). Guidelines for performing systematic literature reviews in software engineering (Technical Report EBSE 2007-001). Keele University and Durham University. https://www.scirp.org/reference/ReferencesPapers?ReferenceID=1555797
  4. McGeoch, C. C. (2012). A guide to experimental algorithmics. Cambridge University Press. https://doi.org/10.1017/CBO9780511843747
  5. Mullins, G., & Kiley, M. (2002). "It's a PhD, not a Nobel Prize": How experienced examiners assess research theses. Studies in Higher Education, 27(4), 369–386. https://doi.org/10.1080/0307507022000011507
  6. Muttakin, A., Mondal, S., & Roy, C. K. (2026). The state of open science in software engineering research: A case study of ICSE artifacts. In Proceedings of the IEEE/ACM 48th International Conference on Software Engineering (ICSE '26). Association for Computing Machinery. https://doi.org/10.1145/3744916.3787813
  7. Peffers, K., Tuunanen, T., Rothenberger, M. A., & Chatterjee, S. (2007). A design science research methodology for information systems research. Journal of Management Information Systems, 24(3), 45–77. https://doi.org/10.2753/MIS0742-1222240302
  8. Pineau, J., Vincent-Lamarre, P., Sinha, K., Larivière, V., Beygelzimer, A., d'Alché-Buc, F., Fox, E., & Larochelle, H. (2021). Improving reproducibility in machine learning research (a report from the NeurIPS 2019 reproducibility program). Journal of Machine Learning Research, 22(164), 1–20. https://www.jmlr.org/papers/v22/20-303.html
  9. Ralph, P., bin Ali, N., Baltes, S., Bianculli, D., Diaz, J., Dittrich, Y., Ernst, N., Felderer, M., Feldt, R., Filieri, A., de França, B. B. N., Furia, C. A., Gay, G., Gold, N., Graziotin, D., He, P., Hoda, R., Juristo, N., Kitchenham, B., . . . Vegas, S. (2020). Empirical standards for software engineering research (arXiv:2010.03525). arXiv. https://arxiv.org/abs/2010.03525
  10. Sandve, G. K., Nekrutenko, A., Taylor, J., & Hovig, E. (2013). Ten simple rules for reproducible computational research. PLoS Computational Biology, 9(10), e1003285. https://doi.org/10.1371/journal.pcbi.1003285
  11. Shaw, M. (2003). Writing good software engineering research papers. In Proceedings of the 25th International Conference on Software Engineering (pp. 726–736). IEEE. https://doi.org/10.1109/ICSE.2003.1201262
  12. University of Exeter. (2026). Presentation of theses/dissertations for postgraduate research degrees: Statement of procedures (Teaching Quality Assurance Manual, PGR Handbook chapter 11, 2026/27). https://www.exeter.ac.uk/v8media/specificsites/tqa/pgr/PGR_Handbook_Chapter_11.pdf
  13. Wieringa, R. J. (2014). Design science methodology for information systems and software engineering. Springer. https://doi.org/10.1007/978-3-662-43839-8
  14. Wilkinson, M. D., Dumontier, M., Aalbersberg, I. J., Appleton, G., Axton, M., Baak, A., Blomberg, N., Boiten, J.-W., da Silva Santos, L. B., Bourne, P. E., Bouwman, J., Brookes, A. J., Clark, T., Crosas, M., Dillo, I., Dumon, O., Edmunds, S., Evelo, C. T., Finkers, R., . . . Mons, B. (2016). The FAIR guiding principles for scientific data management and stewardship. Scientific Data, 3, Article 160018. https://doi.org/10.1038/sdata.2016.18

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2020, August 27). Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order. PhD Research Lab. https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities/

PhD Research Lab Academy. “Structuring a Computer Science PhD Thesis: Contribution Types, Evaluation, Software Artefacts and Chapter Order.” PhD Research Lab, 27 Aug. 2020, www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities. Accessed [access date].

PhD Research Lab Academy (2020) Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order. PhD Research Lab. Available at: https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities/ (Accessed: [access date]).

PhD Research Lab Academy. “Structuring a Computer Science PhD Thesis: Contribution Types, Evaluation, Software Artefacts and Chapter Order.” PhD Research Lab. August 27, 2020. https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities.

PhD Research Lab Academy, ‘Structuring a Computer Science PhD Thesis: Contribution Types, Evaluation, Software Artefacts and Chapter Order’ (PhD Research Lab, 27 August 2020) <https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities> accessed [access date].

PhD Research Lab Academy. Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order [Internet]. PhD Research Lab; 2020 Aug 27 [cited [access date]]. Available from: https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities/

PhD Research Lab Academy, “Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order,” PhD Research Lab, Aug. 27, 2020. [Online]. Available: https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities. [Accessed: [access date]].

@online{major_guidelines_and_formatting_structure_for_writing_computer_science_ph_d_dissertation_in_top_universities_2020,
  author = {{PhD Research Lab Academy}},
  title = {{Structuring a computer science PhD thesis: contribution types, evaluation, software artefacts and chapter order}},
  organization = {PhD Research Lab},
  date = {2020-08-27},
  url = {https://www.phdassistance.com/blog/major-guidelines-and-formatting-structure-for-writing-computer-science-ph-d-dissertation-in-top-universities},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Structuring a computer science PhD thesisNeed help applying it to your study?
Full dissertation mentoring