<?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%3AFAQ</id>
	<title>StatLens:FAQ - 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%3AFAQ"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=StatLens:FAQ&amp;action=history"/>
	<updated>2026-10-21T08:32:20Z</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:FAQ&amp;diff=2511&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:FAQ&amp;diff=2511&amp;oldid=prev"/>
		<updated>2026-10-20T21:29:38Z</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;;I don&amp;#039;t see the Stat Lens view.&lt;br /&gt;
:Open the Explorer and look for the &amp;#039;&amp;#039;Stat Lens&amp;#039;&amp;#039; section. If it is missing, right-click the title of the Explorer and check that &amp;#039;&amp;#039;Stat Lens&amp;#039;&amp;#039; is enabled. The extension is also disabled in Restricted Mode and in virtual workspaces. Trust the folder or open it from the local disk. See [[StatLens:Installation|Installation]].&lt;br /&gt;
&lt;br /&gt;
;The view still shows old numbers.&lt;br /&gt;
:When you open a folder that was scanned before, Stat Lens shows the saved result and does not scan again on its own. The date in &amp;#039;&amp;#039;Last Scan&amp;#039;&amp;#039; tells you how old it is. Click the refresh icon to scan now. See [[StatLens:Scanning#When it scans|When it scans]].&lt;br /&gt;
&lt;br /&gt;
;Why does a scan start while I am typing?&lt;br /&gt;
:Stat Lens scans again 15 seconds after the last file change. Saving a file counts as a change. Changes in excluded folders do not.&lt;br /&gt;
&lt;br /&gt;
;Why are my JSON or Markdown files in the language list?&lt;br /&gt;
:Stat Lens counts markup, data and prose formats as well as programming languages, like GitHub Linguist does. To leave out a whole folder, add its name to &amp;lt;code&amp;gt;projectStats.excludeFolders&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Why do the lines of code differ from GitHub?&lt;br /&gt;
:Both use the Linguist rules, but GitHub shows the share by file size in bytes. Stat Lens shows the share by lines of code. Stat Lens also only uses the &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; in the root folder for its file list.&lt;br /&gt;
&lt;br /&gt;
;A file is counted in Files and Size, but not in the lines of code.&lt;br /&gt;
:Lines are only counted for files with a language. Binary files, vendored files, files larger than 20 MB and files that Linguist leaves out are not counted. See [[StatLens:Scanning#Which files count|Which files count]].&lt;br /&gt;
&lt;br /&gt;
;&amp;#039;&amp;#039;Largest File&amp;#039;&amp;#039; is not the biggest file on disk.&lt;br /&gt;
:&amp;#039;&amp;#039;Largest File&amp;#039;&amp;#039; is the file with the most lines of code, not the one with the most bytes.&lt;br /&gt;
&lt;br /&gt;
;With &amp;lt;code&amp;gt;ignoreComments&amp;lt;/code&amp;gt; some code lines are missing.&lt;br /&gt;
:The comment check only looks at how a line starts. Lines such as &amp;lt;code&amp;gt;#include&amp;lt;/code&amp;gt;, Markdown headings or lines starting with &amp;lt;code&amp;gt;&amp;#039;&amp;lt;/code&amp;gt; are left out as well. See [[StatLens:Scanning#Ignoring comment lines|Ignoring comment lines]].&lt;br /&gt;
&lt;br /&gt;
;The Git row says &amp;lt;code&amp;gt;git is not installed or not in PATH&amp;lt;/code&amp;gt;.&lt;br /&gt;
:Install Git and make sure the &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; command works in a terminal. Restart VS Code and click the refresh icon.&lt;br /&gt;
&lt;br /&gt;
;The commit count is lower than expected.&lt;br /&gt;
:Only commits on the branch you have checked out are counted, not those on other branches.&lt;br /&gt;
&lt;br /&gt;
;Two contributors are counted for the same person.&lt;br /&gt;
:Contributors are counted by author e-mail address. If one person committed with two addresses, they count twice.&lt;br /&gt;
&lt;br /&gt;
;I have a multi-root workspace. Why is only one folder shown?&lt;br /&gt;
:Stat Lens only scans the first folder of the workspace.&lt;br /&gt;
&lt;br /&gt;
;Does Stat Lens send data anywhere?&lt;br /&gt;
:No. Language detection works offline with the data that ships with the extension. Git is only run locally.&lt;br /&gt;
&lt;br /&gt;
{{StatLens Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>