id: 1 unit: function TabMfaData() file: src/pages/Settings/tabMfaData.js start line: 92 end line: 251 size: 133 LOC McCabe index: 8 number of parameters: 1 id: 2 unit: async function handlePKCE() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 117 end line: 237 size: 104 LOC McCabe index: 14 number of parameters: 1 id: 3 unit: export default function AppSnackbar() file: src/components/Snackbar/Snackbar.js start line: 29 end line: 134 size: 96 LOC McCabe index: 17 number of parameters: 1 id: 4 unit: componentDidMount() file: src/pages/Logout/Logout.js start line: 16 end line: 89 size: 65 LOC McCabe index: 23 number of parameters: 0 id: 5 unit: export default function TosContent() file: src/pages/TermsOfService/content.js start line: 67 end line: 130 size: 60 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: exports.send = function() file: amplify/backend/function/amplifyIdentityBrokerPostDeployment/src/cfn-response.js start line: 13 end line: 57 size: 39 LOC McCabe index: 3 number of parameters: 6 id: 7 unit: async function handleImplicit() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 239 end line: 277 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: function I18N() file: amplify/backend/function/amplifyIdentityBrokerCustomMessage/src/custom.js start line: 10 end line: 42 size: 33 LOC McCabe index: 1 number of parameters: 0 id: 9 unit: function registerValidSW() file: src/serviceWorker.js start line: 66 end line: 108 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 10 unit: componentDidMount() file: src/components/ProtectedRoute/ProtectedRoute.js start line: 38 end line: 79 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 11 unit: function checkValidServiceWorker() file: src/serviceWorker.js start line: 110 end line: 138 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 12 unit: export default function() file: src/redux/reducers/user.js start line: 25 end line: 55 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 13 unit: async function injectEnvVariableToLambda() file: amplify/backend/function/amplifyIdentityBrokerPostDeployment/src/index.js start line: 80 end line: 105 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 14 unit: async function updateCognitoAppCallbacks() file: amplify/backend/function/amplifyIdentityBrokerPostDeployment/src/index.js start line: 51 end line: 78 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 15 unit: export function register() file: src/serviceWorker.js start line: 32 end line: 64 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: getClients() file: src/pages/Dashboard/Dashboard.js start line: 56 end line: 78 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: async function verifyClient() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 73 end line: 94 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 18 unit: async function encryptToken() file: amplify/backend/function/amplifyIdentityBrokerStorage/src/index.js start line: 25 end line: 43 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: async function encryptToken() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 33 end line: 51 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: function TabPanel() file: src/pages/Settings/content.js start line: 36 end line: 54 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: async function decryptToken() file: amplify/backend/function/amplifyIdentityBrokerToken/src/index.js start line: 40 end line: 57 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: async function getCookiesFromHeader() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 53 end line: 71 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: async function handleIdpLogin() file: src/components/LandingPage/helpers/handleIdpLogin.js start line: 16 end line: 33 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: export default function() file: src/redux/reducers/app.js start line: 19 end line: 36 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 25 unit: constructor() file: src/pages/TermsOfService/TermsOfService.js start line: 36 end line: 53 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: constructor() file: src/pages/Dashboard/Dashboard.js start line: 33 end line: 46 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: I18N.prototype.setLanguage = function() file: amplify/backend/function/amplifyIdentityBrokerCustomMessage/src/custom.js start line: 44 end line: 57 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: export async function storeTokens() file: src/components/LandingPage/helpers/tokenHelper.js start line: 14 end line: 29 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 29 unit: render() file: src/pages/Dashboard/Dashboard.js start line: 80 end line: 94 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 30 unit: function getStepContent() file: src/components/MfaTotpConfigDialog/MfaTotpConfigDialog.js start line: 74 end line: 85 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: export function unregister() file: src/serviceWorker.js start line: 140 end line: 150 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: render() file: src/pages/TermsOfService/TermsOfService.js start line: 185 end line: 197 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: async function asyncCustomChallengeAnswer() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 106 end line: 115 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: export function getCookie() file: src/components/LandingPage/helpers/cookieHelper.js start line: 10 end line: 19 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: async function asyncAuthenticateUser() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 96 end line: 104 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 36 unit: function insertStateIfAny() file: amplify/backend/function/amplifyIdentityBrokerAuthorize/src/index.js start line: 279 end line: 288 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: export function setCookie() file: src/components/LandingPage/helpers/cookieHelper.js start line: 21 end line: 28 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 38 unit: export default function useWindowDimensions() file: src/components/ViewPort/useWindowDimensions.js start line: 23 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: await injectEnvVariableToLambda() file: amplify/backend/function/amplifyIdentityBrokerPostDeployment/src/index.js start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 40 unit: function getSteps() file: src/components/MfaTotpConfigDialog/MfaTotpConfigDialog.js start line: 66 end line: 72 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: function getWindowDimensions() file: src/components/ViewPort/useWindowDimensions.js start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: constructor() file: src/components/ProtectedRoute/ProtectedRoute.js start line: 30 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: function base64URLEncode() file: amplify/backend/function/amplifyIdentityBrokerToken/src/index.js start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: function a11yProps() file: src/pages/Settings/content.js start line: 62 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: componentDidMount() file: src/pages/TermsOfService/TermsOfService.js start line: 55 end line: 61 size: 6 LOC McCabe index: 4 number of parameters: 0 id: 46 unit: export function setTokenCookie() file: src/components/LandingPage/helpers/tokenHelper.js start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: export function setRefreshTokenCookie() file: src/components/LandingPage/helpers/tokenHelper.js start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 48 unit: constructor() file: src/App.js start line: 56 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: I18N.prototype.get = function() file: amplify/backend/function/amplifyIdentityBrokerCustomMessage/src/custom.js start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: constructor() file: src/pages/Settings/Settings.js start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: componentDidMount() file: src/pages/Settings/Settings.js start line: 38 end line: 41 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: constructor() file: src/pages/ErrorPage/ErrorPage.js start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: function sha256() file: amplify/backend/function/amplifyIdentityBrokerToken/src/index.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: export function eraseCookie() file: src/components/LandingPage/helpers/cookieHelper.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: function handleResize() file: src/components/ViewPort/useWindowDimensions.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: function fallBackImage() file: src/pages/Dashboard/appTiles.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: componentDidMount() file: src/pages/Dashboard/Dashboard.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: export default connect() file: src/components/LanguageSelect/LanguageSelect.js start line: 125 end line: 125 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: export default connect() file: src/pages/Settings/tabUserData.js start line: 368 end line: 368 size: 1 LOC McCabe index: 1 number of parameters: 3