Per function, not overall. A function with more lines of code is doing more, and so is harder to test
It might be reducing "cyclomatic complexity" but not necessarily overall complexity. Often the opposite is true: reduced locality imposes its own costs in maintenance and efficiency for example.
If a function calls another function, for example, testing the caller without mocking the callee, I'm told often, is not truly a unit test.