dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 5 forks source link

Support custom static analysis #392

Open pdawyndt opened 1 year ago

pdawyndt commented 1 year ago

TESTed is mainly focussed on dynamic analysis (= perform a unit test on the submitted code (function or method) or on execution of the entire code, and check the generated outputs with the corresponding expected outputs). However, many judges also support static analysis that only inspects the submitted source code without running it. Currently, TESTed only supports two built-in ways for static analysis:

Since there are many other forms of static analysis, we might add support for custom static analysis to TESTed. Here are some issues that need to be resolved to support custom static analysis in TESTed:

niknetniko commented 7 months ago

Some use cases for this (that are currently done with the Python judge) are:

BTWS2 commented 7 months ago

Some more use cases: