Okay, so let's start this, okay, I'm going again and the next talk is going to be not
something I achieved, it's mostly something like I want to ask the community and most
specifically the ESC in the longer run, so I was looking at the source code of Libra
Office and looks like there are some sort of stable API called URE and there are lots of methods
and such marked as deprecated since some time but then how many are there and since
when are those methods marked as deprecated because I saw a lot of them and that's somewhat
of a fuzzy definition.
So I started to do a little bit of githraping and a little bit of gith blaming to find out
when were those deprecated marks added into the include slash and those directories.
For now I have a data only for this part of the code base but also we have similar
situation with the of API directory which is like this 1o API.
So results are following there were 197 files in total in those directories of those 42
content, some deprecated marks and in total there were 135 hits for this in the gith.
More interesting part is since when are those in the code base and as you can see in the green
part of the chart close to half of these are since open office all times which is kind of long time
but even then since 2019 so 5 years there are only a very small percentage like
less than 5, less at least 5 or even 10 years old deprecation.
I would like to ask if this is really how it should go is this okay maybe it is maybe there are
some reasons why we cannot throw out the threshold and I realize this is the bottom part of the
priority list because who cares we have more problems which are actually visible to customer
but also if you read the API documentation and you read oh this is deprecated deprecated
why the fuck I read this sorry my UA might just cannot understand why is this even there
are we serious about this deprecation or maybe it's just a joke I don't know
yeah also there are some files which are completely unused according to some unused header
finder script in the binary directory so this is complete trash but we still ship it
yeah so this is already conclusions but what I see is we don't have any serious policy to
eventually approach this like after 5 years 10 years whatever just sometime and there is no
conscious effort to reuse the use of these APIs in the code base like I found one bug which was
also very old which aimed to remove some of these old functionality from the code rest is just
still there maybe some someone will replace it with better code maybe not
yeah that's all the results so far I have shared the nice spreadsheet that I used for this
talk in the next let's go then the slides are in the in the frozen system already uploaded and
thank you