This is a static copy of a profile report

Home

DocLanguage>DocLanguage.fromLanguageStr (Calls: 1, Time: 0.000 s)
Generated 18-May-2021 16:05:20 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+services/DocLanguage.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
getDocLanguageLocalefunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
61
docLanguage = matlab.internal....
10.000 s48.3%
63
end
10.000 s14.3%
44
case 'en_US'
10.000 s5.4%
43
switch(systemLang)
10.000 s4.1%
60
otherwise
10.000 s2.0%
All other lines  0.000 s25.9%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function22
Non-code lines (comments, blank lines)1
Code lines (lines that can run)21
Code lines that did run13
Code lines that did not run8
Coverage (did run/can run)61.90 %
Function listing
time 
Calls 
 line
  42 
        function docLanguage = fromLanguageStr(systemLang)
< 0.001 
      1 
  43
            switch(systemLang) 
< 0.001 
      1 
  44
              case 'en_US' 
  45 
                 docLanguage = matlab.internal.doc.services.DocLanguage.ENGLISH;
< 0.001 
      1 
  46
              case 'zh_CN' 
  47 
                 docLanguage = matlab.internal.doc.services.DocLanguage.SIMPLIFIED_CHINESE;
< 0.001 
      1 
  48
              case 'ja_JP' 
  49 
                 docLanguage = matlab.internal.doc.services.DocLanguage.JAPANESE;
< 0.001 
      1 
  50
              case 'ko_KR' 
  51 
                 docLanguage = matlab.internal.doc.services.DocLanguage.KOREAN;
< 0.001 
      1 
  52
              case 'es' 
  53 
                 docLanguage = matlab.internal.doc.services.DocLanguage.SPANISH;
< 0.001 
      1 
  54
              case 'fr' 
  55 
                  docLanguage = matlab.internal.doc.services.DocLanguage.FRENCH;
< 0.001 
      1 
  56
              case 'de' 
  57 
                  docLanguage = matlab.internal.doc.services.DocLanguage.GERMAN;
< 0.001 
      1 
  58
              case 'it' 
  59 
                  docLanguage = matlab.internal.doc.services.DocLanguage.ITALIAN;
< 0.001 
      1 
  60
              otherwise 
< 0.001 
      1 
  61
                 docLanguage = matlab.internal.doc.services.DocLanguage.ENGLISH;     
< 0.001 
      1 
  62
            end 
< 0.001 
      1 
  63
        end 

Other subfunctions in this file are not included in this listing.