94f5cba9101bba0a64abf2f922202a4de19e7084
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Upgrade / ExtensionScanner.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2
3 <p>
4 This module scans extensions for usage of deprecated and removed TYPO3 API calls.
5 The module can be a great help for extension developers and site maintainers when
6 upgrading to new core versions. However, the detection approach - based on static
7 code analysis - is limited by concept: false positives/negatives are impossible to avoid.
8 Further details can be found at
9 <a style="text-decoration: underline;" target="_blank" rel="noopener" href="https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/ExtensionScanner/Index.html">
10 the official docs.
11 </a>
12 </p>
13
14 <div style="display: none">
15 <div id="t3js-extensionScanner-file-hit-template">
16 <div class="panel panel-flat t3js-extensionScanner-hit-panel risk-medium">
17 <div class="panel-heading">
18 <h3 class="panel-title">
19 <a href="#collapse" class="collapsed t3js-extensionScanner-hit-file-panel-head" data-toggle="collapse">
20 <span class="caret"></span>
21 <span class="pull-right badges"></span>
22 <span class="t3js-extensionScanner-hit-filename file">aFile</span>
23 <span class="t3js-extensionScanner-hit-message message">aMessage</span>
24 </a>
25 </h3>
26 </div>
27 <div id="collapse" class="panel-collapse collapse t3js-extensionScanner-hit-file-panel-body">
28 <div class="panel-body">
29 <pre><strong class="t3js-extensionScanner-hit-file-line"></strong><span class="t3js-extensionScanner-hit-file-lineContent"></span></pre>
30 <div class="panel-group-flat t3js-extensionScanner-hit-file-rest-container"></div>
31 </div>
32 </div>
33 </div>
34 </div>
35 <div id="t3js-extensionScanner-file-hit-rest-template">
36 <div class="panel panel-flat t3js-extensionScanner-hit-rest-panel risk-medium">
37 <div class="panel-heading">
38 <h3 class="panel-title">
39 <a href="#collapse-rest"
40 class="collapsed t3js-extensionScanner-hit-rest-panel-head"
41 data-toggle="collapse"
42 >
43 <span class="badge pull-right">aBadge</span>
44 <span class="caret"></span>
45 <strong class="t3js-extensionScanner-hit-rest-headline">restFileHeadline</strong>
46 </a>
47 </h3>
48 </div>
49 <div id="collapse-rest" class="panel-collapse collapse t3js-extensionScanner-hit-rest-panel-body">
50 <pre class="t3js-extensionScanner-hit-rest-body">restFileContent</pre>
51 </div>
52 </div>
53 </div>
54 </div>
55
56 <div
57 class="t3js-module-content"
58 data-extension-scanner-files-token="{extensionScannerFilesToken}"
59 data-extension-scanner-scan-file-token="{extensionScannerScanFileToken}"
60 data-extension-scanner-mark-fully-scanned-rest-files-token="{extensionScannerMarkFullyScannedRestFilesToken}"
61 >
62 <div class="progress t3js-extensionScanner-progress-all-extension">
63 <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0;">
64 <span class="text-nowrap"></span>
65 </div>
66 </div>
67
68 <button class="btn btn-default t3js-extensionScanner-scan-all" type="submit">
69 Scan all
70 </button>
71
72 <h2>Extensions</h2>
73
74 <div class="panel-group panel-group-flat panel-group-scanner-extensions">
75 <f:for each="{extensionScannerExtensionList}" as="extensionInTypo3conf" iteration="iterator">
76 <div
77 class="panel panel-default panel-flat t3js-extensionScanner-extension t3js-extensionScanner-extension-{extensionInTypo3conf.filename}"
78 data-extension="{extensionInTypo3conf.filename}">
79 <div class="panel-progress">
80 <div class="panel-progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0;"><span class="sr-only"></span></div>
81 </div>
82 <div class="panel-heading">
83 <h2 class="panel-title">
84 <a href="#extension-{iterator.index}" class="collapsed" data-toggle="collapse">
85 <span class="caret"></span>
86 Extension: <strong>{extensionInTypo3conf.filename}</strong>
87 <span class="pull-right t3js-extensionScanner-number-of-files"></span>
88 </a>
89 </h2>
90 </div>
91 <div class="panel-collapse collapse" id="extension-{iterator.index}">
92 <div class="panel-body hide t3js-extensionScanner-extension-body"></div>
93 <div class="panel-footer">
94 <div>Effective lines of code: <span class="t3js-extensionScanner-extension-body-loc">0</span></div>
95 <div>Files ignored by scanner: <span class="t3js-extensionScanner-extension-body-ignored-files">0</span></div>
96 <div>Code lines ignored by scanner: <span class="t3js-extensionScanner-extension-body-ignored-lines">0</span></div>
97 <button class="btn btn-default t3js-extensionScanner-scan-single" data-extension="{extensionInTypo3conf.filename}" type="submit">
98 Scanning…
99 </button>
100 </div>
101 </div>
102 </div>
103 </f:for>
104 </div>
105 </div>
106
107 </html>