layer.copyDecomposedLayer() decomposing stroke caps?

Am I wrong in assuming layer.copyDecomposedLayer() would return stroke caps decomposed too? Seems to work for regular caps and corners as one would expect.

Can you send me a test file and your script?