< Summary

Class:Microsoft.FSharp.Core.PrintfImpl
Assembly:FSharp.Core
File(s):F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs
Covered lines:129
Uncovered lines:522
Coverable lines:651
Total lines:0
Line coverage:19.8% (129 of 651)
Covered branches:61
Total branches:354
Branch coverage:17.2% (61 of 354)
Tag:24_1835905959

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
valueOf@120(...)0%12300%
ToString()0%2100%
GetPadAndPrefix(...)44.44%6.9751657.14%
intFromString(...)0%6220%
parseFlags(...)63.64%12.7261642.86%
parseWidth(...)60%4.123450%
parsePrecision(...)28.57%11.534822.22%
parseInterpolatedHoleDotNetFormat(...)55.56%9.7381670%
skipInterpolationHole(...)13.33%40.7787220%
findNextFormatSpecifier(...)69.23%8.1986485.71%
BlockCount(...)23.33%167.4319921625.64%
.ctor(...)0%110100%
WriteSkipEmpty(...)100%222100%
RunSteps(...)41.67%59.21101821.05%
revToArray(...)100%222100%
.ctor()0%2100%
Final0(...)0%2100%
Invoke(...)0%2100%
CaptureFinal1(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CaptureFinal2(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CaptureFinal3(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Capture1(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CaptureLittleA(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Capture2(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Capture3(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
OneStepWithArg(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
TwoStepWithArg(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
.ctor(...)0%110100%
Make(...)0%2100%
Make(...)0%2100%
Make(...)0%2100%
normalizePrecision(...)0%12320%
adaptPaddedFormatted(...)0%7281280%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
adaptPadded(...)0%12340%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
withPaddingFormatted(...)0%20480%
withPadding(...)40%4.943440%
withPadding(...)0%110100%
Invoke(...)0%2100%
Invoke(...)0%2100%
isPositive(...)0%2101400%
rightJustifyWithZeroAsPadChar(...)0%426320%
rightJustifyWithSpaceAsPadChar(...)0%12340%
leftJustifyWithGFormat(...)0%20480%
leftJustifyWithNonGFormat(...)0%12340%
noJustificationCore(...)0%12340%
noJustification(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
eliminateNative(...)0%30540%
toString(...)0%1321100%
toFormattedString(...)0%1321100%
toUnsigned(...)0%56700%
leftJustify(...)0%20480%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
rightJustify(...)0%20480%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
withPadding(...)0%6200%
getValueConverter(...)0%567640%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%6220%
toFormattedString(...)0%20400%
isNumber(...)0%72880%
isInteger(...)0%20400%
leftJustify(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
rightJustify(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
withPadding(...)0%2100%
Invoke(...)0%2100%
ObjectToString(...)0%2100%
Invoke(...)0%6200%
InterpolandToString(...)66.67%2.062275%
Invoke(...)0%5.673033.33%
GenericToStringCore(...)0%6220%
GenericToString(...)0%728960%
Invoke(...)0%6220%
Invoke(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
basicFloatToString(...)0%2100%
Invoke(...)0%2100%
getValueConverter(...)18.52%67.86102616.67%
Invoke(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
extractCurriedArguments(...)0%2100%
go@1004-3(...)0%20480%
.ctor(...)0%2100%
Finish()0%2100%
Write(...)0%2100%
WriteT(...)0%2100%
.ctor()0%110100%
Finish()66.67%2.152266.67%
Write(...)100%222100%
WriteT(...)0%2100%
.ctor()0%2100%
Finish()0%2100%
Write(...)0%20480%
WriteT(...)0%2100%
StringPrintfEnv(...)40%4.943440%
Invoke(...)0%2100%
StringBuilderPrintfEnv(...)0%2100%
Finish()0%2100%
Write(...)0%2100%
WriteT(...)0%2100%
TextWriterPrintfEnv(...)0%2100%
Finish()0%2100%
Write(...)0%2100%
WriteT(...)0%2100%
.ctor(...)0%110100%
buildCaptureFunc(...)0%6220%
buildCaptureFunc$cont@1088(...)0%20420%
buildStep(...)60%3.583460%
buildStep$cont@1128(...)33.33%51.5512102435%
convFunc@1149(...)0%2100%
Invoke(...)0%2100%
parseSpec(...)0%110100%
parseAndCreateStepsForCapturedFormatAux(...)100%222100%
parseAndCreateStepsForCapturedFormat()0%110100%
parseAndCreateFuncFactoryAux(...)0%6220%
parseAndCreateFunctionFactory()0%182131920%
Invoke(...)0%2100%
GetStepsForCapturedFormat()66.67%2.062275%
GetCurriedPrinterFactory()0%6220%
GetCurriedStringPrinter()0%6220%
Invoke(...)0%2100%
.ctor()0%2100%
.cctor()0%110100%
GetParser(...)22.22%11.7751635.29%

File(s)

F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs

File 'F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs' does not exist (any more).

Methods/Properties

IsStarPrecision()
IsPrecisionSpecified()
IsStarWidth()
IsWidthSpecified()
ArgCount()
valueOf@120(System.Int32)
ToString()
IsDecimalFormat()
GetPadAndPrefix(System.Boolean)
intFromString(System.String,System.Int32&)
parseFlags(System.String,System.Int32&)
parseWidth(System.String,System.Int32&)
parsePrecision(System.String,System.Int32&)
parseInterpolatedHoleDotNetFormat(System.Char,System.String,System.Int32&)
skipInterpolationHole(System.Char,System.String,System.Int32&)
findNextFormatSpecifier(System.String,System.Int32&)
BlockCount(Microsoft.FSharp.Core.PrintfImpl/Step[])
.ctor(TState)
State()
WriteSkipEmpty(System.String)
RunSteps(System.Object[],System.Type[],Microsoft.FSharp.Core.PrintfImpl/Step[])
revToArray(System.Int32,Microsoft.FSharp.Collections.FSharpList`1<T>)
.ctor()
Final0(Microsoft.FSharp.Core.PrintfImpl/Step[])
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
CaptureFinal1(Microsoft.FSharp.Core.PrintfImpl/Step[])
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A)
CaptureFinal2(Microsoft.FSharp.Core.PrintfImpl/Step[])
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A,B)
CaptureFinal3(Microsoft.FSharp.Core.PrintfImpl/Step[])
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A,B,C)
Capture1(Microsoft.FSharp.Core.PrintfImpl/PrintfFuncFactory`4<TTail,TState,TResidue,TResult>)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A)
CaptureLittleA(Microsoft.FSharp.Core.PrintfImpl/PrintfFuncFactory`4<TTail,TState,TResidue,TResult>)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(TState,System.Object)
Invoke(Microsoft.FSharp.Core.FSharpFunc`2<TState,Microsoft.FSharp.Core.FSharpFunc`2<A,TResidue>>,A)
Capture2(Microsoft.FSharp.Core.PrintfImpl/PrintfFuncFactory`4<TTail,TState,TResidue,TResult>)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A,B)
Capture3(Microsoft.FSharp.Core.PrintfImpl/PrintfFuncFactory`4<TTail,TState,TResidue,TResult>)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A,B,C)
OneStepWithArg(System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A)
TwoStepWithArg(System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String)
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
Invoke(A,B)
.ctor(System.Object)
FuncObj()
Make(Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>)
Make(Microsoft.FSharp.Core.FSharpFunc`2<System.Object,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,System.String>>)
Make(Microsoft.FSharp.Core.FSharpFunc`2<System.Object,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,System.String>>>)
normalizePrecision(System.Int32)
adaptPaddedFormatted(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,System.String>,Microsoft.FSharp.Core.FSharpFunc`2<System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>,Microsoft.FSharp.Core.FSharpFunc`2<System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>>)
Invoke(System.Object,System.Int32,System.Int32)
Invoke(System.Object,System.Int32)
Invoke(System.Object,System.Int32)
Invoke(System.Object,System.Int32)
Invoke(System.Object)
Invoke(System.Object)
adaptPadded(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>)
Invoke(System.Object,System.Int32)
Invoke(System.Object)
Invoke(System.Object)
withPaddingFormatted(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,System.String>,System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>,Microsoft.FSharp.Core.FSharpFunc`2<System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>>,Microsoft.FSharp.Core.FSharpFunc`2<System.String,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>>)
withPadding(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>>)
withPadding(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>)
Invoke(System.Int32,System.Object)
isPositive(System.Object)
rightJustifyWithZeroAsPadChar(System.String,System.Boolean,System.Boolean,System.Int32,System.String)
rightJustifyWithSpaceAsPadChar(System.String,System.Boolean,System.Boolean,System.Int32,System.String)
leftJustifyWithGFormat(System.String,System.Boolean,System.Boolean,System.Boolean,System.Int32,System.String,System.Char)
leftJustifyWithNonGFormat(System.String,System.Boolean,System.Boolean,System.Int32,System.String,System.Char)
noJustificationCore(System.String,System.Boolean,System.Boolean,System.String)
noJustification(Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String,System.Boolean)
Invoke(System.Object)
Invoke(System.Object)
eliminateNative(System.Object)
toString(System.Object)
toFormattedString(System.String,System.Object)
toUnsigned(System.Object)
leftJustify(System.Boolean,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String,System.Char,System.Boolean)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
rightJustify(Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>,System.String,System.Char,System.Boolean)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
Invoke(System.Int32,System.Object)
withPadding(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,System.Boolean,Microsoft.FSharp.Core.FSharpFunc`2<System.Object,System.String>)
getValueConverter(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Object)
Invoke(System.Object)
Invoke(System.Object)
Invoke(System.Object)
Invoke(System.Object)
toFormattedString(System.String,System.Object)
isNumber(System.Object)
isInteger(System.Object)
leftJustify(System.Boolean,System.String,System.Char)
Invoke(System.String,System.Int32,System.Object)
Invoke(System.String,System.Int32,System.Object)
rightJustify(System.String,System.Char)
Invoke(System.String,System.Int32,System.Object)
Invoke(System.String,System.Int32,System.Object)
withPadding(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,Microsoft.FSharp.Core.FSharpFunc`2<System.Int32,System.String>,System.String)
Invoke(System.String,System.Object)
ObjectToString(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Object)
InterpolandToString(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Object)
GenericToStringCore(T,Microsoft.FSharp.Text.StructuredPrintfImpl.FormatOptions,System.Reflection.BindingFlags)
GenericToString(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Object,System.Int32,System.Int32)
Invoke(System.Object,System.Int32)
Invoke(System.Object,System.Int32)
Invoke(System.Object)
basicFloatToString(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Int32)
getValueConverter(System.Type,Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(System.Object)
Invoke(System.Object)
Invoke(System.Int32)
extractCurriedArguments(System.Type,System.Int32)
go@1004-3(System.Int32,System.Type[],System.Type,System.Int32)
.ctor(Microsoft.FSharp.Core.FSharpFunc`2<System.String,TResult>,System.Int32)
Finish()
Write(System.String)
WriteT(System.String)
.ctor()
Finish()
Write(System.String)
WriteT(System.String)
.ctor()
Finish()
Write(System.String)
WriteT(System.String)
StringPrintfEnv(System.Int32)
Invoke(System.String)
StringBuilderPrintfEnv(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,TResult>,System.Text.StringBuilder)
Finish()
Write(System.String)
WriteT(Microsoft.FSharp.Core.Unit)
TextWriterPrintfEnv(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,TResult>,System.IO.TextWriter)
Finish()
Write(System.String)
WriteT(Microsoft.FSharp.Core.Unit)
.ctor(System.String)
buildCaptureFunc(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,a,System.Type[],System.Type,System.Tuple`5<System.Object,System.Boolean,System.Type[],System.Type,Microsoft.FSharp.Core.FSharpOption`1<System.Object>>)
buildCaptureFunc$cont@1088(System.Type,System.Type[],a,System.Type,Microsoft.FSharp.Core.FSharpOption`1<System.Object>,System.Boolean,System.Type[],System.Object,System.Int32,System.Int32,Microsoft.FSharp.Core.Unit)
buildStep(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,System.Type[],System.String)
buildStep$cont@1128(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier,System.Type[],System.String,Microsoft.FSharp.Core.Unit)
convFunc@1149(Microsoft.FSharp.Core.PrintfImpl/FormatSpecifier)
Invoke(a,System.Type)
parseSpec(System.Int32&)
parseAndCreateStepsForCapturedFormatAux(Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Core.PrintfImpl/Step>,System.String,System.Int32&)
parseAndCreateStepsForCapturedFormat()
parseAndCreateFuncFactoryAux(Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Core.PrintfImpl/Step>,System.String,System.Type,System.Int32&)
parseAndCreateFunctionFactory()
Invoke(Microsoft.FSharp.Collections.FSharpList`1<System.Object>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.PrintfImpl/PrintfEnv`3<TState,TResidue,TResult>>)
FormatString()
GetStepsForCapturedFormat()
BlockCount()
GetCurriedPrinterFactory()
GetCurriedStringPrinter()
Invoke(Microsoft.FSharp.Core.Unit)
.ctor()
.cctor()
GetParser(Microsoft.FSharp.Core.PrintfFormat`4<TPrinter,TState,TResidue,TResult>)