<!doctype html>
<html lang="en">

<head>
  <!-- Import style -->
  <link rel="stylesheet" href="../index.css" />
  <link rel="stylesheet" href="../prettify.css" />
  <!-- Import Vue 3 -->
  <script src="../vue.global.prod.js"></script>
  <!-- Import component library -->
  <script src="../index.full.min.js"></script>
  <script src="../prettify.js"></script>
  <meta charset="UTF-8">
  <title>Coverage</title>
</head>

<body>
  <div id="app" class="common-layout">
    <el-container>
      <el-header>
        <el-row :gutter="10">
          <el-col :span="5">
            <el-space :size="size" spacer="">
              <div><el-text class="mx-1 ">
                  <el-link type="primary" :href="relativeHome">
                    <h2>&lt;</h2>
                  </el-link>
                </el-text></div>
              <div><el-text class="mx-1 "><h2>{{title}}</h2></el-text></div>
              <div><el-text class="mx-1 "
                  type="info"></el-text></div>
            </el-space>
          </el-col>
          <el-col :span="3">
            <el-space :size="size" spacer="">
              <div><el-text class="mx-1 ">
                  <h2>{{file.summary.functions.pct}}%</h2>
                </el-text></div>
              <div><el-text class="mx-1 ">Functions</el-text></div>
              <div><el-text class="mx-1 "
                  type="info">{{file.summary.functions.covered}}/{{file.summary.functions.total}}</el-text></div>
            </el-space>
          </el-col>
          <el-col :span="3">
            <el-space :size="size" spacer="">
              <div><el-text class="mx-1 ">
                  <h2>{{file.summary.branches.pct}}%</h2>
                </el-text></div>
              <div><el-text class="mx-1 ">Branches</el-text></div>
              <div><el-text class="mx-1 "
                  type="info">{{file.summary.branches.covered}}/{{file.summary.branches.total}}</el-text></div>
            </el-space>
          </el-col>
          <el-col :span="3">
            <el-space :size="size" spacer="">
              <div><el-text class="mx-1 ">
                  <h2>{{file.summary.lines.pct}}%</h2>
                </el-text></div>
              <div><el-text class="mx-1 ">Lines</el-text></div>
              <div><el-text class="mx-1 "
                  type="info">{{file.summary.lines.covered}}/{{file.summary.lines.total}}</el-text></div>
            </el-space>
          </el-col>
        </el-row>
        <el-divider />
      </el-header>
      <el-main>
        <el-row>
        </el-row>
        <pre>
          <table class="coverage">
            <tr>
              <td class="line-count quiet">
                <pre class="prettyprint lang-js">
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
                </pre>
        </td>
        <td class="text">
          <pre class="prettyprint linenums lang-js">
/** 
 * `qianapp://` 协议解析结果。 
 * 
 * **协议形态**: `qianapp://&lt;custom-path&gt;?flowId=...&amp;action=...&amp;result=...&amp;from=tencent_ess&amp;&lt;extras&gt;` 
 * 
 * **字段说明**: 
 * - rawUrl:    原始 URL 
 * - customPath: host + path 拼接（去除前后斜杠） 
 * - flowId:    流程 ID（协议未给则为空字符串） 
 * - action:    动作字符串原值；建议与 `SignAction` 常量比对，未知值原样透出 
 * - result:    结果字符串原值；建议与 `SignResultStatus` 常量比对，未知值原样透出 
 * - from:      固定 `tencent_ess` 
 * - extras:    除上述字段之外的自定义 query 透传 
 */ 
export class SignResult { 
  /** 原始 qianapp:// URL */ 
  public rawUrl: string; 
 
  /** host + path,例 `callback/sign` */ 
  public customPath: string; 
 
  /** 流程 ID;协议未给则为空字符串 */ 
  public flowId: string; 
 
  /** 
   * 动作类型(String 直透,未识别值原样透出)。 
   * 
   * 已知值见 SignAction:`fill` / `sign` / `reject_fill` / `reject_sign` / `view` / `&quot;&quot;`。 
   */ 
  public action: string; 
 
  /** 
   * 结果状态(String 直透,未识别值原样透出)。 
   * 
   * 已知值见 SignResultStatus:`success` / `fail` / `&quot;&quot;`。 
   */ 
  public result: string; 
 
  /** 来源标识,通常为 `tencent_ess`;协议未给则为空字符串 */ 
  public from: string; 
 
  /** 
   * 客户自定义 query 透传(已剔除 4 个 recognized field)。 
   * 
   * 重复 key 保留首个,UTF-8 percent-decoded。 
   */ 
  public extras: Map&lt;string, string&gt;; 
 
  constructor( 
    rawUrl: string, 
    customPath: string, 
    flowId: string, 
    action: string, 
    result: string, 
    from: string, 
    extras: Map&lt;string, string&gt; 
  ) { 
    this.rawUrl = rawUrl; 
    this.customPath = customPath; 
    this.flowId = flowId; 
    this.action = action; 
    this.result = result; 
    this.from = from; 
    this.extras = extras; 
  } 
 
