a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
This report summarizes scanner evidence for nissl-lab/npoi, a C# project with 6,208 GitHub stars. SynthScan examined 823,123 lines of code across 3184 source files, recording 1248 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1198 finding(s).
Are imports declared and package/API names verified? 38 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 1248 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1248 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/DocPartViewer/DocPartViewer/MainForm.Designer.cs | 141 | this.toolStripButton1.Text = "toolStripButton1"; | COMMENT |
| LOW | …DocPartViewer/DocPartViewer/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …tViewer/DocPartViewer/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | …tyleViewer/NPOI.StyleViewer/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …ewer/NPOI.StyleViewer/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | …lSerializationCodeGenerator/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …lizationCodeGenerator/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | scratchpad/HSSF/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | scratchpad/HWPF/Properties/AssemblyInfo.cs | 21 | [assembly: ComVisible(false)] | COMMENT |
| LOW | scratchpad/HWPF/Model/FileInformationBlock.cs | 961 | _longHandler.SizeInBytes() + _fieldHandler.SizeInBytes(); | COMMENT |
| LOW | scratchpad/HWPF/Model/SectionDescriptor.cs | 21 | using NPOI.Util; | COMMENT |
| LOW | scratchpad/HWPF/UserModel/Range.cs | 1141 | COMMENT | |
| LOW | scratchpad/HWPF/UserModel/Range.cs | 1161 | //} | COMMENT |
| LOW | scratchpad/HWPF/UserModel/CharacterProperties.cs | 381 | // cp.field_22_dttmRMark = (DateAndTime)field_22_dttmRMark.Clone(); | COMMENT |
| LOW | scratchpad/HWPF/UserModel/Picture.cs | 341 | // int fileNameSize = LittleEndian.GetShort(dataStream, fileNameSizeOffSet); | COMMENT |
| LOW | scratchpad/HWPF/UserModel/TableProperties.cs | 61 | // { | COMMENT |
| LOW | scratchpad/HWPF/SPRM/ParagraphSprmUncompressor.cs | 441 | // int delSize = grpprl[Offset++]; | COMMENT |
| LOW | scratchpad/HWPF/SPRM/ParagraphSprmUncompressor.cs | 461 | // Byte val = Byte.ValueOf(grpprl[(LittleEndian.INT_SIZE * (AddSize - x)) + x]); | COMMENT |
| LOW | scratchpad/HWPF/SPRM/ParagraphSprmUncompressor.cs | 481 | // tabDescriptors[x] = ((Byte)tabMap.Get(key)).byteValue(); | COMMENT |
| LOW | scratchpad/HWPF/SPRM/ParagraphSprmCompressor.cs | 101 | // offset += oldTabArray.Length; | COMMENT |
| LOW | scratchpad/HWPF/SPRM/TableSprmUncompressor.cs | 201 | COMMENT | |
| LOW | scratchpad/HWPF/SPRM/TableSprmUncompressor.cs | 221 | // else if ((varParam[2] & 0x04) > 0) | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 41 | //public static RecordType DocumentAtom = new RecordType(1001, typeof(DocumentAtom)); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 61 | //public static RecordType DocRoutingSlip = new RecordType(1030, null); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 81 | //public static RecordType ExObjRefAtom = new RecordType(3009, null); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 101 | //public static RecordType FontEmbeddedData = new RecordType(4024, null); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 121 | //public static RecordType RecolorInfoAtom = new RecordType(4071, null); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 141 | //public static RecordType ExWAVAudioLink = new RecordType(4112, null); | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordTypes.cs | 161 | public static RecordType Comment2000Atom = new RecordType(12001, typeof(Comment2000Atom)); | COMMENT |
| LOW | scratchpad/HSLF/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | ooxml/POIXMLDocumentPart.cs | 421 | /// Add a new child POIXMLDocumentPart | COMMENT |
| LOW | ooxml/POIXMLPropertiesTextExtractor.cs | 181 | COMMENT | |
| LOW | ooxml/SS/UserModel/WorkbookFactory.cs | 41 | /// </summary> | COMMENT |
| LOW | ooxml/SS/UserModel/WorkbookFactory.cs | 181 | public static IWorkbook Create(string file, string password) | COMMENT |
| LOW | ooxml/XWPF/Model/XWPFHeaderFooterPolicy.cs | 261 | //{ | COMMENT |
| LOW | ooxml/XWPF/Usermodel/Borders.cs | 601 | ZigZag = (190), | COMMENT |
| LOW | ooxml/XWPF/Usermodel/Borders.cs | 621 | //} | COMMENT |
| LOW | ooxml/XWPF/Usermodel/UnderlinePatterns.cs | 141 | //private int value; | COMMENT |
| LOW | ooxml/XWPF/Usermodel/UnderlinePatterns.cs | 161 | // throw new ArgumentException("Unknown underline pattern: " | COMMENT |
| LOW | ooxml/XWPF/Usermodel/LineSpacingRule.cs | 61 | //public int GetValue() { | COMMENT |
| LOW | ooxml/XWPF/Usermodel/BreakType.cs | 61 | COMMENT | |
| LOW | ooxml/XWPF/Usermodel/BreakType.cs | 81 | // if (bType == null) | COMMENT |
| LOW | ooxml/XWPF/Usermodel/BreakClear.cs | 101 | // foreach (BreakClear p in values()) { | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 221 | // cursor.toParent(); | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 241 | // cursor.toCursor(p2); | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 261 | //private bool isCursorInCmt(XmlCursor cursor) | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 281 | // XmlObject o = null; | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 301 | // if (o is CT_P || o is CT_Tbl) | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 341 | // if (!(o is CT_Row)) | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFComment.cs | 401 | // using (XmlCursor c = ctP.newCursor()) | COMMENT |
| LOW | ooxml/XWPF/Usermodel/TextAlignment.cs | 61 | //value = val; | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFSDTContentCell.cs | 101 | } | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFSDTContentCell.cs | 121 | // } | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 141 | /// Hybrid Multilevel Numbering Definition | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 161 | /// Lowercase Roman Numerals | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 181 | /// Cardinal Text | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 201 | /// Ideographs | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 221 | /// Double Byte Arabic Numerals | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 241 | /// Decimal Numbers Enclosed in a Circle | COMMENT |
| LOW | ooxml/XWPF/Usermodel/XWPFAbstractNum.cs | 261 | /// Initial Zero Arabic Numerals | COMMENT |
| 1117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | scratchpad/HSLF/Model/ShapeTypes.cs | 45 | Field[] f = NPOI.sl.usermodel.ShapeTypes.class.GetFields(); | CODE |
| CRITICAL | ooxml/XWPF/Usermodel/XWPFRun.cs | 194 | var pict = NPOI.OpenXmlFormats.Dml.Picture.CT_Picture.Parse(node, POIXMLDocumentPart.NamespaceManage | CODE |
| CRITICAL⚡ | ooxml/XSSF/UserModel/XSSFFreeform.cs | 157 | ctShape.spPr.custGeom.gdLst.gd.Add(gg); | CODE |
| CRITICAL⚡ | ooxml/XSSF/UserModel/XSSFFreeform.cs | 162 | ctShape.spPr.custGeom.gdLst.gd.Add(gg); | CODE |
| CRITICAL⚡ | ooxml/XSSF/UserModel/XSSFFreeform.cs | 171 | ctShape.spPr.custGeom.cxnLst.cxn.Add(cs); | CODE |
| CRITICAL | ooxml/XSSF/UserModel/XSSFFreeform.cs | 202 | ctShape.spPr.custGeom.pathLst.path.Add(ctp); | CODE |
| CRITICAL | main/HSSF/Record/EscherAggregate.cs | 958 | // // org.apache.poi.hslf.model.Picture.getPictureIndex() | COMMENT |
| CRITICAL | main/HSSF/Model/InternalWorkbook.cs | 2214 | if (System.Threading.Thread.CurrentThread.CurrentCulture.Name.Equals("ru_RU")) | CODE |
| CRITICAL | main/HSSF/UserModel/HSSFCell.cs | 1231 | return NPOI.SS.Formula.Eval.ErrorEval.GetText(((BoolErrRecord)_record).ErrorValue); | CODE |
| CRITICAL | main/SS/Formula/Functions/AggregateFunction.cs | 235 | double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0); | CODE |
| CRITICAL | main/SS/Formula/Functions/AggregateFunction.cs | 292 | double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0); | CODE |
| CRITICAL | testcases/test-data/spreadsheet/failxls.txt | 262 | at NPOI.HSSF.Record.RecordFactoryInputStream.StreamEncryptionInfo.CreateDecryptingStream(Stream original) in f:\Glori | CODE |
| CRITICAL | testcases/test-data/spreadsheet/failxls.txt | 361 | at NPOI.HSSF.Record.RecordFactoryInputStream.StreamEncryptionInfo.CreateDecryptingStream(Stream original) in f:\Glori | CODE |
| CRITICAL | …l/OpenXmlFormats/Spreadsheet/VmlDrawingDocumentTest.cs | 73 | // NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing_Accessor.serializer.Serialize(stream, drawing, NPOI.Ope | COMMENT |
| CRITICAL | …l/OpenXmlFormats/Spreadsheet/VmlDrawingDocumentTest.cs | 209 | // result = (NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing)NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Dr | COMMENT |
| CRITICAL | …l/OpenXmlFormats/Spreadsheet/VmlDrawingDocumentTest.cs | 279 | result = (NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing)NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Draw | CODE |
| CRITICAL | …oxml/OpenXmlFormats/Spreadsheet/DrawingDocumentTest.cs | 73 | NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing_Accessor.serializer.Serialize(stream, drawing, NPOI.OpenX | CODE |
| CRITICAL | …oxml/OpenXmlFormats/Spreadsheet/DrawingDocumentTest.cs | 133 | result = (NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing)NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Draw | CODE |
| CRITICAL | …oxml/OpenXmlFormats/Spreadsheet/DrawingDocumentTest.cs | 203 | result = (NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Drawing)NPOI.OpenXmlFormats.Dml.Spreadsheet.CT_Draw | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …alizationCodeGenerator/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …lizationCodeGenerator/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | .github/workflows/PR.yml | 4 | # This code was generated. | COMMENT |
| HIGH | .github/workflows/CI.yml | 4 | # This code was generated. | COMMENT |
| HIGH | testcases/main/Util/TestIOUtils.cs | 198 | /// as requested. This tests that the fallback to read() works. | COMMENT |
| HIGH | testcases/main/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …rks/NPOI.Benchmarks/SetCellStylePropertiesBenchmark.cs | 46 | // ── HSSF workbook ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rks/NPOI.Benchmarks/SetCellStylePropertiesBenchmark.cs | 55 | // ── XSSF workbook ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rks/NPOI.Benchmarks/SetCellStylePropertiesBenchmark.cs | 64 | // ── Style property maps ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …rks/NPOI.Benchmarks/SetCellStylePropertiesBenchmark.cs | 97 | // ── Benchmarks ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/PR.yml | 1 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/PR.yml | 15 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/CI.yml | 1 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/CI.yml | 15 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | main/SS/Util/StyleKey.cs | 31 | // ── shorts ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | main/SS/Util/StyleKey.cs | 43 | // ── int (font index stored as int in property map) ──────────────────── | COMMENT |
| MEDIUM | main/SS/Util/StyleKey.cs | 46 | // ── enums stored as int ────────────────────────────────────────────── | COMMENT |
| MEDIUM | main/SS/Util/StyleKey.cs | 58 | // ── bools packed into a single byte ────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scratchpad/HSLF/Model/PPGraphics2D.cs | 1759 | //TODO: implement more dashing styles | COMMENT |
| LOW | scratchpad/HSLF/Model/ShapePainter.cs | 67 | //TODO: implement gradient and texture fill patterns | COMMENT |
| LOW | scratchpad/HSLF/Model/ShapePainter.cs | 79 | //TODO: implement more dashing styles | COMMENT |
| LOW | ooxml/XSSF/Extractor/XSSFExportToXml.cs | 210 | // TODO: implement filtering management in xpath | COMMENT |
| LOW | ooxml/XSSF/Streaming/SXSSFCell.cs | 487 | //TODO: implement correctly | COMMENT |
| LOW | ooxml/XSSF/Binary/XSSFBSheetHandler.cs | 44 | private bool _formulasNotResults;//TODO: implement this | CODE |
| LOW | OpenXmlFormats/Drawing/ShapeEffects.cs | 50 | //TODO: implement http://www.schemacentral.com/sc/ooxml/t-a_CT_Blip.html | COMMENT |
| LOW | …cases/ooxml/XSSF/Streaming/SXSSFCreationHelperTests.cs | 24 | //TODO: Add tests. | COMMENT |
| LOW | …cases/ooxml/XSSF/Streaming/SXSSFEvaluationCellTests.cs | 24 | //TODO:Add tests. | COMMENT |
| LOW | …s/ooxml/XSSF/Streaming/SXSSFEvaluationWorkbookTests.cs | 24 | //TODO:Add tests | COMMENT |
| LOW | …ses/ooxml/XSSF/Streaming/SXSSFFormulaEvaluatorTests.cs | 24 | //TODO:Add tests. | COMMENT |
| LOW | testcases/ooxml/XSSF/Streaming/SXSSFSheetTests.cs | 24 | //TODO: Add tests. | COMMENT |
| LOW | testcases/main/POIFS/Storage/TestHeaderBlockWriting.cs | 66 | // TODO: Add test logic here | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/NPOI.Benchmarks/AutoSizeColumnBenchmark.cs | 11 | private static readonly string[] lorem = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t | CODE |
| LOW | benchmarks/NPOI.Benchmarks/AutoSizeColumnBenchmark.cs | 11 | private static readonly string[] lorem = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t | CODE |
| LOW | benchmarks/NPOI.Benchmarks/AutoSizeColumnBenchmark.cs | 63 | private static readonly string[] lorem = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t | CODE |
| LOW | benchmarks/NPOI.Benchmarks/AutoSizeColumnBenchmark.cs | 63 | private static readonly string[] lorem = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod t | CODE |
| LOW | OpenXmlFormats/Wordprocessing/CustomXml.cs | 384 | if (childNode.LocalName == "placeholder") | CODE |
| LOW | OpenXmlFormats/Wordprocessing/CustomXml.cs | 399 | this.placeholder.Write(sw, "placeholder"); | CODE |
| LOW | OpenXmlFormats/Wordprocessing/Sdt.cs | 1799 | [XmlElement("placeholder", typeof(CT_Placeholder), Order = 0)] | CODE |
| LOW | OpenXmlFormats/Wordprocessing/Sdt.cs | 1884 | else if (childNode.LocalName == "placeholder") | CODE |
| LOW | OpenXmlFormats/Wordprocessing/Sdt.cs | 1976 | placeholder.Write(sw, "placeholder"); | CODE |
| LOW | testcases/ooxml/SS/Util/TestSheetUtilAutoSize.cs | 206 | string[] words = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor".Split(' '); | CODE |
| LOW | testcases/ooxml/SS/Util/TestSheetUtilAutoSize.cs | 206 | string[] words = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor".Split(' '); | CODE |
| LOW | testcases/ooxml/XWPF/TestDocumentProtection.cs | 143 | r1.SetText("Lorem ipsum dolor sit amet."); | CODE |
| LOW | testcases/ooxml/XWPF/TestDocumentProtection.cs | 143 | r1.SetText("Lorem ipsum dolor sit amet."); | CODE |
| LOW | testcases/ooxml/XWPF/Extractor/TestXWPFWordExtractor.cs | 52 | "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc at risus vel erat tempus posuere. Ae | CODE |
| LOW | testcases/ooxml/XWPF/Extractor/TestXWPFWordExtractor.cs | 52 | "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc at risus vel erat tempus posuere. Ae | CODE |
| LOW | testcases/ooxml/XWPF/UserModel/TestChangeTracking.cs | 61 | r1.SetText("Lorem ipsum dolor sit amet."); | CODE |
| LOW | testcases/ooxml/XWPF/UserModel/TestChangeTracking.cs | 61 | r1.SetText("Lorem ipsum dolor sit amet."); | CODE |
| LOW | testcases/openxml4net/TestPackageCoreProperties.cs | 295 | ClassicAssert.AreEqual("Lorem Ipsum", props.GetTitleProperty()); | CODE |
| LOW | testcases/openxml4net/TestPackageCoreProperties.cs | 320 | ClassicAssert.AreEqual("Lorem Ipsum", props.GetTitleProperty()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scratchpad/HSLF/Record/RecordContainer.cs | 343 | // Don't forget to knock 8 more off, since we don't include the | COMMENT |
| LOW | scratchpad/HSLF/Record/RecordContainer.cs | 375 | // Don't forget to knock 8 more off, since we don't include the | COMMENT |