Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74521

[tics] Extract inline event handlers in hudson/plugins/tics/Metrics/config.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • tics-plugin

      Problems

      == Inline Event Handler
      Line: 20
      ----
      <f:checkbox field="ALL" title="All" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 23
      ----
      <f:checkbox field="PREPARE" title="Prepare" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 24
      ----
      <f:checkbox field="FINALIZE" title="Finalize" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 27
      ----
      <f:checkbox field="CHANGEDFILES" title="ChangedFiles" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 28
      ----
      <f:checkbox field="BUILDRELATIONS" title="BuildRelations" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 29
      ----
      <f:checkbox field="INCLUDERELATIONS" title="IncludeRelations" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 36
      ----
      <f:checkbox field="TOTALTESTCOVERAGE" title="TotalTestCoverage" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 37
      ----
      <f:checkbox field="SYSTEMTESTCOVERAGE" title="SystemTestCoverage" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 38
      ----
      <f:checkbox field="INTEGRATIONTESTCOVERAGE" title="IntegrationTestCoverage" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 39
      ----
      <f:checkbox field="UNITTESTCOVERAGE" title="UnitTestCoverage" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 43
      ----
      <f:checkbox field="CODINGSTANDARD" title="CodingStandard" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 44
      ----
      <f:checkbox field="COMPILERWARNING" title="CompilerWarning" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 45
      ----
      <f:checkbox field="ABSTRACTINTERPRETATION" title="AbstractInterpretation" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 46
      ----
      <f:checkbox field="SECURITY" title="Security" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 50
      ----
      <f:checkbox field="AVGCYCLOMATICCOMPLEXITY" title="AvgCyclomaticComplexity" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 51
      ----
      <f:checkbox field="MAXCYCLOMATICCOMPLEXITY" title="MaxCyclomaticComplexity" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 55
      ----
      <f:checkbox field="FANOUT" title="FanOut" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 56
      ----
      <f:checkbox field="DEADCODE" title="DeadCode" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 57
      ----
      <f:checkbox field="DUPLICATEDCODE" title="DuplicatedCode" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 63
      ----
      <f:checkbox field="LOC" title="Loc" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 64
      ----
      <f:checkbox field="ELOC" title="Eloc" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 65
      ----
      <f:checkbox field="GLOC" title="Gloc" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 69
      ----
      <f:checkbox field="CHANGERATE" title="ChangeRate" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 70
      ----
      <f:checkbox field="LINESADDED" title="LinesAdded" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 71
      ----
      <f:checkbox field="LINESDELETED" title="LinesDeleted" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 72
      ----
      <f:checkbox field="LINESCHANGED" title="LinesChanged" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 76
      ----
      <f:checkbox field="ACCUCHANGERATE" title="AccuChangeRate" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 77
      ----
      <f:checkbox field="ACCULINESADDED" title="AccuLinesAdded" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 78
      ----
      <f:checkbox field="ACCULINESDELETED" title="AccuLinesDeleted" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 79
      ----
      <f:checkbox field="ACCULINESCHANGED" title="AccuLinesChanged" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 83
      ----
      <f:checkbox field="FIXRATE" title="FixRate" onclick="onMetricsCheckboxClick()"/>
      ----
      
      == Inline Event Handler
      Line: 84
      ----
      <f:checkbox field="ACCUFIXRATE" title="AccuFixRate" onclick="onMetricsCheckboxClick()"/>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: