Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Problem with unused library functions

オープン
#500 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
performance

調査の方向性

まず、添付された underscore.string(optimized).txt ファイルを確認し、プロジェクトの JavaScript ライブラリの内容と比較します。この issue には、実装のエントリーポイント、テスト、定義済みの受け入れ基準が記載されていません。作業を完了したと見なせるようになる前に、maintainer が未使用関数の削除を求めているのか、それとも別の解析ツールを求めているのかを判断する必要があります。

索引モデルが issue の本文から書いたものです。

説明

My name is Hernan; with a group of colleagues we are conducting a research about unused code present in dependencies of JavaScript projects. We call this functions, UFF (Unused foreign functions). We found that in most projects there exist a great amount of UFF that are being included in the final bundle.

In the case of underscore.string (v 3.3.4) our tools detected approximately 6 unused function in dependencies. Removing those functions, the size of underscore.string bundled could be reduced at least 2% (All tests passed). I’m attaching the reduced version of your project.
underscore.string(optimized).txt

I’ll be very grateful if you can answer me the following questions:
-Did you were aware of the existence of these unused functions in your projects?
-Do you think that this is a problem?
-Do you think that can be useful a tool for deal with this kind of problem?

Thanks in advance.

Cheers,

主要言語
JavaScript
スター
3.4k
フォーク
364
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

esamattis/underscore.string のほかの issue

esamattis/underscore.string の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。