Issues identified
test_1.m
test_1.m: line 5: error: script-global functions are an Octave-specific feature; move your functions to the end of the script file or use the --octave mode
test_2.m
test_2.m: style: violates naming scheme for scripts
test_2.m: line 1: style: No copyright notice found in docstring
test_2.m: line 16: style: end statement with a semicolon
test_2.m: line 18: style: end statement with a semicolon
test_2.m: line 19: style: end statement with a semicolon
test_2.m: line 20: style: end statement with a semicolon
test_2.m: line 22: style: violates naming scheme for function