<?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%3ADependencies</id>
	<title>StatLens:Dependencies - 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%3ADependencies"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=StatLens:Dependencies&amp;action=history"/>
	<updated>2026-10-21T00:49: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:Dependencies&amp;diff=2510&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:Dependencies&amp;diff=2510&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;The &amp;#039;&amp;#039;Dependencies&amp;#039;&amp;#039; row counts the entries in the manifest files of the project. Its value is the total over all manifest files. Expand it to see one row per file, with its path and its count. Click a file to open it.&lt;br /&gt;
&lt;br /&gt;
If no manifest file is found, the row says &amp;lt;code&amp;gt;no manifest file found&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Supported files ==&lt;br /&gt;
Stat Lens looks at every scanned file with one of these names. Upper and lower case in the file name do not matter. Files in excluded folders, for example in &amp;lt;code&amp;gt;node_modules&amp;lt;/code&amp;gt;, are not read. See [[StatLens:Scanning|Scanning]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! File !! What is counted&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;package.json&amp;lt;/code&amp;gt; || The keys in &amp;lt;code&amp;gt;dependencies&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;devDependencies&amp;lt;/code&amp;gt;. Other sections such as &amp;lt;code&amp;gt;peerDependencies&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;optionalDependencies&amp;lt;/code&amp;gt; are not counted.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;requirements.txt&amp;lt;/code&amp;gt; || Every line that is not empty and does not start with &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;. Lines with options such as &amp;lt;code&amp;gt;-r other.txt&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-e .&amp;lt;/code&amp;gt; are therefore not counted.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pyproject.toml&amp;lt;/code&amp;gt; || See [[#pyproject.toml|pyproject.toml]] below.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;*.csproj&amp;lt;/code&amp;gt; || Every &amp;lt;code&amp;gt;&amp;amp;lt;PackageReference&amp;amp;gt;&amp;lt;/code&amp;gt; element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A project with several manifest files, for example a monorepo with one &amp;lt;code&amp;gt;package.json&amp;lt;/code&amp;gt; per package, gets one row per file. The rows are sorted by path.&lt;br /&gt;
&lt;br /&gt;
== pyproject.toml ==&lt;br /&gt;
The file is read line by line without a full TOML parser. These entries are counted:&lt;br /&gt;
* PEP 621: the strings in &amp;lt;code&amp;gt;dependencies = [...]&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;[project]&amp;lt;/code&amp;gt; table, and in every group in &amp;lt;code&amp;gt;[project.optional-dependencies]&amp;lt;/code&amp;gt;. Arrays on one line and arrays over several lines both work.&lt;br /&gt;
* Poetry: every key in &amp;lt;code&amp;gt;[tool.poetry.dependencies]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;[tool.poetry.dev-dependencies]&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;[tool.poetry.group.&amp;amp;lt;name&amp;amp;gt;.dependencies]&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt; entry is not counted.&lt;br /&gt;
&lt;br /&gt;
== When a file is skipped ==&lt;br /&gt;
A manifest file that cannot be read is left out of the list without a warning. This also happens when a &amp;lt;code&amp;gt;package.json&amp;lt;/code&amp;gt; is not valid JSON.&lt;br /&gt;
&lt;br /&gt;
{{StatLens Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>