dodona-edu / universal-judge

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

Support custom static analysis #392

Open pdawyndt opened 11 months ago

pdawyndt commented 11 months 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 1 month ago

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

BTWS2 commented 1 month ago

Some more use cases: