Explanation
This rule calculates whether or not your flow can be displayed on a standard screen. If not, you are advised to refactor for maintainability reasons.
We estimate that resolving this issue will on average take 15 minutes.
Possible improvement
When opening a flow that does not fit your standard viewport, it is possible that elements in the flow are off the screen, this could lead to errors being made in analysis or implementation of changes. Try to restructure the flow to fit the screen or think about putting parts of the flow in sub-flows.
Parameters
maxY | By default the flow viewport rule checks if the flow does not exceed the boundaries of the default viewport which is x=1700, y=800. By settings these properties the viewport can be made smaller or bigger. Default Value: 800 |
maxX | By default the flow viewport rule checks if the flow does not exceed the boundaries of the default viewport which is x=1700, y=800. By settings these properties the viewport can be made smaller or bigger. Default Value: 1700 |
Example
This flow is bigger than could be displayed on a standard screen, and can easily be divided into subflows.
This flow results in the following code smell:
2 Comments
Louis Wouters
When we used the BMA on our solution, it said: "...119% of the flow is not visible..."
I think that it's supposed to mean that the flow is 119% larger than the default view port.
So either the sentence is incorrectly stated or the math isn't right.
Frank van der Vaart
I witnessed this behavior in the course last week, so I reported it as a bug. I have shared the issue with you, so you can monitor its progress