Skip to content

Simplify and improve pdfium native lib loading #194

Simplify and improve pdfium native lib loading

Simplify and improve pdfium native lib loading #194

Triggered via pull request October 12, 2023 21:16
Status Success
Total duration 1h 1m 53s
Artifacts 6
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: pull_request
Matrix: test
Publish tests results
2m 36s
Publish tests results
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
SonarCloud: src/PDFtoImage/PdfiumViewer/PdfFile.cs#L194
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L575
Remove the unused private field 'Release'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L577
Remove the unused private field 'FFI_Invalidate'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L579
Remove the unused private field 'FFI_OutputSelectedRect'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L581
Remove the unused private field 'FFI_SetCursor'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L583
Remove the unused private field 'FFI_SetTimer'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L585
Remove the unused private field 'FFI_KillTimer'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L587
Remove the unused private field 'FFI_GetLocalTime'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L589
Remove the unused private field 'FFI_OnChange'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
SonarCloud: src/PDFtoImage/PdfiumViewer/NativeMethods.Pdfium.cs#L591
Remove the unused private field 'FFI_GetPage'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/FrameworkTests/MauiApp/MainPage.xaml.cs#L18
This call site is reachable on: 'iOS' 11.0 and later, 'maccatalyst' 11.0 and later. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/FrameworkTests/MauiApp/MainPage.xaml.cs#L18
This call site is reachable on: 'MacCatalyst' 13.1 and later. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/FrameworkTests/AspNetCore/Program.cs#L25
This call site is reachable on all platforms. 'Conversion.ToImage(Stream, string?, int, int, int?, int?, bool, bool, bool, PdfRotation)' is only supported on: 'Android' 31.0 and later, 'Linux', 'macOS/OSX', 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

Artifacts

Produced during runtime
Name Size
Library assemblies Expired
110 MB
NuGet packages Expired
340 KB
Test assemblies Expired
1.71 GB
Test results (macos-latest) Expired
1.39 MB
Test results (ubuntu-latest) Expired
1.38 MB
Test results (windows-latest) Expired
2.65 MB