epam / epam/Indigo

`molecule_json_saver.cpp` has 2,432 lines of code, which is greater than 2,000 authorized. Split it into smaller files

Open
#3,414 0 comments 1 reaction 2 assignees Claimed by @AlexeyGirin View on GitHub
Priority: Low Severity: Low Sonar
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Problem:**
`core/indigo-core/molecule/src/molecule_json_saver.cpp` has 2,432 lines of code, which is greater than 2,000 authorized. Split it into smaller files.

**Why is this an issue?**
A source file that grows too much tends to aggregate too many responsibilities and inevitably becomes harder to understand and therefore to maintain. Above a specific threshold, it is strongly advised to refactor it into smaller pieces of code which focus on well defined tasks. Those smaller files will not only be easier to understand but also probably easier to test.

**Problem locations:**
core/indigo-core/molecule/src/molecule_json_saver.cpp

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.