Eyeshot 12 (analysis done Today 14:28 most recent)

WARNING: This code rule is violated. 50 fields on 11372 tested match the condition.
// <Name>API Breaking Changes: Fields</Name>
warnif count > 0 from f in codeBase.OlderVersion().Application.Fields
where f.IsPubliclyVisible &&

     
// The field has been removed, it was not tagged as obsolete
     // and its parent type hasn't been removed …
     ( ( f.WasRemoved() && 
        
!f.ParentType.WasRemoved() && 
        
!f.IsObsolete)

     
// … or the field is not publicly visible anymore
     ||  !f.WasRemoved() && !f.NewerVersion().IsPubliclyVisible)

     
// … or the field type has changed
     || (!f.WasRemoved() && f.FieldType != null && f.NewerVersion().FieldType != null
                         
&& f.FieldType.FullName != f.NewerVersion().FieldType.FullName)

select new { 
   
f,
   
NewVisibility = 
      
(f.WasRemoved() ? " " : 
       
f.NewerVersion().Visibility.ToString()),

   
Severity = Severity.High
}

//<Description>
// This rule is executed only if a *baseline for comparison* is defined (*diff mode*).
//
// This rule warns if a field publicly visible in the *baseline*, 
// is not publicly visible anymore or if it has been removed.
// Clients code using such field will be broken.
//</Description>

//<HowToFix>
// Make sure that public fields that used to be presented to
// clients, still remain public now, and in the future.
//
// If a public field must really be removed, you can tag it
// with *System.ObsoleteAttribute* with a *workaround message*
// during a few public releases, until it gets removed definitely.
// Notice that this rule doesn't match fields removed that were
// tagged as obsolete.
//
// Issues of this rule have a severity equal to **High**
// because an API Breaking change can provoque significant
// friction with consumers of the API.
//</HowToFix>
50 fieldsNewVisibilitySeverityFull Name
viewportLayoutHighdevDept.Eyeshot .EyeshotDisposableCollection<T> .viewportLayout
viewportLayoutHighdevDept.Eyeshot .EyeshotDisposableDictionary<T> .viewportLayout
ViewportLayoutHighdevDept.Eyeshot.EyeshotKeyedCollection<T >.ViewportLayout
StandardShadersHighdevDept.Eyeshot.ViewportLayout .StandardShaders
fontDefsHighdevDept.Eyeshot.ViewportLayout.fontDefs
hasFocusHighdevDept.Eyeshot.ViewportLayout.hasFocus
backgroundWorkerHighdevDept.Eyeshot.ViewportLayout .backgroundWorker
fpsHighdevDept.Eyeshot.ViewportLayout.fps
parentInternalHighdevDept.Eyeshot.Viewport.parent
parentPrivateHighdevDept.Eyeshot.ViewportList.parent
_attributesPrivateHighdevDept.Eyeshot.ScreenLine._attributes
SilhoDataListInternalHighdevDept.Eyeshot.HiddenLinesViewSettings .SilhoDataList
cursorManagerPrivateHighdevDept.Eyeshot.ViewCubeIcon .cursorManager
ParentInternalHighdevDept.Eyeshot.Mouse3DSettings.Parent
ParentInternalHighdevDept.Eyeshot.MultiTouchSettings .Parent
AttributesPublicHighdevDept.Eyeshot.DrawParams.Attributes
attributesInternalHighdevDept.Eyeshot.WriteWebGLParams .attributes
ViewportLayoutHighdevDept.Eyeshot .PreProcessSilhouettesParams .ViewportLayout
AttributesPublicHighdevDept.Eyeshot .PreProcessSilhouettesParams.Attributes
controlPrivateHighdevDept.Eyeshot .HiddenLinesViewOnClipboard.control
cursorManagerInternalHighdevDept.Eyeshot.BarBase.cursorManager
previousCursorPrivateHighdevDept.Eyeshot.ToolBar.previousCursor
value__PublicHighdevDept.Eyeshot.displayType.value__
value__PublicHighdevDept.Eyeshot.viewType.value__
centerHighdevDept.Eyeshot.OriginSymbol.center
projMatrixHighdevDept.Eyeshot.OriginSymbol.projMatrix
_selectionInfoInternalHighdevDept.Eyeshot.Labels.Label ._selectionInfo
_touchHandlerPrivateHighdevDept.Eyeshot.MultiTouch.Helper ._touchHandler
_processorPrivateHighdevDept.Eyeshot.MultiTouch.Helper ._processor
parentPrivateHighdevDept.Eyeshot.MultiTouch.Helper.parent
solidPrivateHighdevDept.Eyeshot.Iges .ManifoldSolidBRepObject.solid
_facePrivateHighdevDept.Eyeshot.Iges.Face._face
_textStringsPrivateHighdevDept.Eyeshot.Iges.Text._textStrings
arrowsFitInsideInternalHighdevDept.Eyeshot.Entities.Dimension .arrowsFitInside
value__PublicHighdevDept.Eyeshot.Entities.Solid+brepType .value__
BodyPublicHighdevDept.Eyeshot.Entities.Solid+brepType .Body
ShellPublicHighdevDept.Eyeshot.Entities.Solid+brepType .Shell
FaceInfoInternalHighdevDept.Eyeshot.Entities.TrimCurve .FaceInfo
AccumulatedParentsAttributesInternalHighdevDept.Eyeshot.Entities.BlockReference .AccumulatedParentsAttributes
LineTypesHighdevDept.Eyeshot.Translators.ReadFile .LineTypes
TextStylesHighdevDept.Eyeshot.Translators.ReadFile .TextStyles
textStylesHighdevDept.Eyeshot.Translators.WriteFile .textStyles
lineTypesHighdevDept.Eyeshot.Translators.WriteFile .lineTypes
svcsPrivateHighdevDept.Eyeshot.Translators.ReadAutodesk .svcs
acadentPrivateHighdevDept.Eyeshot.Translators .ReadAutodesk+AcadEntityDelegator .acadent
_lineWeightPrivateHighdevDept.Eyeshot.Translators .ReadAutodesk+AcadEntityDelegator ._lineWeight
_colorPrivateHighdevDept.Eyeshot.Translators .ReadAutodesk+AcadEntityDelegator._color
_xDataPrivateHighdevDept.Eyeshot.Translators .ReadAutodesk+AcadEntityDelegator._xData
_imageDictIdPrivateHighdevDept.Eyeshot.Translators .WriteAutodesk+SaveParams._imageDictId
IdPublicHighdevDept.Eyeshot.Translators .WriteAutodesk+SaveParams+xRefData.Id
Sum:--
Average:--
Minimum:--
Maximum:--
Standard deviation:--
Variance:--