Hinged length depends upon
(a) weight of member
(b) type of connection
(c) type of loading
(d) number of bolts used in connection
I had been asked this question in an online interview.
The origin of the question is General Requirements for Plastic Design and Plastic Hinge topic in section Plastic and Local Buckling Behaviour of Steel of Design of Steel Structures