Showing 3,724 of 12,675 total issues
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateSelections
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
formData,
objectName,
otherObjectName,
selectionTypes = 'locations',
Function validateBooleanGroup
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
errors,
userGroup,
form,
schema,
errorMessages = {},
Function routeToPageInFlow
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export function routeToPageInFlow(callback, history, current, action, data) {
Function generateICS
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
summary,
description,
location,
startDateTime,
endDateTime,
Function makeAuthRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
url,
userOptions,
dispatch,
onSuccess,
onError,
Function fetchSearchByLocationCoords
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
location,
coordinates,
distance,
filters,
version,
Function aboutTheSchoolOptions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
excludeCautionFlags,
accredited,
studentVeteran,
yellowRibbonScholarship,
automatedTest = false,
Function uiSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
subHeader = nonVeteranApplicantDetailsSubHeader,
description = nonVeteranApplicantDetailsDescription,
nameUI = nonPreparerFullMaidenNameUI,
ssnUI = ssnDashesUI,
dateOfBirthUI = nonPreparerDateOfBirthUI,
Function uiSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
subHeader = nonVeteranApplicantDetailsSubHeader,
description = nonVeteranApplicantDetailsDescription,
nameUI = nonPreparerFullMaidenNameUI,
ssnUI = ssnDashesUI,
dateOfBirthUI = nonPreparerDateOfBirthUI,
Function getRenderToken
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export function getRenderToken(tokens, idx, options, env, self) {
Function normalizeAndCategorizeFacility
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
const normalizeAndCategorizeFacility = (
collection = {},
facilityEntity = [],
includeCernerStaged = [],
) => {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function generateFooterContent
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
const generateFooterContent = async (
doc,
parent,
data,
config,
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function render
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
render() {
const { customText } = this.props;
const appType = customText?.appType || APP_TYPE_DEFAULT;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function formatMenuItems
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
export const formatMenuItems = menuItems => {
const formattedMenuItems = [];
if (menuItems && isArray(menuItems)) {
return menuItems;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function OfficialGovtWebsite
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
export const OfficialGovtWebsite = () => {
const [expanded, setExpanded] = useState(false);
const onToggle = () => {
if (expanded) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"