Yes, but don't limit the test to those, there are probably more that I missed : )
The main metric I would go by is complexity, in whatever form it may take
The more complex a project is, the greater the need for good organization of logic and abstractions to avoid creating an unmaintainable mess
React and other frameworks provide good organization systems and abstractions (I am also quite fond of Angular and Vue )