Repository Analysis

Slicer/Slicer

Multi-platform, free open source software for visualization and image computing.

32.1 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Slicer/Slicer, a C++ project with 2,532 GitHub stars. SynthScan v2.0 examined 290,169 lines of code across 2040 source files, recording 3823 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 32.1 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

32.1
Adjusted Score
32.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.5K
Stars
C++
Language
290.2K
Lines of Code
2.0K
Files
3.8K
Pattern Hits
2026-07-14
Scan Date
0.14
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 288MEDIUM 1815LOW 1719

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3823 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1759 hits · 6037 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt97#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt99#------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt108#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt110#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt113#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt115#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt120#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt126#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt128#------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt142#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt144#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt150#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt152#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt162#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt164#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt168#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt171#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt175#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt177#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt181#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt183#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt193#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt195#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt205#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt207#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt213#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt215#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt236#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt238#------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt244#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt246#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt249#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt251#------------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt402#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt404#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt407#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt409#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt467#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt470#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt480#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt482#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt504#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt506#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt513#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt515#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt521#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt523#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt536#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt538#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt548#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt550#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt553#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt555#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt575#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt577#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt582#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt584#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt590#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt592#-----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt742#-----------------------------------------------------------------------------COMMENT
1699 more matches not shown…
Cross-File Repetition278 hits · 1390 pts
SeverityFileLineSnippetContext
HIGHDocs/developer_guide/script_repository/webserver.md0initialize a new request handler instance. :param logmessage: an optional external handle for message logging.STRING
HIGH…/Scripted/WebServer/WebServerLib/BaseRequestHandler.py0initialize a new request handler instance. :param logmessage: an optional external handle for message logging.STRING
HIGH…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py0initialize a new request handler instance. :param logmessage: an optional external handle for message logging.STRING
HIGH…mentEditorScriptedSegmentEditorEffectModuleTemplate.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…adableModuleTemplate/ScriptedLoadableModuleTemplate.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHUtilities/Templates/Modules/Scripted/TemplateKey.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…criptedSegmentEditorEffect/SegmentEditorTemplateKey.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…ing/Python/BRAINSFitRigidRegistrationCrashIssue4139.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHApplications/SlicerApp/Testing/Python/AtlasTests.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…ing/Python/ViewControllersSliceInterpolationBug1926.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…Testing/Python/SlicerRestoreSceneViewCrashIssue3445.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…rApp/Testing/Python/SlicerTransformInteractionTest1.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…lications/SlicerApp/Testing/Python/SlicerBoundsTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…p/Testing/Python/SlicerMRBSaveRestoreCheckPathsTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHApplications/SlicerApp/Testing/Python/Slicer4Minute.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…App/Testing/Python/SlicerMRBMultipleSaveRestoreTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHApplications/SlicerApp/Testing/Python/WebEngine.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…plications/SlicerApp/Testing/Python/sceneImport2428.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHApplications/SlicerApp/Testing/Python/SliceLinkLogic.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…cerApp/Testing/Python/SlicerOrientationSelectorTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…tions/SlicerApp/Testing/Python/RSNA2012ProstateDemo.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…Testing/Python/SlicerMRBMultipleSaveRestoreLoopTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…eRendering/Testing/Python/VolumeRenderingSceneClose.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…ws/Testing/Python/AddStorableDataAfterSceneViewTest.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…/Scripted/VectorToScalarVolume/VectorToScalarVolume.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/SegmentStatistics/SegmentStatistics.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/ScreenCapture/ScreenCapture.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/SampleData/SampleData.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…ules/Scripted/CropVolumeSequence/CropVolumeSequence.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/DICOMPatcher/DICOMPatcher.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/LineProfile/LineProfile.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGHModules/Scripted/Endoscopy/Endoscopy.py0uses scriptedloadablemodule base class, available at: https://github.com/slicer/slicer/blob/main/base/python/slicer/scriSTRING
HIGH…mentEditorScriptedSegmentEditorEffectModuleTemplate.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…adableModuleTemplate/ScriptedLoadableModuleTemplate.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHUtilities/Templates/Modules/Scripted/TemplateKey.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…criptedSegmentEditorEffect/SegmentEditorTemplateKey.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ing/Python/BRAINSFitRigidRegistrationCrashIssue4139.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHApplications/SlicerApp/Testing/Python/AtlasTests.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ing/Python/ViewControllersSliceInterpolationBug1926.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…Testing/Python/SlicerRestoreSceneViewCrashIssue3445.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…p/Testing/Python/SlicerMRBSaveRestoreCheckPathsTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHApplications/SlicerApp/Testing/Python/Slicer4Minute.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ns/SlicerApp/Testing/Python/CurvedPlanarReformation.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…App/Testing/Python/SlicerMRBMultipleSaveRestoreTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHApplications/SlicerApp/Testing/Python/WebEngine.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…plications/SlicerApp/Testing/Python/sceneImport2428.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHApplications/SlicerApp/Testing/Python/SliceLinkLogic.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…cerApp/Testing/Python/SlicerOrientationSelectorTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…tions/SlicerApp/Testing/Python/RSNA2012ProstateDemo.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…Testing/Python/SlicerMRBMultipleSaveRestoreLoopTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…eRendering/Testing/Python/VolumeRenderingSceneClose.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ring/Testing/Python/VolumeRenderingThreeDOnlyLayout.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…ws/Testing/Python/AddStorableDataAfterSceneViewTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…e/Markups/Testing/Python/AddManyMarkupsFiducialTest.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGH…/Scripted/VectorToScalarVolume/VectorToScalarVolume.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
HIGHModules/Scripted/SegmentStatistics/SegmentStatistics.py0this is the test case for your scripted module. uses scriptedloadablemoduletest base class, available at: https://githubSTRING
218 more matches not shown…
Over-Commented Block1113 hits · 1084 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# ==== Define cmake build policies that affect compilation and linkage default behaviorsCOMMENT
LOWCMakeLists.txt41# happen for any of the dependencies:COMMENT
LOWCMakeLists.txt801 endforeach()COMMENT
LOWCMakeLists.txt901#-----------------------------------------------------------------------------COMMENT
LOWCMakeLists.txt921# Clear SlicerTargets.cmakeCOMMENT
LOWCMakeLists.txt981#-----------------------------------------------------------------------------COMMENT
LOWCMakeLists.txt1081 set(Slicer_VTK_WRAP_HIERARCHY_DIR ${Slicer_BINARY_DIR})COMMENT
LOWCMakeLists.txt1141endforeach()COMMENT
LOWCMakeLists.txt1241COMMENT
LOWCMakeLists.txt1261#COMMENT
LOWCMake/LastConfigureStep/CMakeLists.txt1################################################################################COMMENT
LOWCMake/LastConfigureStep/CMakeLists.txt21# The commands in this directory are intended to be executed asCOMMENT
LOWDocs/conf.py1#!/usr/bin/env python3COMMENT
LOWDocs/conf.py201# A string of reStructuredText that will be included at the beginning of every source file that is read.COMMENT
LOWDocs/conf.py261 # 'pointsize': '10pt',COMMENT
LOWDocs/conf.py301COMMENT
LOWDocs/developer_guide/style_guide.md161COMMENT
LOWLibs/vtkTeem/vtkTeemNRRDWriter.h1COMMENT
LOWLibs/vtkTeem/CMakeLists.txt1project(vtkTeem)COMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorMathematics.h141 /// Output RGB color according to colormapping of mode, withCOMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorMathematics.h161 /// We transform the tensor orientation by this matrixCOMMENT
LOWLibs/vtkTeem/vtkTeemNRRDReader.h41COMMENT
LOWLibs/vtkTeem/vtkTeemNRRDReader.h61 vtkMatrix4x4* GetRasToIjkMatrix();COMMENT
LOWLibs/vtkTeem/vtkTeemNRRDReader.h121COMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorGlyph.h21#include <vtkVersion.h>COMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorGlyph.h41/// can turn off scaling completely if desired. The boolean variableCOMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorGlyph.h61///COMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorGlyph.h121 /// This is analogous to setting the actor's UserMatrixCOMMENT
LOWLibs/vtkTeem/vtkDiffusionTensorGlyph.h141 /// 2) Remove scaling and translation from this matrix; weCOMMENT
LOWLibs/vtkITK/vtkITKLabelShapeStatistics.h21#ifndef __vtkITKLabelShapeStatistics_hCOMMENT
LOWLibs/vtkITK/vtkITKImageWriter.h21#include "vtkMatrix4x4.h"COMMENT
LOWLibs/vtkITK/vtkITKLevelTracingImageFilter.h1COMMENT
LOWLibs/vtkITK/vtkITKImageToImageFilterF2F2.h121 this->append = vtkImageAppendComponents::New();COMMENT
LOWLibs/vtkITK/vtkITKArchetypeImageSeriesReader.h21// VTK includesCOMMENT
LOWLibs/vtkITK/vtkITKArchetypeImageSeriesReader.h41/// Concrete subclasses:COMMENT
LOWLibs/vtkITK/vtkITKLevelTracing3DImageFilter.h1COMMENT
LOWLibs/vtkITK/vtkITKImageToImageFilter.h21#include <itkCommand.h>COMMENT
LOWLibs/vtkITK/itkLevelTracingImageFilter.h121 IndexType m_Seed;COMMENT
LOWLibs/vtkITK/vtkITKUtility.h101COMMENT
LOWLibs/MRML/Core/vtkMRMLClipModelsNode.h21///COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h61 PBRInterpolationCOMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h101 /// Convert between scalar range flag type id and stringCOMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h141 /// Set the color of the display node.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h161COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h181 vtkGetMacro(PointSize, double);COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h201 /// \sa Opacity, SetOpacity()COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h221 /// Get the diffuse coef of the display node.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h241 /// Only used in PBR interpolation mode.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h261 vtkBooleanMacro(Visibility, int);COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h281 /// GetVisibility2D(),COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h301 /// Get the visibility of the edges.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h321 /// Get the slice intersection visibility of the display node.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h341 /// \sa SliceIntersectionThickness, GetSliceIntersectionThickness()COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h361 //@}COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h381COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h401 /// Set the vector visibility of the display node.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h421 /// Set the tensor visibility of the display node.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h441 /// and its ActiveAttributeLocationCOMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h461 /// Get the interpolation of the surface.COMMENT
LOWLibs/MRML/Core/vtkMRMLDisplayNode.h481 //@{COMMENT
1053 more matches not shown…
Unused Imports201 hits · 200 pts
SeverityFileLineSnippetContext
LOWDocs/_ext/github_alerts.py1CODE
LOW…mentEditorScriptedSegmentEditorEffectModuleTemplate.py7CODE
LOW…ntEditorEffectModuleTemplateLib/SegmentEditorEffect.py9CODE
LOW…riptedSegmentEditorEffectModuleTemplateLib/__init__.py1CODE
LOW…riptedSegmentEditorEffectModuleTemplateLib/__init__.py2CODE
LOW…riptedSegmentEditorEffectModuleTemplateLib/__init__.py4CODE
LOW…adableModuleTemplate/ScriptedLoadableModuleTemplate.py9CODE
LOWUtilities/Scripts/SlicerWizard/GithubHelper.py8CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py36CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py36CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py38CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py39CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py40CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py41CODE
LOWUtilities/Scripts/SlicerWizard/__init__.py42CODE
LOWUtilities/Scripts/SlicerWizard/ExtensionWizard.py46CODE
LOWUtilities/Templates/Modules/Scripted/TemplateKey.py10CODE
LOW…criptedSegmentEditorEffect/SegmentEditorTemplateKey.py7CODE
LOW…ect/SegmentEditorTemplateKeyLib/SegmentEditorEffect.py9CODE
LOW…ntEditorEffect/SegmentEditorTemplateKeyLib/__init__.py1CODE
LOW…ntEditorEffect/SegmentEditorTemplateKeyLib/__init__.py2CODE
LOW…ntEditorEffect/SegmentEditorTemplateKeyLib/__init__.py4CODE
LOW…ions/SlicerApp/Testing/Python/TwoCLIsInParallelTest.py4CODE
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py6CODE
LOW…ing/Python/BRAINSFitRigidRegistrationCrashIssue4139.py4CODE
LOWApplications/SlicerApp/Testing/Python/AtlasTests.py5CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py8CODE
LOW…ing/Python/ViewControllersSliceInterpolationBug1926.py5CODE
LOW…lications/SlicerApp/Testing/Python/DICOMPluginTests.py5CODE
LOW…Testing/Python/SlicerRestoreSceneViewCrashIssue3445.py2CODE
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py26CODE
LOW…rApp/Testing/Python/SlicerTransformInteractionTest1.py8CODE
LOW…lications/SlicerApp/Testing/Python/SlicerBoundsTest.py4CODE
LOW…p/Testing/Python/SlicerMRBSaveRestoreCheckPathsTest.py6CODE
LOW…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py5CODE
LOW…erApp/Testing/Python/SlicerOptionIgnoreSlicerRCTest.py25CODE
LOW…lications/SlicerApp/Testing/Python/ScenePerformance.py6CODE
LOW…tions/SlicerApp/Testing/Python/CLISerializationTest.py26CODE
LOWApplications/SlicerApp/Testing/Python/Slicer4Minute.py5CODE
LOWApplications/SlicerApp/Testing/Python/CLIEventTest.py5CODE
LOWApplications/SlicerApp/Testing/Python/DICOMReaders.py8CODE
LOW…esting/Python/ScriptedModuleCleanupTestHelperModule.py3CODE
LOW…ns/SlicerApp/Testing/Python/CurvedPlanarReformation.py3CODE
LOW…rApp/Testing/Python/SlicerOptionModulesToIgnoreTest.py26CODE
LOW…Python/SlicerStartupPreserveSysPathTestHelperModule.py11CODE
LOW…licerApp/Testing/Python/FiducialLayoutSwitchBug1914.py7CODE
LOW…App/Testing/Python/SlicerMRBMultipleSaveRestoreTest.py2CODE
LOWApplications/SlicerApp/Testing/Python/WebEngine.py5CODE
LOW…cerApp/Testing/Python/SlicerDisplayNodeSequenceTest.py2CODE
LOW…rApp/Testing/Python/SlicerOptionDisableSettingsTest.py24CODE
LOW…lications/SlicerApp/Testing/Python/ShaderProperties.py7CODE
LOW…sting/Python/SlicerStartupCompletedTestHelperModule.py4CODE
LOW…plications/SlicerApp/Testing/Python/sceneImport2428.py6CODE
LOWApplications/SlicerApp/Testing/Python/SliceLinkLogic.py5CODE
LOW…ications/SlicerApp/Testing/Python/TwoCLIsInARowTest.py4CODE
LOW…cerApp/Testing/Python/SlicerOrientationSelectorTest.py4CODE
LOW…tions/SlicerApp/Testing/Python/RSNA2012ProstateDemo.py2CODE
LOWApplications/SlicerApp/Testing/Python/UtilTest.py7CODE
LOW…Testing/Python/SlicerMRBMultipleSaveRestoreLoopTest.py4CODE
LOW…SlicerApp/Testing/Python/SlicerStartupCompletedTest.py25CODE
141 more matches not shown…
Hyper-Verbose Identifiers132 hits · 121 pts
SeverityFileLineSnippetContext
LOWDocs/conf.py82def _extract_slicer_xy_version(slicer_src_dir):CODE
LOWDocs/conf.py113def _get_apidocs_doxygen_version():CODE
LOWDocs/conf.py368 def _hide_edit_link_on_special_pages(app, pagename, templatename, context, doctree):CODE
LOWDocs/developer_guide/script_repository/webserver.md32class ExampleRequestHandler(WebServerLib.BaseRequestHandler):CODE
LOWDocs/developer_guide/script_repository/markups.md213def _calculate_residual_sphere(parameters, x_values, y_values, z_values):CODE
LOWDocs/developer_guide/script_repository/transforms.md131def read_itk_affine_transform(filename):CODE
LOWUtilities/Scripts/python_package_updater.py51def external_project_filepaths(directory):CODE
LOWUtilities/Scripts/python_package_updater.py58def hint_validation_mismatch_summary(mismatches):CODE
LOWUtilities/Scripts/python_package_updater.py63def validate_external_project_python_package_hints(directory):CODE
LOWUtilities/Scripts/python_package_updater.py95def update_external_project_python_packages(packages_to_update, directory, cpython_tag):CODE
LOWUtilities/Scripts/update_translations.py121def restore_patched_python_files(source_files, root_dir):CODE
LOWUtilities/Scripts/update_translations.py272def _generate_translation_header_from_cli_xml(cli_xml_filename):CODE
LOWUtilities/Scripts/update_translations.py346def extract_translatable_from_cli_modules(input_paths, exclude_filenames=None):CODE
LOWUtilities/Scripts/update_translations.py365def extract_translatable_from_json_files(input_paths):CODE
LOWUtilities/Scripts/update_translations.py386def _get_schema_path_from_json_file(filename):CODE
LOWUtilities/Scripts/update_translations.py428def _get_translatable_property_names_from_json_file(filename):CODE
LOWUtilities/Scripts/update_translations.py475def _get_string_values_from_json(data, keys):CODE
LOWUtilities/Scripts/update_translations.py489def _generate_translation_header_from_json_file(filename, property_names):CODE
LOWUtilities/Scripts/SlicerWizard/WizardHelpFormatter.py16 def _format_action_invocation(self, *args):CODE
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py46def collect_startup_times_normal(output_file, drop_cache=False, display_output=False):CODE
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py61def collect_startup_times_overall(output_file, drop_cache=False, display_output=False):CODE
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py149def collect_startup_times_including_one_module(output_file, module_list, drop_cache=False, display_output=False):STRING
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py176def collect_startup_times_excluding_one_module(output_file, module_list, drop_cache=False, display_output=False):STRING
LOW…ations/SlicerApp/Testing/Python/MeasureStartupTimes.py203def collect_startup_times_modules_to_load(output_file, modules_to_load, module_list, drop_cache=False, display_output=FaSTRING
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py141 def test_unregister_existing_markups(self):STRING
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py183 def test_unregister_additional_options_widgets(self):CODE
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py205 def test_register_additional_options_widgets(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py40 def test_with_no_segment_editor_node_is_invalid(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py44 def test_with_no_segmentation_node_is_invalid(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py48 def test_with_segment_editor_and_segmentation_node_is_valid(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py51 def test_can_create_default_modifier_label_map_matching_source_volume(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py59 def test_can_add_segments_to_segmentation_node(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py69 def test_added_segment_is_selected_automatically(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py78 def test_can_remove_segments_from_segmentation_node(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py91 def test_on_remove_selects_next_if_valid(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py97 def test_on_remove_selects_previous_if_next_not_valid(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py103 def test_can_undo_redo_changes_to_segmentation_node(self):CODE
LOW…Segmentations/Testing/Python/SegmentEditorLogicTest.py116 def test_can_apply_modifier_labelmap_changes_to_segmentation(self):CODE
LOWModules/Scripted/WebServer/WebServer.py324 class DummyRequestHandler:CODE
LOW…/Scripted/WebServer/WebServerLib/BaseRequestHandler.py12class BaseRequestHandler(abc.ABC):CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py11class DICOMRequestHandler(BaseRequestHandler):CODE
LOW…ed/WebServer/WebServerLib/StaticPagesRequestHandler.py11class StaticPagesRequestHandler(BaseRequestHandler):CODE
LOW…cripted/WebServer/WebServerLib/SlicerRequestHandler.py23class SlicerRequestHandler(BaseRequestHandler):CODE
LOWBase/Python/slicer/packaging.py74def load_pyproject_dependencies(path: str | Path) -> list[Requirement]:CODE
LOWBase/Python/slicer/packaging.py284def _find_updated_imported_packages(CODE
LOWBase/Python/slicer/packaging.py720def _pip_install_with_busy_cursor(CODE
LOWBase/Python/slicer/packaging.py793def _pip_install_with_statusbar(CODE
LOWBase/Python/slicer/packaging.py901def _pip_install_with_skips_dialog(CODE
LOWBase/Python/slicer/packaging.py925def _pip_install_with_skips_busy_cursor(CODE
LOWBase/Python/slicer/tests/test_slicer_util_pip.py14 def test_delegates_positional_arg(self):CODE
LOWBase/Python/slicer/tests/test_slicer_util_pip.py36 def test_delegates_positional_arg(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py130 def test_parameter_pack_validation(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py151 def test_parameter_pack_nesting(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py162 def test_parameter_pack_custom_init_eq_repr_str(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py234 def test_serialization_of_nested(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py268 def test_serialization_list_of_parameter_pack(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py287 def test_serialization_with_node(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py313 def test_parameter_pack_reserved_error(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py360 def test_parameter_pack_serializer_remove(self):CODE
LOWBase/Python/slicer/tests/test_slicer_parameter_pack.py495 def test_parameter_pack_invariants(self):CODE
72 more matches not shown…
Deep Nesting120 hits · 112 pts
SeverityFileLineSnippetContext
LOWDocs/conf.py82CODE
LOWUtilities/Scripts/genqrc.py9CODE
LOWUtilities/Scripts/update_translations.py151CODE
LOWUtilities/Scripts/update_translations.py346CODE
LOWUtilities/Scripts/update_translations.py365CODE
LOWUtilities/Scripts/update_translations.py428CODE
LOWUtilities/Scripts/update_translations.py475CODE
LOWUtilities/Scripts/update_translations.py447CODE
LOWUtilities/Scripts/SEMToMediaWiki.py170CODE
LOWUtilities/Scripts/SEMToMediaWiki.py270CODE
LOWUtilities/Scripts/SlicerWizard/CMakeParser.py281CODE
LOWUtilities/Scripts/SlicerWizard/ExtensionProject.py87CODE
LOWUtilities/Scripts/SlicerWizard/TemplateManager.py350CODE
LOWUtilities/Scripts/SlicerWizard/ExtensionDescription.py20CODE
LOWUtilities/Scripts/SlicerWizard/ExtensionWizard.py359CODE
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py475CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py459CODE
LOW…p/Testing/Python/SlicerMRBSaveRestoreCheckPathsTest.py84CODE
LOW…lications/SlicerApp/Testing/Python/ScenePerformance.py72CODE
LOWApplications/SlicerApp/Testing/Python/DICOMReaders.py68CODE
LOWApplications/SlicerApp/Testing/Python/DICOMReaders.py213CODE
LOW…dules/Loadable/Tables/Testing/Python/TablesSelfTest.py204CODE
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py687CODE
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py465CODE
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py552CODE
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py756CODE
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py1053CODE
LOW…Python/SegmentEditorEffects/SegmentEditorDrawEffect.py55CODE
LOW…Python/SegmentEditorEffects/SegmentEditorDrawEffect.py124CODE
LOW…Python/SegmentEditorEffects/SegmentEditorDrawEffect.py193CODE
LOW…n/SegmentEditorEffects/SegmentEditorSmoothingEffect.py200CODE
LOW…n/SegmentEditorEffects/SegmentEditorSmoothingEffect.py282CODE
LOW…hon/SegmentEditorEffects/SegmentEditorLogicalEffect.py114CODE
LOW…hon/SegmentEditorEffects/SegmentEditorLogicalEffect.py185CODE
LOW…egmentEditorEffects/SegmentEditorLevelTracingEffect.py65CODE
LOW…hon/SegmentEditorEffects/SegmentEditorIslandsEffect.py252CODE
LOW…cts/AbstractScriptedSegmentEditorAutoCompleteEffect.py79CODE
LOW…cts/AbstractScriptedSegmentEditorAutoCompleteEffect.py434CODE
LOWModules/Scripted/DICOMLib/DICOMProcesses.py361CODE
LOWModules/Scripted/DICOMLib/DICOMProcesses.py450CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py259CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py504CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py653CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py845CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py926CODE
LOWModules/Scripted/DICOMLib/DICOMRecentActivityWidget.py76CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py44CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py360CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py529CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py560CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py614CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py811CODE
LOWModules/Scripted/SegmentStatistics/SegmentStatistics.py549CODE
LOWModules/Scripted/SegmentStatistics/SegmentStatistics.py649CODE
LOW…atisticsPlugins/ScalarVolumeSegmentStatisticsPlugin.py149CODE
LOW…ntStatisticsPlugins/LabelmapSegmentStatisticsPlugin.py47CODE
LOW…ntStatisticsPlugins/LabelmapSegmentStatisticsPlugin.py395CODE
LOWModules/Scripted/ScreenCapture/ScreenCapture.py637CODE
LOWModules/Scripted/ScreenCapture/ScreenCapture.py1199CODE
LOWModules/Scripted/SampleData/SampleData.py373CODE
60 more matches not shown…
Excessive Try-Catch Wrapping78 hits · 90 pts
SeverityFileLineSnippetContext
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py293 except Exception as e:CODE
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py396 except Exception as e:CODE
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py469 except Exception as e:CODE
LOW…plications/SlicerApp/Testing/Python/RSNAVisTutorial.py543 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py304 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py384 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py453 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/JRC2013Vis.py522 except Exception as e:CODE
LOW…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py206 except Exception as e:CODE
LOW…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py304 except Exception as e:CODE
LOW…ications/SlicerApp/Testing/Python/RSNAQuantTutorial.py428 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/DICOMReaders.py197 except Exception as e:CODE
LOWApplications/SlicerApp/Testing/Python/DICOMReaders.py310 except Exception as e:CODE
LOW…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py106 except Exception as e:STRING
LOW…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py157 except Exception as e:STRING
MEDIUM…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py62def load(self, properties):CODE
MEDIUM…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py146def write(self, properties):CODE
LOW…ws/Testing/Python/AddStorableDataAfterSceneViewTest.py113 except Exception as e:CODE
MEDIUM…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py182def section_LoadDicomDataWitchBatchProcessing(self):CODE
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py213 except Exception as e:CODE
LOW…chy/Widgets/Python/SubjectHierarchyPlugins/__init__.py17 except Exception as e:CODE
MEDIUM…/Python/CustomColorTableSceneViewRestoreTestBug3992.py51 print("Error writing out file ", colorStorageNode.GetFileName())CODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py40 print("Error in checking MRHead geometry against itself")CODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py52 print("Error in calculating precision from epsilon of ", volumesLogic.GetCompareVolumeGeometryEpsilon(), ", CODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py56 print("Error in checking MRHead geometry against itself with strict epsilon")CODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py70 print("Error in checking MRHead geometry against itself with epsilon ", volumesLogic.GetCompareVolumeGeometrCODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py82 print("Error in comparing MRHead geometry against a label map of itself with epsilon", volumesLogic.GetCompaCODE
MEDIUM…es/Testing/Python/VolumesLogicCompareVolumeGeometry.py100 print("Error in comparing MRHead geometry against an updated clone, with epsilon", volumesLogic.GetCompareVoCODE
LOW…/EditorEffects/Python/SegmentEditorEffects/__init__.py54 except Exception as e:CODE
LOW…gmentations/Testing/Python/SegmentationsModuleTest1.py81 except Exception as e:CODE
MEDIUM…gmentations/Testing/Python/SegmentationsModuleTest1.py68def TestSection_RetrieveInputData(self):CODE
MEDIUM…gmentations/Testing/Python/SegmentationsModuleTest2.py69def TestSection_RetrieveInputData(self):CODE
LOW…gmentations/Testing/Python/SegmentationsModuleTest2.py82 except Exception as e:CODE
LOWModules/Scripted/DICOMLib/DICOMSendDialog.py97 except Exception:CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py494 except Exception as e:CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py833 except Exception as e:CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py1076 except Exception as e:CODE
LOWModules/Scripted/DICOMLib/DICOMUtils.py1081 except Exception as e:CODE
LOWModules/Scripted/DICOMLib/DICOMBrowser.py539 except Exception:CODE
LOWModules/Scripted/SelfTests/SelfTests.py155 except Exception as e:CODE
LOW…ules/Scripted/ImportItkSnapLabel/ImportItkSnapLabel.py55 except Exception as e:CODE
LOW…ules/Scripted/ImportItkSnapLabel/ImportItkSnapLabel.py86 except Exception as e:CODE
MEDIUM…ules/Scripted/ImportItkSnapLabel/ImportItkSnapLabel.py59def load(self, properties):CODE
LOWModules/Scripted/ScreenCapture/ScreenCapture.py794 except Exception as e:CODE
LOWModules/Scripted/SampleData/SampleData.py346 except Exception as e:STRING
LOWModules/Scripted/DataProbe/DataProbe.py344 except Exception:CODE
MEDIUMModules/Scripted/DataProbe/DataProbe.py240def _roundInt(value):CODE
LOW…ules/Scripted/DICOMPlugins/DICOMImageSequencePlugin.py110 except Exception as e:CODE
LOW…dules/Scripted/DICOMPlugins/DICOMSegmentationPlugin.py396 except Exception as exc:CODE
MEDIUMModules/Scripted/DICOMPlugins/DICOMTID1500Plugin.py1355 print("Error - only single frame references supported")CODE
LOWModules/Scripted/DICOMPlugins/DICOMGeAbusPlugin.py80 except Exception as e:CODE
LOWModules/Scripted/DICOMPlugins/DICOMGeAbusPlugin.py87 except Exception as e:CODE
LOWModules/Scripted/DICOMPlugins/DICOMGeAbusPlugin.py129 except Exception as e:CODE
MEDIUMModules/Scripted/DICOMPlugins/DICOMGeAbusPlugin.py126def getMetadata(self, filePath):CODE
LOWModules/Scripted/WebServer/WebServer.py455 except Exception as e:CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py126 except Exception as e:CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py192 except Exception as e:CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py220 except Exception as e:CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py280 except Exception as e:CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py318 except Exception as e:CODE
18 more matches not shown…
Self-Referential Comments27 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMDocs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMUtilities/Scripts/SlicerWizard/Utilities.py342 # Create a repository at the specified locationCOMMENT
MEDIUMUtilities/Scripts/SlicerWizard/doc/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUM…lications/SlicerApp/Testing/Python/SlicerAppTesting.py23# This file is not part of the Slicer API. It exists purely as anCOMMENT
MEDIUM…erApp/Testing/Python/SlicerOptionIgnoreSlicerRCTest.py61 # Create a slicerrc file that creates SLICERRCTESTOUTPUT file when executedCOMMENT
MEDIUM…cerApp/Testing/Python/SlicerDisplayNodeSequenceTest.py82 # Create a vtkMRMLScalarVolumeNode sequenceCOMMENT
MEDIUM…cerApp/Testing/Python/SlicerDisplayNodeSequenceTest.py87 # Create a vtkMRMLScalarVolumeDisplayNode sequenceCOMMENT
MEDIUMApplications/SlicerApp/Testing/Python/UtilTest.py177 # Create a top-level widget (parent is not specified)COMMENT
MEDIUMApplications/SlicerApp/Testing/Python/UtilTest.py197 # Create a parent widget with two labeled childrenCOMMENT
MEDIUM…Loadable/Markups/Testing/Python/MarkupsNodeNameTest.py50# Define a default Markups Line node with a default node nameCOMMENT
MEDIUM…Loadable/Markups/Testing/Python/MarkupsNodeNameTest.py95# Define a default Markups Angle node with a default node name prefixCOMMENT
MEDIUM…Loadable/Sequences/Testing/Python/SequencesSelfTest.py177 # Create a sequence with 5 volumesCOMMENT
MEDIUMModules/Scripted/DICOMLib/DICOMExportScene.py122 # Create a new template from the specified tagsSTRING
MEDIUMModules/Scripted/DICOMLib/DICOMExportScene.py147 # Create the Secondary Capture data set by adding a screenshot and some more custom fieldsSTRING
MEDIUMModules/Scripted/DICOMLib/DICOMBrowser.py586 # Create a list of lists, split by referenced SeriesInstanceUIDCOMMENT
MEDIUMModules/Scripted/DICOMLib/DICOMBrowser.py588 # Create a dictionaryCOMMENT
MEDIUMModules/Scripted/SelfTests/SelfTests.py76 # This module is often used in developer mode, thereforeSTRING
MEDIUMModules/Scripted/SegmentStatistics/SegmentStatistics.py451 # Create a temporary segmentation and harden the transform to ensure that the statistics are calculatedCOMMENT
MEDIUMModules/Scripted/SampleData/SampleData.py271 # This module is often used in developer mode, thereforeSTRING
MEDIUM…ules/Scripted/DICOMPlugins/DICOMImageSequencePlugin.py373 # Create a temporary volume node that will be used to insert volume nodes in the sequenceCOMMENT
MEDIUMModules/Scripted/DICOMPlugins/DICOMGeAbusPlugin.py238 # Create a sampling grid for the transformCOMMENT
MEDIUMModules/Scripted/Endoscopy/Endoscopy.py322 # Create a cursor and associated transform so that the user can see where the flythrough is progressing.COMMENT
MEDIUMModules/Scripted/Endoscopy/Endoscopy.py571 # Create a cursor and associated transform so that the user can see where the flythrough is progressing.STRING
MEDIUMModules/Scripted/DICOM/DICOM.py847 # This module is often used in developer mode, thereforeCOMMENT
MEDIUMBase/Python/slicer/cli.py1"""This module is a place holder for convenient functions allowing to interact with CLI."""STRING
MEDIUMBase/Python/slicer/packaging.py754 # Create the progress dialogCOMMENT
MEDIUMBase/Python/slicer/tests/test_slicer_packaging.py915 # Create a mock distribution that points to our temp fileCOMMENT
Redundant / Tautological Comments38 hits · 53 pts
SeverityFileLineSnippetContext
LOWUtilities/Scripts/genqrc.py20 # Write fileCOMMENT
LOWUtilities/Scripts/update_translations.py221 # Add file to list of translatable filesCOMMENT
LOWUtilities/Scripts/SlicerWizard/TemplateManager.py89 # Read file contentsCOMMENT
LOWUtilities/Scripts/SlicerWizard/ExtensionWizard.py254 # Check if repository is dirtyCOMMENT
LOWUtilities/Scripts/SlicerWizard/ExtensionWizard.py259 # Check if a remote already existsCOMMENT
LOW.github/workflows/update-slicer-preview-branch.yml65 # Check if the current time is before or after 11 PMCOMMENT
LOW…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py73 # Read file contentSTRING
LOW…p/Testing/Python/SlicerScriptedFileReaderWriterTest.py77 # Check if file is validSTRING
LOW…erarchy/Testing/Python/SubjectHierarchyFoldersTest1.py142 # Check if a folder display node was indeed created when changing display property on the folderCOMMENT
LOW…erarchy/Testing/Python/SubjectHierarchyFoldersTest1.py151 # Check if brain models were indeed hiddenCOMMENT
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py316 # Check if output is also under the same study nodeCOMMENT
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py333 # Check if the items have the right parentsCOMMENT
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py454 # Check if the items are in the right hierarchy with the right namesCOMMENT
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py570 # Check if exclude indeed overrides include node attribute name filterCOMMENT
LOW…rchy/Testing/Python/SubjectHierarchyGenericSelfTest.py603 # Check if exclude indeed overrides include item attribute filterCOMMENT
LOW…adable/Colors/Testing/Python/ColorTerminologiesTest.py29# Check if data are correctly setCOMMENT
LOW…adable/Colors/Testing/Python/ColorTerminologiesTest.py48# Check if names are correctly setCOMMENT
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py663 # Check if either background or foreground volume is set in the slice viewCOMMENT
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py673 # Check if a custom segment renderer is already registered for this segment by someone else (e.g., another sCOMMENT
LOW…n/SegmentEditorEffects/SegmentEditorThresholdEffect.py740 # Set values to pipelinesCOMMENT
LOW…/SegmentEditorEffects/SegmentEditorMaskVolumeEffect.py380 # Set input to constant valueSTRING
LOW…gmentations/Testing/Python/SegmentationsModuleTest1.py153 # Check if segment reorder is taken into account in merged labelmap generationCOMMENT
LOW…gmentations/Testing/Python/SegmentationsModuleTest1.py522 # Check if subject hierarchy items have been createdCOMMENT
LOW…dules/Scripted/DICOMPlugins/DICOMSegmentationPlugin.py541 # Check if referenced image files are found and raise exception with a descriptive message in case of an error.COMMENT
LOW…les/Scripted/DICOMPlugins/DICOMVolumeSequencePlugin.py61 # Check if setting of DICOM UIDs is supported (if not, then we cannot export to sequence)COMMENT
LOWModules/Scripted/DICOMPlugins/DICOMTID1500Plugin.py1078 # Check if the plugin (tid1500reader) should be used or specialized highdicom codeCOMMENT
LOWModules/Scripted/DICOM/DICOM.py1099 # Check if DICOMInstance still exists (may not exist during shutdown/restart)COMMENT
LOWModules/Scripted/DICOM/DICOM.py1219 # Set isDockMode to False before changing layoutCOMMENT
LOWBase/Python/slicer/util.py327 # Check if function has already been called with this set of parametersCOMMENT
LOWBase/Python/slicer/util.py981 # Check if the appropriate reader is registeredCOMMENT
LOWBase/Python/slicer/util.py999 # Check if the extension is installedCOMMENT
LOWBase/Python/slicer/packaging.py195 # Check if requirement's marker applies to current environmentCOMMENT
LOWBase/Python/slicer/packaging.py208 # Check if base package is installed at acceptable versionCOMMENT
LOWBase/Python/slicer/packaging.py230 # Check if any requested extra activates this dependencyCOMMENT
LOWBase/Python/slicer/packaging.py409 # Check if we're in full Slicer or PythonSlicerCOMMENT
LOWBase/Python/slicer/packaging.py462 # Check if any updated packages were already importedCOMMENT
LOWBase/Python/slicer/packaging.py626 # Check if we're running in full Slicer or PythonSlicerCOMMENT
LOWBase/Python/slicer/packaging.py1028 # Check if already satisfiedCOMMENT
Cross-Language Confusion10 hits · 48 pts
SeverityFileLineSnippetContext
HIGHUtilities/Scripts/SlicerWizard/ExtensionWizard.py316 remote.push(branch)CODE
HIGHUtilities/Scripts/SlicerWizard/ExtensionWizard.py497 xiRemote.push(f"{xiBase}:refs/heads/{args.target}")STRING
HIGHUtilities/Scripts/SlicerWizard/ExtensionWizard.py543 xiRemote.push("+%s" % branch)STRING
HIGHModules/Scripted/DICOMLib/DICOMProcesses.py615 f"Starting send to {self.destinationUrl.toString()} using {self.protocol} protocol",CODE
HIGHModules/Scripted/DICOMLib/DICOMProcesses.py656 client = DICOMwebClient(url=destinationURL.toString(), session=session)CODE
HIGHModules/Scripted/DICOMLib/DICOMProcesses.py666 f"Sending {file} to {self.destinationUrl.toString()} using {self.protocol}",CODE
HIGHModules/Scripted/DICOMLib/DICOMProcesses.py754 if "kheops" not in destinationURL.toString():CODE
HIGHModules/Scripted/DICOMLib/DICOMRecentActivityWidget.py126 statusMessage = "Most recent DICOM Database addition: %s" % self.recentSeries[0].insertDateTime.toString()CODE
HIGHBase/Python/slicer/util.py473 # sometimes, p is null, f.e. when using --python-script or --python-codeCOMMENT
HIGHBase/Python/slicer/ScriptedLoadableModule.py158 self.reloadCollapsibleButton.text = "Reload && Test"CODE
AI Slop Vocabulary13 hits · 34 pts
SeverityFileLineSnippetContext
LOW…layableManager/vtkScriptedExampleDisplayableManager.py24# implement the method GetMRMLSceneEventsToObserve. This later one just return a list of integerCOMMENT
MEDIUM…dable/VolumeRendering/MRML/vtkMRMLVolumePropertyNode.h125 /// Return a value that is strictly greater than previousValue and robust toCOMMENT
MEDIUM…n/SegmentEditorEffects/SegmentEditorSmoothingEffect.py457 # separated/merged automatically. This effect could leverage those options once they have been implemented.COMMENT
LOW…cts/AbstractScriptedSegmentEditorAutoCompleteEffect.py205 # therefore don't update directly, just set up/reset a timer that will perform the update when it elapses.COMMENT
MEDIUMModules/Scripted/SampleData/SampleData.py398 # Absolute fallback (should never happen, but keeps tests robust)COMMENT
LOWModules/Scripted/DICOMPlugins/DICOMTID1500Plugin.py1234 # Invalid file, just return instead of throw an exception to allow loadingCOMMENT
MEDIUMBase/Python/vtkTeem.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/vtkITK.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/mrml.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/vtkAddon.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/vtkSegmentationCore.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/slicer/__init__.py157# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
MEDIUMBase/Python/slicer/logic.py5# Importing VTK is required for loading its Python modules and ensuring seamless instantiationCOMMENT
Modern Structural Boilerplate23 hits · 23 pts
SeverityFileLineSnippetContext
LOWDocs/_ext/github_alerts.py7logger = logging.getLogger(__name__)CODE
LOWUtilities/Scripts/SlicerWizard/GithubHelper.py12__all__ = [CODE
LOWUtilities/Scripts/SlicerWizard/Utilities.py38__all__ = [CODE
LOW…lications/SlicerApp/Testing/Python/SlicerAppTesting.py37__all__ = ["EXIT_FAILURE", "EXIT_SUCCESS", "run", "runSlicer", "runSlicerAndExit", "timecall"]CODE
LOW…cts/AbstractScriptedSegmentEditorAutoCompleteEffect.py12__all__ = ["AbstractScriptedSegmentEditorAutoCompleteEffect"]CODE
LOW…torEffects/AbstractScriptedSegmentEditorLabelEffect.py3__all__ = ["AbstractScriptedSegmentEditorLabelEffect"]CODE
LOW…torEffects/AbstractScriptedSegmentEditorPaintEffect.py3__all__ = ["AbstractScriptedSegmentEditorPaintEffect"]CODE
LOWModules/Scripted/WebServer/WebServer.py21logger = logging.getLogger(__name__)CODE
LOW…Scripted/WebServer/WebServerLib/DICOMRequestHandler.py8logger = logging.getLogger(__name__)CODE
LOW…ed/WebServer/WebServerLib/StaticPagesRequestHandler.py8logger = logging.getLogger(__name__)CODE
LOW…cripted/WebServer/WebServerLib/SlicerRequestHandler.py20logger = logging.getLogger(__name__)CODE
LOWBase/Python/slicer/util.py13__all__ = [CODE
LOWBase/Python/slicer/ScriptedLoadableModule.py14__all__ = ["ScriptedLoadableModule", "ScriptedLoadableModuleWidget", "ScriptedLoadableModuleLogic", "ScriptedLoadableModCODE
LOWBase/Python/slicer/parameterNodeWrapper/wrapper.py20__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/guiCreation.py31__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/util.py6__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/validators.py7__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/serializers.py23__all__ = [CODE
LOW…se/Python/slicer/parameterNodeWrapper/parameterPack.py27__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/types.py3__all__ = [CODE
LOWBase/Python/slicer/parameterNodeWrapper/default.py1__all__ = ["Default"]CODE
LOW…se/Python/slicer/parameterNodeWrapper/guiConnectors.py26__all__ = [CODE
LOW…se/Python/slicer/parameterNodeWrapper/parameterInfo.py7__all__ = []CODE
Structural Annotation Overuse11 hits · 14 pts
SeverityFileLineSnippetContext
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py78 # Step 1: Register all available markups nodesSTRING
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py96 # Step 2: Register all available additional options widgetsSTRING
LOW…dable/Segmentations/Widgets/qMRMLSegmentEditorWidget.h165 /// NOTE: This method should be called from the enter function of theCOMMENT
LOW…dable/Segmentations/Widgets/qMRMLSegmentEditorWidget.h170 /// NOTE: This method should be called from the exit function of theCOMMENT
LOW…gic/Resources/ColorFiles/Slicer3_2010_Brain_Labels.txt1#WARNING: This file is automatically generated.COMMENT
LOW…e/Logic/Resources/ColorFiles/DarkBrightChartColors.txt1#WARNING: This file is automatically generated.COMMENT
LOW…Resources/ColorFiles/SPL-BrainAtlas-2009-ColorFile.txt1#WARNING: This file is automatically generated.COMMENT
LOW…se/Logic/Resources/ColorFiles/GenericAnatomyColors.txt1#WARNING: This file is automatically generated.COMMENT
LOW…se/Logic/Resources/ColorFiles/LightPaleChartColors.txt1#WARNING: This file is automatically generated.COMMENT
LOW…gic/Resources/ColorFiles/Slicer3_2010_Label_Colors.txt1#WARNING: This file is automatically generated.COMMENT
LOWBase/Logic/Resources/ColorFiles/MediumChartColors.txt1#WARNING: This file is automatically generated.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALModules/Scripted/DICOMLib/DICOMUtils.py770 slicer.modules.DICOMInstance.browserWidget.dicomBrowser.dicomTableManager().updateTableViews()CODE
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
LOWLibs/MRML/Core/vtkMRMLScene.h786 /// being in the list. Don't forget to clear it as soon as you don't need it.COMMENT
MEDIUM…rchyPlugins/SegmentStatisticsSubjectHierarchyPlugin.py59 # "This is how you can add help text to the subject hierarchy module help box via a python scripted plugin."COMMENT
MEDIUM…ierarchyPlugins/SegmentEditorSubjectHierarchyPlugin.py60 # "This is how you can add help text to the subject hierarchy module help box via a python scripted plugin."COMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWModules/Scripted/SampleData/SampleData.py19CODE
LOWModules/Scripted/SampleData/SampleData.py146CODE
LOWModules/Scripted/SampleData/SampleData.py553CODE
LOWModules/Scripted/SampleData/SampleData.py1001CODE
LOWModules/Scripted/WebServer/WebServer.py594CODE
LOWBase/Python/slicer/packaging.py528CODE
Example Usage Blocks3 hits · 5 pts
SeverityFileLineSnippetContext
LOWLibs/MRML/Core/vtkMRMLI18N.h59 /// Example usage:COMMENT
LOWUtilities/Scripts/Build-qt6.sh5# Usage:COMMENT
LOWUtilities/Scripts/exec-outside-slicer-env.sh8# Usage:COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWModules/Scripted/ScreenCapture/ScreenCapture.py684 if not self.logic.isFfmpegPathValid() and os.name == "nt": # TODO: implement download for Linux/MacOS?CODE
LOWModules/Scripted/ScreenCapture/ScreenCapture.py945 # TODO: implement downloading for Linux/MacOS?COMMENT
LOW…cripted/WebServer/WebServerLib/SlicerRequestHandler.py349 # TODO: implement this method:COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWUtilities/Scripts/SetupUser.sh14 read -ep "Please enter your full name, such as 'John Doe': " nameCODE
LOWApplications/SlicerApp/Testing/Python/CLIEventTest.py231 self.patientItemID = shNode.CreateSubjectItem(shNode.GetSceneItemID(), "John Doe")CODE
Verbosity Indicators2 hits · 1 pts
SeverityFileLineSnippetContext
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py78 # Step 1: Register all available markups nodesSTRING
LOW…ble/Markups/Testing/Python/PluggableMarkupsSelfTest.py96 # Step 2: Register all available additional options widgetsSTRING