Archive

Code Insights

  • The code contains too many MOVE instructions with multiple assignments

    [vc_row][vc_column][nz_btn text=”Software Agility” link=”http://doc.casthighlight.com/software-agility/” icon=”icon-dashboard” color=”black” shape=”rounded”][nz_btn text=”Embedded Documentation” link=”http://doc.casthighlight.com/category/product/indicators-methodology/code-insights/software-agility/embedded-documentation/” icon=”icon-code” color=”black” shape=”rounded” type=”ghost” hover_ghost=”screen”][vc_empty_space height=”12px”][vc_row_inner][vc_column_inner width=”1/2″][vc_column_text] Why you should care [/vc_column_text][vc_column_text]Description coming soon…[/vc_column_text][/vc_column_inner][vc_column_inner…

  • Avoid having too many conditions using variables without operators

    When a variable without any operators is found within a β€˜IF’ condition, in most of cases, it means that the developer wanted to perform…

  • ,

    Avoid using complex operands

    This code insight sanctions data accesses in operands having a too high level of indirection. The level of indirection is determined by the path…

  • , ,

    Avoid having too many unused variables

    Having too many variables that are unused somewhere in your software can make the software consume more memory than it should as the resource…

  • , , ,

    Avoid files with too many functions or methods

    [vc_row][vc_column][vc_btn title=”Software Agility” style=”flat” color=”pink” link=”url:https%3A%2F%2Fdoc.casthighlight.com%2Fsoftware-agility%2F|||”][vc_btn title=”Code Readability” style=”outline” color=”black” link=”url:https%3A%2F%2Fdoc.casthighlight.com%2Fcategory%2Fproduct%2Findicators-methodology%2Fcode-insights%2Fsoftware-agility%2Fcode-readability%2F|||”][vc_empty_space height=”12px”][vc_column_text] How we detect [/vc_column_text][vc_column_text]CAST Highlight counts the number of functions/methods found per…

  • , , , ,

    Spaces between function name and opening parenthesis cause bugs

    [vc_row][vc_column][nz_btn text=”Software Agility” link=”http://casthighlight.wpengine.com/software-agility/” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”small” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” icon=”icon-dashboard”][nz_btn text=”Code Readability” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”small” shape=”rounded” type=”ghost” hover_normal=”fill”…

  • , , ,

    Builtin instructions are inadvisable because of their risky nature

    [vc_row][vc_column][nz_btn text=”Software Resiliency” link=”http://casthighlight.wpengine.com/software-resiliency/” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”small” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” icon=”icon-dashboard”][nz_btn text=”Programming Best Practices” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”small” shape=”rounded” type=”ghost”…

  • , , ,

    Deep functions are a Production Risk in JavaScript

    [vc_row][vc_column][nz_btn text=”Software Resiliency” link=”http://casthighlight.wpengine.com/software-resiliency/” target=”_self” animate=”false” animation_type=”ghost” color=”pink” size=”medium” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” icon=”icon-dashboard”][nz_btn text=”Programming Best Practices” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”medium” shape=”rounded” type=”ghost”…

  • , , ,

    Suspicious File Usage patterns can be risky

    [vc_row][vc_column][nz_btn text=”Software Resiliency” link=”http://casthighlight.wpengine.com/software-resiliency/” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”medium” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” icon=”icon-dashboard”][nz_btn text=”Code Reliability” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”medium” shape=”rounded” type=”ghost” hover_normal=”fill”…

  • , , ,

    File Records with no COPY Clause can be risky

    [vc_row][vc_column][nz_btn text=”Software Resiliency” link=”http://casthighlight.wpengine.com/software-resiliency/” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”medium” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” icon=”icon-dashboard”][nz_btn text=”Programming Best Practices” target=”_self” animate=”false” animation_type=”ghost” color=”black” size=”medium” shape=”rounded” type=”ghost”…