---
title: "Discussion on \"The 6,967-line function: the longest functions in popular open-source repos\" | Hashnode"
description: "Discussion on \"The 6,967-line function: the longest functions in popular open-source repos\". TL;DR\n\nAmong the 53 repos with 10,000+ GitHub stars that have a function-length record in repowise's index, the longest function is RunPanoramaStitchSelfTest in Microsoft PowerToys: 6,967 lines of C++"
url: "https://hashnode.com/posts/the-6967-line-function-the-longest-functions-in-popular-open-source-repos/6b058dde8a997b040069ced2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The 6,967-line function: the longest functions in popular open-source repos](https://repowise.hashnode.dev/the-6967-line-function-the-longest-functions-in-popular-open-source-repos?utm_source=hashnode&utm_medium=feed)

TL;DR Among the 53 repos with 10,000+ GitHub stars that have a function-length record in repowise's index, the longest function is RunPanoramaStitchSelfTest in Microsoft PowerToys: 6,967 lines of C++

Nov 24 · 9 min read · repowise.hashnode.dev  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#codequality](https://hashnode.com/tag/codequality)
-   [#discuss](https://hashnode.com/tag/discuss)

## Written by

[Raghav Chamadiya](https://hashnode.com/@RaghavChamadiya)

@RaghavChamadiya

  
[View profile](https://hashnode.com/@RaghavChamadiya)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
