Just today I announced a sweep through all of the TODO's and to either turn them into issues, stories or remove them. Biggest problem in Xcode is that it clogs up the warning list and the real warnings get swamped by them. But it's funny to see that Rust has less outstanding TODO's than our brand new 45KLoC project.
Plotting the source code “TODO” history of the most popular open source projects
41–50 of 114 posts
Re: Plotting the source code “TODO” history of the most popular open source projects
#42Just today I announced a sweep through all of the TODO's and to either turn them into issues, stories or remove them. Biggest problem in Xcode is that it clogs up the warning list and the real warnings get swamped by them. But it's funny to see that Rust has less outstanding TODO's than our brand new 45KLoC project.
The Rust graph is inaccurate since Rust uses FIXME instead of TODO. Almost all of the usage of "TODO" in rustc relates to the todo!() macro, usually to stub out parts of tests.
$ rg FIXME compiler | wc -l
1036
$ rg FIXME | wc -l
18656Re: Plotting the source code “TODO” history of the most popular open source projects
#43OP here. I used `git log -G TODO --reverse -p -- . > ~/Desktop/test.txt` and used the results in PHP to aggregate the data as I couldn't think of the bash one liners in the other comments :(
Re: Plotting the source code “TODO” history of the most popular open source projects
#44Just today I announced a sweep through all of the TODO's and to either turn them into issues, stories or remove them. Biggest problem in Xcode is that it clogs up the warning list and the real warnings get swamped by them. But it's funny to see that Rust has less outstanding TODO's than our brand new 45KLoC project.
Re: Plotting the source code “TODO” history of the most popular open source projects
#45Re: Plotting the source code “TODO” history of the most popular open source projects
#46Re: Plotting the source code “TODO” history of the most popular open source projects
#47Just today I announced a sweep through all of the TODO's and to either turn them into issues, stories or remove them. Biggest problem in Xcode is that it clogs up the warning list and the real warnings get swamped by them. But it's funny to see that Rust has less outstanding TODO's than our brand new 45KLoC project.
Sorry to break it to you but these TODOs are a measure of technical dept you've accrued by limiting dev work to issues and stories.
Re: Plotting the source code “TODO” history of the most popular open source projects
#48OP here. I used `git log -G TODO --reverse -p -- . > ~/Desktop/test.txt` and used the results in PHP to aggregate the data as I couldn't think of the bash one liners in the other comments :(
Stupid question, is "TODO" in this instance case sensitive?
Re: Plotting the source code “TODO” history of the most popular open source projects
#49Interesting that some of them don't grow, or don't grow much, over time. Someone at PostgreSQL and Django is actually reading and fixing the TODOs.
It would also be interesting to plot the number of TODOs against the size of the code base too. One would assume that as a project grows, the number of outstanding TODOs would grow too. Where and when this isn't true, might reveal something more interesting.
We had a couple of projects that had unit tests neglected so we enforced that you had to round up to the next closest 1% on the package.json for your merge to be approved (as well as adding some unit tests)
In 3-4 weeks, code coverage slowly went from 20% to 73%.
Re: Plotting the source code “TODO” history of the most popular open source projects
#50I wonder what other strings people use like this. So far I have seen FIXME TODO HACK XXX BROKEN.