Code Monkey home page Code Monkey logo

Comments (15)

RodneyBaker avatar RodneyBaker commented on July 30, 2024

After four years it seems the answer to this question might be 'no'.
We'll have to take another look at this and error handling in general.

from opentoonz.

elfring avatar elfring commented on July 30, 2024

How do you think about to improve static source code analysis also for this software?

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

@elfring Good to hear from you.
We'd have to look at the candidates and how it might fit into the current ecosystem.
To this point most of the analysis has been at the individual level and the outlook for code analysis tools that costs anything is not good.

I must assume you have some suggestions and preferences.

from opentoonz.

elfring avatar elfring commented on July 30, 2024

There are also some free software analysis tools available.

I suggest to avoid ignorance of return values a bit more.
Would you like to detect every error situation as early as possible?

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

Would you like to detect every error situation as early as possible?

We are several years behind the power curve so the term 'early' is a bit relative.
Perhaps we can survey what is possible for new code that is being written as opposed to current and legacy code.
In other words to chart a path forward into 2021 and beyond.

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

Concerning legacy code there is one (WIP) PR currently in the cue addressing basic cppcheck suggestions:

REF: #3647

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

Closing as I believe this has been addressed.
@elfring please let us know if that is not the case.

from opentoonz.

elfring avatar elfring commented on July 30, 2024

I find the implementation of the class โ€œTMutexImpโ€ (for example) still questionable. ๐Ÿค”
๐Ÿ”ฎ Is source code analysis evolving accordingly?

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

Thanks for the follow up.
It's great to see you back in the Opentoonz arena again.

๐Ÿ”ฎ Is source code analysis evolving accordingly?

I'll guess no, although we have had some success in that in the not too distant past.
It's hard to say if one of those efforts might have resolved this particular error handling concern.
One PR in particular was set to blast through most of the ancient coding but it needed to be run after rather than just prior to release given the number of changes it was targeting. (Not ideal to troubleshoot right before a release).
Sadly, the author of that PR didn't return to that task after the release.

Added REF: #3647

Given we are half way to the release of v1.7, now would be a good time to solidify plans and get some of the most questionable code updated.

from opentoonz.

elfring avatar elfring commented on July 30, 2024

๐Ÿ’ญ How do you think about to reopen this issue because of remaining development concerns?

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

I don't wish to take too much of your time but it would be educational to know more about your specific concerns.

Would you be willing to submit a PR to address and correct those specific concerns?
(or to recommend someone willing to submit those changes)

from opentoonz.

elfring avatar elfring commented on July 30, 2024

โ€ฆ but it would be educational to know more about your specific concerns.

๐Ÿ’ญ I recommend to take another look at linked information sources.
The proper handling of cross-cutting concerns is a general development challenge.

(or to recommend someone willing to submit those changes)

Not yet.

I suggest to take corresponding development tools better into account. ๐Ÿค”

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

I should probably add...

New code submitted goes through the various tests (github actions and appveyor) and that takes care of the vast majority of code smells so in this way you could say Opentoonz code has definitely been evolving.

The older (and largely legacy) code still needs attention and that would appear to be the focus of our discussion here.
Much of that code is still present because those areas of the program haven't been updated themselves with new/improved features and optimizations. This is perhaps the optimal road forward; to actually consider what the code is doing with respect to users and to update as appropriate.

To achieve this what we need even beyond code analysis is a clear path forward for the features of Opentoonz as a whole and the optimizations that go with user interactivity and workflow. As these paths get updated the automated tools in place then do their appropriate work.

from opentoonz.

elfring avatar elfring commented on July 30, 2024

โ€ฆ the automated tools in place then do their appropriate work.

๐Ÿ’ญ Such tools (and available development resources) are also evolving according to various factors.

from opentoonz.

RodneyBaker avatar RodneyBaker commented on July 30, 2024

Reopening based on your continued interest @elfring which is much appreciated.

from opentoonz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.