Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18683] Parity report: Ignore platform specific APIs from Total API count

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-02-02T03:17:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsTooling
Labelsn/a
ReporterGary Mathews
AssigneeEric Merriman
Created2015-03-11T20:25:06.000+0000
Updated2017-03-22T22:41:10.000+0000

Description

Don't include platform specific APIs in the Total API count and platform percentage.

Attachments

FileDateSize
coverage.xlsx2016-01-22T08:11:15.000+0000588706

Comments

  1. Gary Mathews 2015-03-11

    PR : https://github.com/appcelerator/titanium_mobile/pull/6712
  2. Fokke Zandbergen 2016-01-22

    [~cng] Are we sure this works as expected with this PR in place? We had an email from a new customer worried that windows phone was showing a 27% coverage at: http://builds.appcelerator.com/mobile/master/mobilesdk-6.0.0.v20160120181659-parity.html I imported the list in Excel, ignored all API namespaced for a specific platform and ended up with 63% as you can see in the attached document.
  3. Chee Kiat Ng 2016-02-02

    the % coverage = YES / (Total API) but in your excel, your % calculated was (YES + NO) / (Total API) So i think 27% makes sense. basically, just to clarify, this is saying that windows phone has 27% of the total API that includes methods, properties and events in parity with the entire Titanium API.
  4. Chee Kiat Ng 2016-02-02

    Marking as fixed since this PR was merged already in Mar 2015.
  5. Fokke Zandbergen 2016-02-02

    [~cng] in the excel I calculate YES + N/A where N/A is when the API is platform-specific thus can never be made available to that platform anyway. That's my actual point; by only counting YES you get a much lower score then what it should be. See TIDOC-2429 as well
  6. Chee Kiat Ng 2016-02-03

    [~fokkezb] So following your idea, the total API in the parity report should actually ONLY consist of non platform-specific API (it should not contain non-parity .iOS or .android API etc). Then the parity % coverage will be higher. [~ingo] thoughts?
  7. Fokke Zandbergen 2016-02-03

    It should include APIs we *have* implemented for that platform plus APIs what we *can never* implement simply because it's specific to another platform. That gives a more relevant (and indeed higher) % and the remaining APIs (those we *could* implement) is a more helpful list to work on improving parity. The way we calculate now Windows will never be 100% since we'll never be able to implement the Action Bar ;)
  8. Lee Morris 2017-03-22

    Closing ticket as fixed.

JSON Source