The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 1

org/hipparchus/ode/ComplexODEState.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 91

org/hipparchus/ode/FieldODEState.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 92

org/hipparchus/ode/ODEState.java

Rule Violation Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 88

Priority 3

org/hipparchus/ode/AbstractFieldIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'acceptStep(AbstractFieldODEStateInterpolator, T)' has a cognitive complexity of 68, current threshold is 15 304462

org/hipparchus/ode/AbstractIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'acceptStep(AbstractODEStateInterpolator, double)' has a cognitive complexity of 68, current threshold is 15 287447

org/hipparchus/ode/DenseOutputModel.java

Rule Violation Line
CognitiveComplexity The method 'getInterpolatedState(double)' has a cognitive complexity of 19, current threshold is 15 237320

org/hipparchus/ode/FieldDenseOutputModel.java

Rule Violation Line
CognitiveComplexity The method 'getInterpolatedState(T)' has a cognitive complexity of 19, current threshold is 15 232316

org/hipparchus/ode/events/EventFilter.java

Rule Violation Line
CognitiveComplexity The method 'g(ODEStateAndDerivative)' has a cognitive complexity of 29, current threshold is 15 113199

org/hipparchus/ode/events/EventState.java

Rule Violation Line
CognitiveComplexity The method 'findRoot(ODEStateInterpolator, double, double, double, double)' has a cognitive complexity of 34, current threshold is 15 275401

org/hipparchus/ode/events/FieldEventFilter.java

Rule Violation Line
CognitiveComplexity The method 'g(FieldODEStateAndDerivative)' has a cognitive complexity of 29, current threshold is 15 119205

org/hipparchus/ode/events/FieldEventState.java

Rule Violation Line
CognitiveComplexity The method 'findRoot(FieldODEStateInterpolator, T, T, T, T)' has a cognitive complexity of 34, current threshold is 15 293421

org/hipparchus/ode/events/FilterType.java

Rule Violation Line
CognitiveComplexity The method 'selectTransformer(Transformer, double, boolean)' has a cognitive complexity of 48, current threshold is 15 94207
CognitiveComplexity The method 'selectTransformer(Transformer, double, boolean)' has a cognitive complexity of 48, current threshold is 15 272385

org/hipparchus/ode/nonstiff/AdamsFieldIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 38, current threshold is 15 105231

org/hipparchus/ode/nonstiff/AdamsIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 38, current threshold is 15 92214

org/hipparchus/ode/nonstiff/AdamsNordsieckFieldTransformer.java

Rule Violation Line
CognitiveComplexity The method 'initializeHighOrderDerivatives(T, T, T, T)' has a cognitive complexity of 18, current threshold is 15 256320

org/hipparchus/ode/nonstiff/AdamsNordsieckTransformer.java

Rule Violation Line
CognitiveComplexity The method 'initializeHighOrderDerivatives(double, double, double, double)' has a cognitive complexity of 18, current threshold is 15 242305

org/hipparchus/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 57, current threshold is 15 220340

org/hipparchus/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 60, current threshold is 15 191312

org/hipparchus/ode/nonstiff/GraggBulirschStoerIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'tryStep(double, double, double, int, double, double, double, double)' has a cognitive complexity of 19, current threshold is 15 421481
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 247, current threshold is 15 511886

org/hipparchus/ode/nonstiff/GraggBulirschStoerStateInterpolator.java

Rule Violation Line
CognitiveComplexity The method 'computeCoefficients(int)' has a cognitive complexity of 17, current threshold is 15 156209

org/hipparchus/ode/nonstiff/RungeKuttaFieldIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 31, current threshold is 15 117203

org/hipparchus/ode/nonstiff/RungeKuttaIntegrator.java

Rule Violation Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 34, current threshold is 15 98191

Files

org/hipparchus/ode/AbstractFieldIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'acceptStep(AbstractFieldODEStateInterpolator, T)' has a cognitive complexity of 68, current threshold is 15 3 304462

org/hipparchus/ode/AbstractIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'acceptStep(AbstractODEStateInterpolator, double)' has a cognitive complexity of 68, current threshold is 15 3 287447

