Skip to content

Session: Improve CSV/XML session import with datetime support and code cleanup - refs #3554 #6220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christianbeeznest
Copy link
Contributor

No description provided.

* Imports sessions from an XML file and returns the result of the operation.
*/
public static function importXML(
string $file,
Copy link

Choose a reason for hiding this comment

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

Method importXML has 7 arguments (exceeds 4 allowed). Consider refactoring.

/**
* Imports sessions from an XML file and returns the result of the operation.
*/
public static function importXML(
Copy link

Choose a reason for hiding this comment

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

Method importXML has 245 lines of code (exceeds 25 allowed). Consider refactoring.

/**
* Imports sessions from an XML file and returns the result of the operation.
*/
public static function importXML(
Copy link

Choose a reason for hiding this comment

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

Function importXML has a Cognitive Complexity of 75 (exceeds 5 allowed). Consider refactoring.

Copy link

codeclimate bot commented Apr 11, 2025

Code Climate has analyzed commit b58dae6 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 3

View more on Code Climate.

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.

1 participant