Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Statistics is based on count of files; any way to make this based on file size. #103

Closed
NathanaelA opened this issue May 2, 2017 · 3 comments
Assignees

Comments

@NathanaelA
Copy link

For example; in one of my repos I have a ton of small files; most of them like documentation there are two or more of. However, there is only ONE Large JavaScript file. SearchCode insists the JS code is only 12% of the repo. Where if you count file sizes of the repo; JS would end up being over 50% of the project.

@boyter
Copy link
Owner

boyter commented May 2, 2017

Thats actually a better way of calculating the size. Sounds like a good enhancement.

@boyter boyter self-assigned this May 2, 2017
@boyter
Copy link
Owner

boyter commented May 4, 2017

https://i.imgur.com/WLDHoNN.png OR https://imgur.com/a/OZOEf

Example how this looks in practice.

@boyter
Copy link
Owner

boyter commented May 4, 2017

Merged into master.

@boyter boyter closed this as completed May 4, 2017
boyter added a commit that referenced this issue Jun 14, 2017
 - BREAKING CHANGE Changed validation of repository names such that they must be alphanumeric, _ or - with client and server side validation
 - BREAKING CHANGE Fix spelling of check_filerepo_chages to check_filerepo_changes for properties file
 - Set follow symlinks to be configurable through properties file #99
 - Clicking Remove will also clear the text box filters #98
 - Improved stop/reset jobs logic, deleted jobs persist on searchcode restart #41
 - Add logic to calculate project stats by lines not files and display next to existing #103
 - Deep guess logic added to guess a files type based on keyword heuristic's #105
 - Additional languages added to classifier database, F#, Mathematica, Parrot, Puppet, Rakefile, PKGBUILD, Cargo, Lock, License
 - API auditing via logs added #57
 - Search results now have RSS feed #114
 - Can add custom HTML/CSS/JS to all pages #107
 - Add average index time seconds to repo overview page #118
 - Fix bug where unable to filter on html page #120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants