-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cb80e2
commit a0eb274
Showing
6 changed files
with
168 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PHP: | ||
nFiles: 6 | ||
blank: 226 | ||
comment: 1122 | ||
code: 1020 | ||
SUM: | ||
blank: 226 | ||
code: 1020 | ||
comment: 1122 | ||
nFiles: 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
PHP: | ||
nFiles: 10 | ||
blank: 273 | ||
comment: 1464 | ||
code: 1247 | ||
Markdown: | ||
nFiles: 8 | ||
blank: 194 | ||
comment: 0 | ||
code: 757 | ||
CSS: | ||
nFiles: 2 | ||
blank: 49 | ||
comment: 43 | ||
code: 299 | ||
Twig: | ||
nFiles: 1 | ||
blank: 7 | ||
comment: 0 | ||
code: 49 | ||
JSON: | ||
nFiles: 1 | ||
blank: 0 | ||
comment: 0 | ||
code: 44 | ||
Apache config: | ||
nFiles: 1 | ||
blank: 2 | ||
comment: 3 | ||
code: 12 | ||
Javascript: | ||
nFiles: 1 | ||
blank: 0 | ||
comment: 3 | ||
code: 1 | ||
SUM: | ||
blank: 525 | ||
code: 2409 | ||
comment: 1513 | ||
nFiles: 24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<table> | ||
<thead> | ||
<tr> | ||
<th style="width: 100%;">Language</th> | ||
<th>Files</th> | ||
<th>Blank lines</th> | ||
<th>Comment lines</th> | ||
<th>Code lines</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in cloc %} | ||
{% if item[0] != "SUM" %} | ||
<tr> | ||
<td>{{ item[0] }}</td> | ||
<td class="align-right">{{ item[1].nFiles }}</td> | ||
<td class="align-right">{{ item[1].blank }}</td> | ||
<td class="align-right">{{ item[1].comment }}</td> | ||
<td class="align-right">{{ item[1].code }}</td> | ||
</tr> | ||
{% else %} | ||
<tr> | ||
<td></td> | ||
<td class="align-right"> | ||
<span class="amount small"> | ||
<span>#</span> | ||
{{ item[1].nFiles }} | ||
</span> | ||
</td> | ||
<td class="align-right"> | ||
<span class="amount small"> | ||
<span>#</span> | ||
{{ item[1].blank }} | ||
</span> | ||
</td> | ||
<td class="align-right"> | ||
<span class="amount small"> | ||
<span>#</span> | ||
{{ item[1].comment }} | ||
</span> | ||
</td> | ||
<td class="align-right"> | ||
<span class="amount small"> | ||
<span>#</span> | ||
{{ item[1].code }} | ||
</span> | ||
</td> | ||
</tr> | ||
{% endif %} | ||
{% endfor %} | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
layout: default | ||
title: Code Statistics | ||
headline: Code Statistics | ||
description: Pico's code statistics are powered by [cloc](https://github.com/AlDanial/cloc). | ||
nav-url: /docs/ | ||
--- | ||
|
||
## Pico's core | ||
|
||
The following table shows code statistics for Pico's core in the version of the latest release, without all non-essential additions (like the `PicoDeprecated` plugin or Pico's default theme). | ||
|
||
{% assign cloc = site.data.clocCore %} | ||
{% include cloc.html %} | ||
|
||
## Release package | ||
|
||
The following table shows code statistics of everything that is shipped in Pico's latest release package, including all recommended additions. | ||
|
||
{% assign cloc = site.data.clocRelease %} | ||
{% include cloc.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters