OASIS Static Analysis Results Interchange Format (SARIF) TC

 View Only
  • 1.  Editorial change: codeFlowLocation => threadFlowLocation

    Posted 06-01-2018 16:27
    I have filed Issue #187 : Editorial: codeFlowLocation => threadFlowLocation. Michael and I consider this an editorial change because it is a pure rename, with no change in semantics. Here is the description of the issue: We will rename the  codeFlowLocation  object to  threadFlowLocation  because it actually lives in a  threadFlow , not in a  codeFlow . @michaelcfanning  tripped over this yesterday, expecting the name to be  threadFlowLocation . He argued that the current name violates the API principle of "least surprise". Here is the historical background: ·          The original name for this concept was  annotatedCodeLocation . That was also a surprising name – nobody who walked up to a v1  codeFlow  and wondered “What is the type of its locations?” would have guessed  annotatedCodeLocation . ·          In addition to being surprising, the name became just plain wrong when we moved annotations into the location object. Now every location could be annotated. ·          The search for a new name came at the same time as we introduced the notion of an array of threads within a code flow. Michael and I struggled with whether to use  codeFlow  as the name for the outer object or the inner object. We settled on using it for the outer object because then we could invent  threadFlow  as the name for the inner object – whereas if we used  codeFlow  to name the inner object, neither of us could come up with a good name for the outer object. ·          Having decided to use  codeFlow  for the outer object, the name  codeFlowLocation  really was an attempt to have it both ways – it was a name that would have been perfect if the inner object was named  codeFlow  – but it wasn’t. Please let me know if you have any concerns about this.   Thanks, Larry


  • 2.  RE: [sarif] Editorial change: codeFlowLocation => threadFlowLocation

    Posted 06-01-2018 16:38
    This change is now in the provisional draft. Again, let me know of any concerns.   Larry   From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> On Behalf Of Larry Golding (Comcast) Sent: Friday, June 1, 2018 9:25 AM To: sarif@lists.oasis-open.org Cc: Michael Fanning <Michael.Fanning@microsoft.com> Subject: [sarif] Editorial change: codeFlowLocation => threadFlowLocation   I have filed Issue #187 : Editorial: codeFlowLocation => threadFlowLocation. Michael and I consider this an editorial change because it is a pure rename, with no change in semantics. Here is the description of the issue: We will rename the  codeFlowLocation  object to  threadFlowLocation  because it actually lives in a  threadFlow , not in a  codeFlow . @michaelcfanning  tripped over this yesterday, expecting the name to be  threadFlowLocation . He argued that the current name violates the API principle of "least surprise". Here is the historical background: ·          The original name for this concept was  annotatedCodeLocation . That was also a surprising name – nobody who walked up to a v1  codeFlow  and wondered “What is the type of its locations?” would have guessed  annotatedCodeLocation . ·          In addition to being surprising, the name became just plain wrong when we moved annotations into the location object. Now every location could be annotated. ·          The search for a new name came at the same time as we introduced the notion of an array of threads within a code flow. Michael and I struggled with whether to use  codeFlow  as the name for the outer object or the inner object. We settled on using it for the outer object because then we could invent  threadFlow  as the name for the inner object – whereas if we used  codeFlow  to name the inner object, neither of us could come up with a good name for the outer object. ·          Having decided to use  codeFlow  for the outer object, the name  codeFlowLocation  really was an attempt to have it both ways – it was a name that would have been perfect if the inner object was named  codeFlow  – but it wasn’t. Please let me know if you have any concerns about this.   Thanks, Larry


  • 3.  RE: [sarif] Editorial change: codeFlowLocation => threadFlowLocation

    Posted 06-01-2018 18:03
    Folks,   I overstepped my editorial discretion here. This rename needs to be approved by the TC. I will put it on the agenda for TC #19.   There will not be a change draft since I’ve already made the change in the provisional draft. In the event that the TC rejects the change, I’ll revert it in the provisional draft.   Sorry, Larry   From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> On Behalf Of Larry Golding (Comcast) Sent: Friday, June 1, 2018 9:36 AM To: sarif@lists.oasis-open.org Cc: 'Michael Fanning' <Michael.Fanning@microsoft.com> Subject: RE: [sarif] Editorial change: codeFlowLocation => threadFlowLocation   This change is now in the provisional draft. Again, let me know of any concerns.   Larry   From: sarif@lists.oasis-open.org < sarif@lists.oasis-open.org > On Behalf Of Larry Golding (Comcast) Sent: Friday, June 1, 2018 9:25 AM To: sarif@lists.oasis-open.org Cc: Michael Fanning < Michael.Fanning@microsoft.com > Subject: [sarif] Editorial change: codeFlowLocation => threadFlowLocation   I have filed Issue #187 : Editorial: codeFlowLocation => threadFlowLocation. Michael and I consider this an editorial change because it is a pure rename, with no change in semantics. Here is the description of the issue: We will rename the  codeFlowLocation  object to  threadFlowLocation  because it actually lives in a  threadFlow , not in a  codeFlow . @michaelcfanning  tripped over this yesterday, expecting the name to be  threadFlowLocation . He argued that the current name violates the API principle of "least surprise". Here is the historical background: ·          The original name for this concept was  annotatedCodeLocation . That was also a surprising name – nobody who walked up to a v1  codeFlow  and wondered “What is the type of its locations?” would have guessed  annotatedCodeLocation . ·          In addition to being surprising, the name became just plain wrong when we moved annotations into the location object. Now every location could be annotated. ·          The search for a new name came at the same time as we introduced the notion of an array of threads within a code flow. Michael and I struggled with whether to use  codeFlow  as the name for the outer object or the inner object. We settled on using it for the outer object because then we could invent  threadFlow  as the name for the inner object – whereas if we used  codeFlow  to name the inner object, neither of us could come up with a good name for the outer object. ·          Having decided to use  codeFlow  for the outer object, the name  codeFlowLocation  really was an attempt to have it both ways – it was a name that would have been perfect if the inner object was named  codeFlow  – but it wasn’t. Please let me know if you have any concerns about this.   Thanks, Larry