Skip to content

Conversation

@JuanVqz
Copy link
Member

@JuanVqz JuanVqz commented Oct 17, 2025

Description:

The status reporter has a different purpuse in the RubyCritic gem, they also have the specific usage of the Console Report and now we are following the same patters that gem created.

  • Added support for a new console output format in the FormatValidator module.

  • Refactored the StatusReporter to provide a simplified status message upon completion of analysis.

  • Introduced ConsoleReport and Simple classes for generating detailed console reports of analysed modules.

  • Updated tests to validate new console reporting functionality and ensure expected outputs.

  • Adjusted existing tests to reflect changes in the status reporting method.

  • Add an entry to CHANGELOG.md that links to this PR under the "main (unreleased)" heading.

I will abide by the code of conduct.

Base automatically changed from feat/add-skunk-analysis to main October 29, 2025 14:27
@JuanVqz JuanVqz force-pushed the feat/move-console-report branch 2 times, most recently from 21741eb to 2b5e5b2 Compare November 3, 2025 15:17
@JuanVqz JuanVqz requested a review from etagwerker November 3, 2025 17:42
@JuanVqz JuanVqz marked this pull request as ready for review November 3, 2025 17:42
@JuanVqz JuanVqz requested a review from fbuys November 3, 2025 17:43
Copy link
Member

@etagwerker etagwerker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuanVqz Looks good, could you please add an entry to the CHANGELOG?

Copy link
Member Author

@JuanVqz JuanVqz Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making console the default format.

@JuanVqz
Copy link
Member Author

JuanVqz commented Nov 13, 2025

@etagwerker added, thanks for the code review!

Refactor Skunk analysis integration by removing the Analysis class and adding its methods directly to RubyCritic::AnalysedModulesCollection. Update related files to utilize the new methods for Skunk score calculations and reporting.
The status reporter has a different purpuse in the RubyCritic gem, they also have the specific usage of the Console Report and now we are following the same patters that gem created.

- Added support for a new console output format in the FormatValidator module.
- Refactored the StatusReporter to provide a simplified status message upon completion of analysis.
- Introduced ConsoleReport and Simple classes for generating detailed console reports of analysed modules.
- Updated tests to validate new console reporting functionality and ensure expected outputs.
- Adjusted existing tests to reflect changes in the status reporting method.
This class used to return the Console message but now it does not have
that responsibility and will only return an empty string until we get
the GPA Score on Skunk, we will print it as RubyCritic does
@JuanVqz JuanVqz force-pushed the feat/move-console-report branch from 8b55a22 to 89aeec9 Compare November 13, 2025 23:25
@JuanVqz JuanVqz merged commit ff8b0f8 into main Nov 13, 2025
16 checks passed
@JuanVqz JuanVqz deleted the feat/move-console-report branch November 13, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants