ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0008099 | Part 01: TTCN-3 Core Language | Technical | public | 09-08-2022 14:36 | 26-01-2024 16:31

Reporter | Matthias Simon |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | won't fix |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | 5.5 Cyclic Definitions
Source (company - Author) | Nokia - Matthias Simon

Summary | 0008099: Disallow circular imports
Description | Circular imports should be disallowed. At Nokia we identified circular imports as code smell. Many import cycles we analyzed violated the test suite architecture by importing test case specific modules into common libraries. All cycles could have easily been prevented. Circular imports have a serious impact on incremental compilation and on test suite architecture.
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
09-08-2022 14:36 | Matthias Simon | New Issue |
16-08-2022 13:01 | Jens Grabowski | Note Added: 0016221 |
16-08-2022 13:01 | Jens Grabowski | Assigned To | => Jens Grabowski
16-08-2022 13:01 | Jens Grabowski | Status | new => assigned
16-08-2022 13:02 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
16-08-2022 13:03 | Jens Grabowski | Status | assigned => closed
16-08-2022 13:03 | Jens Grabowski | Resolution | open => won't fix
26-01-2024 16:31 | Olivier Genoud | Note Added: 0016614 |

Notes

(0016221)
Jens Grabowski
16-08-2022 13:01

TTF discussion: Circular imports is heavily used in several places and cannot be removed due to backwards compatability issues. Future features (e.g., interfaces) may be used to avoid circular imports.

(0016614)
Olivier Genoud
26-01-2024 16:31

There is no need to handle potential code smells at core language level, but projects may define what shall be considered as code smell and how to avoid these code smells (e.g. by appropriate tools).