  /** 
   * 全空 SignResult,用于解析失败兜底。 
   * 
   * 通过 `rawUrl.length === 0` 判定空结果,勿用 `===` 引用比较。 
   */ 
  public static get EMPTY(): SignResult { 
    return new SignResult(&#39;&#39;, &#39;&#39;, &#39;&#39;, &#39;&#39;, &#39;&#39;, &#39;&#39;, new Map&lt;string, string&gt;()); 
  } 
} 

              </pre>
        </td>
        </tr>
        </table>
        </pre>
      </el-main>
      <el-footer align="middle" class="footer">
        Code coverage generated by <el-link href="https://github.com/SMAT-Lab/bjc" type="primary"
          target="_blank">bjc</el-link> at {{date}}
      </el-footer>
    </el-container>
  </div>
</body>

<script>
  const App = {
    data() {
      return {"date":"Fri Jul 31 2026 16:52:24 GMT+0800 (China Standard Time)","file":{"version":"bjc v1.0.0","versionCode":10000,"path":"/Users/qinzhiqiang/Git/frontend/h5-in-app-integration/harmonyos-arkts/tencentqianwebview/src/main/ets/model/SignResult.ets","hash":"34645a304c27f2b7a5995e8a5c267ce180b1ffe09dc2067ae6e5dc09e3eb31e5","lineCnt":76,"count":0,"projectPath":"/Users/qinzhiqiang/Git/frontend/h5-in-app-integration/harmonyos-arkts","functions":[{"name":"SignResult.constructor","count":15,"regions":[{"startLoc":{"line":49,"col":3},"endLoc":{"line":65,"col":4},"count":15,"ignored":0},{"startLoc":{"line":58,"col":5},"endLoc":{"line":65,"col":4},"count":15,"ignored":0}],"branches":[],"ignored":0,"index":0},{"name":"SignResult.EMPTY","count":4,"regions":[{"startLoc":{"line":72,"col":3},"endLoc":{"line":74,"col":4},"count":4,"ignored":0},{"startLoc":{"line":73,"col":5},"endLoc":{"line":74,"col":4},"count":4,"ignored":0}],"branches":[],"ignored":0,"index":1}],"exeLine":{"0":15,"1":17,"2":20,"3":23,"4":30,"5":37,"6":40,"7":47,"8":50,"9":51,"10":52,"11":53,"12":54,"13":55,"14":56,"15":57,"16":58,"17":59,"18":60,"19":61,"20":62,"21":63,"22":64,"23":72,"24":73},"summary":{"lines":{"total":17,"covered":17,"pct":100,"executedLineCount":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,-1,-1,-1,-1,-1,-1,-1,4,4,-1,-1,-1]},"functions":{"total":2,"covered":2,"pct":100},"branches":{"total":0,"covered":0,"pct":100}}},"title":"SignResult.ets.html","relativeHome":"../index.html"};
    }
  };

  const app = Vue.createApp(App);
  app.use(ElementPlus);
  app.mount("#app");

  window.onload = function () {
    prettyPrint();
  }
</script>

<style scoped>
  table.coverage {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 0 0;
    padding: 0;
  }

  table.coverage td {
    margin: 0;
    padding: 0;
    vertical-align: top;
  }

  table.coverage td.line-count {
    width: 12%;
    text-align: right;
    padding: 0 5px 0 20px;
  }

  table.coverage td.line-coverage {
    text-align: right;
    padding-right: 10px;
    min-width: 20px;
  }

  table.coverage td span.cline-any {
    display: inline-block;
    padding: 0 5px;
    width: 100%;
    height: 18px;
  }

  .low,
  .cline-no {
    background: #FCE1E5
  }

  .high,
  .cline-yes {
    background: rgb(230, 245, 208)
  }

  span.cline-neutral {
    background: #eaeaea;
  }

  pre.prettyprint {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .el-main {
    box-sizing: border-box;
    display: block;
    flex: 1;
    flex-basis: auto;
    overflow: auto;
    padding: var(--el-main-padding)
  }

  .el-container {
    min-height: 100vh;
    height: 100%;
  }

  .footer {
    font-size: small;
  }

  .el-row {
    margin-bottom: 20px;
  }

  .el-row:last-child {
    margin-bottom: 0;
  }

  .el-col {
    border-radius: 4px;
  }

  .green {
    color: var(--el-color-success);
  }

  .red {
    color: var(--el-color-error);
  }

  .linenums li {
    height: 18px;
    line-height: 18px;
  }

  li.L0,
  li.L1,
  li.L2,
  li.L3,
  li.L5,
  li.L6,
  li.L7,
  li.L8 {
    list-style-type: decimal
  }

  .el-col-5 {
    max-width: 100%;
  }

  .el-col-3 {
    max-width: 100%;
  }

</style>

</html>