dsi-icl/optimise

View on GitHub
packages/optimise-ui/src/components/searchPatient/searchPatient.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    render() {
        const { data, searchString } = this.props;
        const ind = data.aliasId.toLowerCase().indexOf(searchString.toLowerCase());
        const styledName = (
            <span>
Severity: Minor
Found in packages/optimise-ui/src/components/searchPatient/searchPatient.jsx - About 1 hr to fix

    Function render has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        render() {
            return (
                <>
                    <div className={style.ariane}>
                        <Helmet title='Patient Search' />
    Severity: Minor
    Found in packages/optimise-ui/src/components/searchPatient/searchPatient.jsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status