The thermal conductivity of a rod depends on
Length
Mass
Area of cross section
Material of the rod
ΔQΔt=−kAdTdx
Here, the thermal conductivity (k) depends on the material, and not the dimensions and mass of the body.
The ratio of thermal conductivity of two rods of different material is 5 : 4. The two rods of same area of cross-section and same thermal resistance will have the lengths in the ratio