org/hipparchus/ode/ComplexODEState.java

Rule Violation Priority Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 91

org/hipparchus/ode/DenseOutputModel.java

Rule Violation Priority Line
CognitiveComplexity The method 'getInterpolatedState(double)' has a cognitive complexity of 19, current threshold is 15 3 237320

org/hipparchus/ode/FieldDenseOutputModel.java

Rule Violation Priority Line
CognitiveComplexity The method 'getInterpolatedState(T)' has a cognitive complexity of 19, current threshold is 15 3 232316

org/hipparchus/ode/FieldODEState.java

Rule Violation Priority Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 92

org/hipparchus/ode/ODEState.java

Rule Violation Priority Line
ReturnEmptyCollectionRatherThanNull Return an empty collection rather than null. 1 88

org/hipparchus/ode/events/EventFilter.java

Rule Violation Priority Line
CognitiveComplexity The method 'g(ODEStateAndDerivative)' has a cognitive complexity of 29, current threshold is 15 3 113199

org/hipparchus/ode/events/EventState.java

Rule Violation Priority Line
CognitiveComplexity The method 'findRoot(ODEStateInterpolator, double, double, double, double)' has a cognitive complexity of 34, current threshold is 15 3 275401

org/hipparchus/ode/events/FieldEventFilter.java

Rule Violation Priority Line
CognitiveComplexity The method 'g(FieldODEStateAndDerivative)' has a cognitive complexity of 29, current threshold is 15 3 119205

org/hipparchus/ode/events/FieldEventState.java

Rule Violation Priority Line
CognitiveComplexity The method 'findRoot(FieldODEStateInterpolator, T, T, T, T)' has a cognitive complexity of 34, current threshold is 15 3 293421

org/hipparchus/ode/events/FilterType.java

Rule Violation Priority Line
CognitiveComplexity The method 'selectTransformer(Transformer, double, boolean)' has a cognitive complexity of 48, current threshold is 15 3 94207
CognitiveComplexity The method 'selectTransformer(Transformer, double, boolean)' has a cognitive complexity of 48, current threshold is 15 3 272385

org/hipparchus/ode/nonstiff/AdamsFieldIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 38, current threshold is 15 3 105231

org/hipparchus/ode/nonstiff/AdamsIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 38, current threshold is 15 3 92214

org/hipparchus/ode/nonstiff/AdamsNordsieckFieldTransformer.java

Rule Violation Priority Line
CognitiveComplexity The method 'initializeHighOrderDerivatives(T, T, T, T)' has a cognitive complexity of 18, current threshold is 15 3 256320

org/hipparchus/ode/nonstiff/AdamsNordsieckTransformer.java

Rule Violation Priority Line
CognitiveComplexity The method 'initializeHighOrderDerivatives(double, double, double, double)' has a cognitive complexity of 18, current threshold is 15 3 242305

org/hipparchus/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 57, current threshold is 15 3 220340

org/hipparchus/ode/nonstiff/EmbeddedRungeKuttaIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 60, current threshold is 15 3 191312

org/hipparchus/ode/nonstiff/GraggBulirschStoerIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'tryStep(double, double, double, int, double, double, double, double)' has a cognitive complexity of 19, current threshold is 15 3 421481
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 247, current threshold is 15 3 511886

org/hipparchus/ode/nonstiff/GraggBulirschStoerStateInterpolator.java

Rule Violation Priority Line
CognitiveComplexity The method 'computeCoefficients(int)' has a cognitive complexity of 17, current threshold is 15 3 156209

org/hipparchus/ode/nonstiff/RungeKuttaFieldIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(FieldExpandableODE, FieldODEState, T)' has a cognitive complexity of 31, current threshold is 15 3 117203

org/hipparchus/ode/nonstiff/RungeKuttaIntegrator.java

Rule Violation Priority Line
CognitiveComplexity The method 'integrate(ExpandableODE, ODEState, double)' has a cognitive complexity of 34, current threshold is 15 3 98191

Back to top

Version: 2.2. Last Published: 2022-08-04.

Reflow Maven skin by Andrius Velykis.