<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=StatLens%3ASidebar_View</id>
	<title>StatLens:Sidebar View - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=StatLens%3ASidebar_View"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=StatLens:Sidebar_View&amp;action=history"/>
	<updated>2026-10-21T04:38:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.mutigeraffe.com/index.php?title=StatLens:Sidebar_View&amp;diff=2515&amp;oldid=prev</id>
		<title>Maintenance script: StatLens wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=StatLens:Sidebar_View&amp;diff=2515&amp;oldid=prev"/>
		<updated>2026-10-20T21:29:39Z</updated>

		<summary type="html">&lt;p&gt;StatLens wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Stat Lens adds one view to the Explorer, called &amp;#039;&amp;#039;&amp;#039;Stat Lens&amp;#039;&amp;#039;&amp;#039;. It is a tree with one row per figure. Some rows can be expanded. Expanded and collapsed sections stay as they are when the view is refreshed.&lt;br /&gt;
&lt;br /&gt;
[[File:StatLens_Screenshot_01.png|475px|The Stat Lens view with the Languages section expanded]]&lt;br /&gt;
&lt;br /&gt;
== Rows ==&lt;br /&gt;
The rows appear in this order. A row is left out when there is no value for it.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Row !! Shows&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Languages&amp;#039;&amp;#039; || Total lines of code and the number of languages, for example &amp;lt;code&amp;gt;162,687 lines · 9 languages&amp;lt;/code&amp;gt;. Expand it to see each language.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Files&amp;#039;&amp;#039; || Number of files and folders that were scanned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Size&amp;#039;&amp;#039; || Total size of all scanned files, in B, KB, MB, GB or TB (steps of 1024).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Largest File&amp;#039;&amp;#039; || The file with the most lines of code, with its path and line count. Click it to open the file.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Project Age&amp;#039;&amp;#039; || Date of the first commit, how long ago that was, and the source.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Last Change&amp;#039;&amp;#039; || Date of the last commit, how long ago that was, and the source.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Git&amp;#039;&amp;#039; || Number of commits. Expand it for more. See [[#Git|Git]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Dependencies&amp;#039;&amp;#039; || Total number of dependencies in all manifest files. Expand it to see each file. See [[StatLens:Dependencies|Dependencies]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Warnings&amp;#039;&amp;#039; || Only shown when the scan had problems. Expand it to see them. See [[#Warnings|Warnings]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Last Scan&amp;#039;&amp;#039; || Date and time of the scan the view is showing.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Languages ==&lt;br /&gt;
Each language has its own row under &amp;#039;&amp;#039;Languages&amp;#039;&amp;#039;, sorted by lines of code, the largest first. A row shows:&lt;br /&gt;
* a colored dot in the language color used by GitHub Linguist. Languages without such a color get one from a fixed palette, always the same for the same language.&lt;br /&gt;
* a text bar of ten blocks, for example &amp;lt;code&amp;gt;████░░░░░░&amp;lt;/code&amp;gt;, as a quick visual of the share&lt;br /&gt;
* the share of all lines of code in percent, with one decimal&lt;br /&gt;
* the lines of code and the number of files in that language&lt;br /&gt;
&lt;br /&gt;
The list includes programming languages and also markup, data and prose formats, for example HTML, JSON, YAML or Markdown. How lines are counted is explained on [[StatLens:Scanning|Scanning]].&lt;br /&gt;
&lt;br /&gt;
== Project Age and Last Change ==&lt;br /&gt;
Both rows prefer Git:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Row !! With Git !! Without Git&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Project Age&amp;#039;&amp;#039; || date of the first commit (&amp;lt;code&amp;gt;source: first commit&amp;lt;/code&amp;gt;) || oldest creation time of a scanned file (&amp;lt;code&amp;gt;source: oldest file&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Last Change&amp;#039;&amp;#039; || date of the last commit (&amp;lt;code&amp;gt;source: last commit&amp;lt;/code&amp;gt;) || newest modification time of a scanned file (&amp;lt;code&amp;gt;source: most recent file change&amp;lt;/code&amp;gt;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relative age is rounded down: &amp;lt;code&amp;gt;today&amp;lt;/code&amp;gt;, then days, then months (30 days each), then years (365 days each).&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
Expand &amp;#039;&amp;#039;Git&amp;#039;&amp;#039; to see:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Row !! Shows&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Commits&amp;#039;&amp;#039; || Number of commits reachable from the current &amp;lt;code&amp;gt;HEAD&amp;lt;/code&amp;gt;, so the history of the branch you have checked out.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Contributors&amp;#039;&amp;#039; || Number of different author e-mail addresses in that history. Upper and lower case are ignored.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;First Commit&amp;#039;&amp;#039; || Date of the oldest commit. If the history has more than one root commit, the oldest one counts.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Last Commit&amp;#039;&amp;#039; || Date of the newest commit on &amp;lt;code&amp;gt;HEAD&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the folder is not a Git repository, the &amp;#039;&amp;#039;Git&amp;#039;&amp;#039; row says &amp;lt;code&amp;gt;not a Git repository&amp;lt;/code&amp;gt; and cannot be expanded. Other notes that can appear:&lt;br /&gt;
* &amp;lt;code&amp;gt;git is not installed or not in PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;no commits yet&amp;lt;/code&amp;gt;, for a repository without commits&lt;br /&gt;
* &amp;lt;code&amp;gt;git log failed: ...&amp;lt;/code&amp;gt;, if Git returned an error&lt;br /&gt;
&lt;br /&gt;
Only the first folder of the workspace is used, so Git data comes from the repository that contains that folder.&lt;br /&gt;
&lt;br /&gt;
== Warnings ==&lt;br /&gt;
&amp;#039;&amp;#039;Warnings&amp;#039;&amp;#039; lists problems that did not stop the scan:&lt;br /&gt;
* &amp;lt;code&amp;gt;Folder not readable: ...&amp;lt;/code&amp;gt;, for a folder the extension could not open. Its contents are skipped.&lt;br /&gt;
* &amp;lt;code&amp;gt;Language detection failed: ...&amp;lt;/code&amp;gt;. In this case no lines of code are counted, but files, size, dates and dependencies are still shown.&lt;br /&gt;
&lt;br /&gt;
If the whole scan fails, a row with &amp;lt;code&amp;gt;Scan failed: ...&amp;lt;/code&amp;gt; and a warning icon appears at the top. An older result stays visible below it.&lt;br /&gt;
&lt;br /&gt;
== Other states ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! What you see !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;No data for this project yet.&amp;#039;&amp;#039; with a &amp;#039;&amp;#039;Scan now&amp;#039;&amp;#039; link || There is no result yet. Click &amp;#039;&amp;#039;Scan now&amp;#039;&amp;#039; to start a scan.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Scanning …&amp;#039;&amp;#039; with a spinning icon || A scan is running. The status bar shows the current step, for example &amp;lt;code&amp;gt;Counting lines … 120/497&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;No files found&amp;lt;/code&amp;gt; || The folder is empty or every file in it is excluded.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;No workspace folder open&amp;lt;/code&amp;gt; || Open a folder to use the view.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Number and date format ==&lt;br /&gt;
Numbers, dates and times follow the display language of VS Code. With English, a number looks like &amp;lt;code&amp;gt;69,833&amp;lt;/code&amp;gt; and a date like &amp;lt;code&amp;gt;Oct 16, 2026&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{StatLens Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>