twitter / twitter-text
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
28% | 7% | 26% | 10% | 28%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
java49% | 0% | 30% | 13% | 5%
m93% | 0% | 0% | 0% | 6%
rb0% | 21% | 50% | 11% | 15%
js0% | 0% | 0% | 7% | 92%
h0% | 0% | 0% | 0% | 100%
scala0% | 0% | 0% | 0% | 100%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
java49% | 0% | 30% | 13% | 5%
objc88% | 0% | 0% | 0% | 11%
rb0% | 21% | 50% | 11% | 16%
js0% | 0% | 0% | 7% | 92%
unicode_regex0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
TldLists.java
in java/src/main/java/com/twitter/twittertext
1585 1
TwitterText.m
in objc/lib
1155 1
689 4
432 5
Extractor.java
in java/src/main/java/com/twitter/twittertext
386 38
Autolink.java
in java/src/main/java/com/twitter/twittertext
336 42
326 2
regex.rb
in rb/lib/twitter-text
301 2
Regex.java
in java/src/main/java/com/twitter/twittertext
269 3
extractor.rb
in rb/lib/twitter-text
267 17
autolink.rb
in rb/lib/twitter-text
264 18
TwitterTextConfiguration.java
in java/src/main/java/com/twitter/twittertext
176 27
validation.rb
in rb/lib/twitter-text
161 12
index.js
in js/src/regexp
156 -
TwitterTextEmojiRegex.java
in java/src/main/java/com/twitter/twittertext
151 1
TwitterTextParser.java
in java/src/main/java/com/twitter/twittertext
121 5
spec_helper.rb
in rb/spec
110 -
106 -
validGTLD.js
in js/src/regexp
99 -
index.js
in js/src
96 -
75 2
75 1
70 -
69 -
parseTweet.js
in js/src
66 1
hit_highlighter.rb
in rb/lib/twitter-text
64 1
63 -
regex_spec.rb
in rb/spec
63 -
HitHighlighter.java
in java/src/main/java/com/twitter/twittertext
62 5
58 2
TwitterText.h
in objc/lib
55 -
rewriter.rb
in rb/lib/twitter-text
54 5
52 8
configs.js
in js/src
51 -
51 1
configuration.rb
in rb/lib/twitter-text
50 4
isValidUrl.js
in js/src
47 2
41 1
TwitterTextParseResults.java
in java/src/main/java/com/twitter/twittertext
39 4
Validator.java
in java/src/main/java/com/twitter/twittertext
39 8
Range.java
in java/src/main/java/com/twitter/twittertext
38 5
34 -
34 1
33 1
linkToUrl.js
in js/src
32 1
extractUrl.js
in js/src/regexp
29 -
28 1
26 2
26 -
regexSupplant.js
in js/src/lib
25 1
Files With Most Units (Top 50)
File# lines# units
Autolink.java
in java/src/main/java/com/twitter/twittertext
336 42
Extractor.java
in java/src/main/java/com/twitter/twittertext
386 38
TwitterTextConfiguration.java
in java/src/main/java/com/twitter/twittertext
176 27
autolink.rb
in rb/lib/twitter-text
264 18
extractor.rb
in rb/lib/twitter-text
267 17
validation.rb
in rb/lib/twitter-text
161 12
Validator.java
in java/src/main/java/com/twitter/twittertext
39 8
52 8
Range.java
in java/src/main/java/com/twitter/twittertext
38 5
HitHighlighter.java
in java/src/main/java/com/twitter/twittertext
62 5
TwitterTextParser.java
in java/src/main/java/com/twitter/twittertext
121 5
432 5
rewriter.rb
in rb/lib/twitter-text
54 5
TwitterTextParseResults.java
in java/src/main/java/com/twitter/twittertext
39 4
689 4
configuration.rb
in rb/lib/twitter-text
50 4
Regex.java
in java/src/main/java/com/twitter/twittertext
269 3
75 2
26 2
isValidUrl.js
in js/src
47 2
58 2
326 2
regex.rb
in rb/lib/twitter-text
301 2
hash_helper.rb
in rb/lib/twitter-text
15 2
weighted_range.rb
in rb/lib/twitter-text
16 2
TwitterTextEmojiRegex.java
in java/src/main/java/com/twitter/twittertext
151 1
TldLists.java
in java/src/main/java/com/twitter/twittertext
1585 1
16 1
tagAttrs.js
in js/src
21 1
6 1
10 1
9 1
9 1
linkToUrl.js
in js/src
32 1
9 1
autoLink.js
in js/src
8 1
4 1
8 1
8 1
4 1
linkToText.js
in js/src
18 1
4 1
51 1
9 1
14 1
23 1
splitTags.js
in js/src
18 1
6 1
8 1
19 1
Files With Long Lines (Top 30)

There are 30 files with lines longer than 120 characters. In total, there are 172 long lines.

File# lines# units# long lines
TwitterText.m
in objc/lib
1155 1 74
52 8 19
689 4 14
validation.rb
in rb/lib/twitter-text
161 12 8
326 2 7
106 - 5
70 - 5
spec_helper.rb
in rb/spec
110 - 5
regex.rb
in rb/lib/twitter-text
301 2 5
autolink.rb
in rb/lib/twitter-text
264 18 5
TwitterText.h
in objc/lib
55 - 3
extractor.rb
in rb/lib/twitter-text
267 17 3
69 - 2
2 - 1
2 - 1
hashtagAlphaNumeric.js
in js/src/regexp
19 - 1
hashtagSpecialChars.js
in js/src/regexp
2 - 1
validHashtag.js
in js/src/regexp
10 - 1
13 - 1
latinAccentChars.js
in js/src/regexp
2 - 1
bmpNumerals.js
in js/src/regexp
2 - 1
2 - 1
astralNumerals.js
in js/src/regexp
2 - 1
28 1 1
11 - 1
63 - 1
25 - 1
regex_spec.rb
in rb/spec
63 - 1
configuration.rb
in rb/lib/twitter-text
50 4 1
weighted_range.rb
in rb/lib/twitter-text
16 2 1
Correlations

File Size vs. Commits (all time): 176 points

java/src/main/java/com/twitter/twittertext/Regex.java x: 7 commits (all time) y: 269 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextConfiguration.java x: 5 commits (all time) y: 176 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextEmojiRegex.java x: 2 commits (all time) y: 151 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextParser.java x: 5 commits (all time) y: 121 lines of code java/src/main/java/com/twitter/twittertext/Validator.java x: 7 commits (all time) y: 39 lines of code js/babel.config.js x: 1 commits (all time) y: 26 lines of code js/rollup.config.js x: 3 commits (all time) y: 34 lines of code js/src/index.js x: 5 commits (all time) y: 96 lines of code js/src/parseTweet.js x: 4 commits (all time) y: 66 lines of code js/src/regexp/validCCTLD.js x: 5 commits (all time) y: 20 lines of code js/src/standardizeIndices.js x: 1 commits (all time) y: 12 lines of code objc/lib/TwitterText.h x: 15 commits (all time) y: 55 lines of code objc/lib/TwitterText.m x: 73 commits (all time) y: 1155 lines of code rb/lib/twitter-text/regex.rb x: 39 commits (all time) y: 301 lines of code rb/twitter-text.gemspec x: 42 commits (all time) y: 25 lines of code java/src/main/java/com/twitter/twittertext/TldLists.java x: 6 commits (all time) y: 1585 lines of code rb/lib/twitter-text/autolink.rb x: 13 commits (all time) y: 264 lines of code rb/spec/autolinking_spec.rb x: 7 commits (all time) y: 689 lines of code java/src/main/java/com/twitter/Regex.java x: 4 commits (all time) y: 3 lines of code java/src/main/java/com/twitter/twittertext/Autolink.java x: 4 commits (all time) y: 336 lines of code java/src/main/java/com/twitter/twittertext/Extractor.java x: 5 commits (all time) y: 386 lines of code java/src/main/java/com/twitter/twittertext/HitHighlighter.java x: 4 commits (all time) y: 62 lines of code java/src/main/java/com/twitter/twittertext/Range.java x: 2 commits (all time) y: 38 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextParseResults.java x: 4 commits (all time) y: 39 lines of code js/Gruntfile.js x: 3 commits (all time) y: 8 lines of code js/scripts/buildConfig.js x: 2 commits (all time) y: 23 lines of code js/src/autoLink.js x: 2 commits (all time) y: 8 lines of code js/src/autoLinkCashtags.js x: 2 commits (all time) y: 6 lines of code js/src/autoLinkEntities.js x: 2 commits (all time) y: 58 lines of code js/src/autoLinkWithJSON.js x: 2 commits (all time) y: 25 lines of code js/src/configs.js x: 1 commits (all time) y: 51 lines of code js/src/convertUnicodeIndices.js x: 2 commits (all time) y: 33 lines of code js/src/extractCashtagsWithIndices.js x: 2 commits (all time) y: 16 lines of code js/src/extractHtmlAttrsFromOptions.js x: 2 commits (all time) y: 51 lines of code js/src/extractUrlsWithIndices.js x: 4 commits (all time) y: 75 lines of code js/src/hitHighlight.js x: 2 commits (all time) y: 75 lines of code js/src/isValidUrl.js x: 2 commits (all time) y: 47 lines of code js/src/lib/idna.js x: 6 commits (all time) y: 21 lines of code js/src/linkToTextWithSymbol.js x: 4 commits (all time) y: 15 lines of code js/src/regexp/directionalMarkersGroup.js x: 1 commits (all time) y: 2 lines of code js/src/regexp/index.js x: 4 commits (all time) y: 156 lines of code objc/lib/TwitterTextEntity.m x: 5 commits (all time) y: 63 lines of code rb/lib/twitter-text.rb x: 3 commits (all time) y: 22 lines of code rb/lib/twitter-text/configuration.rb x: 6 commits (all time) y: 50 lines of code rb/lib/twitter-text/deprecation.rb x: 5 commits (all time) y: 16 lines of code rb/lib/twitter-text/extractor.rb x: 7 commits (all time) y: 267 lines of code rb/lib/twitter-text/hash_helper.rb x: 6 commits (all time) y: 15 lines of code rb/lib/twitter-text/validation.rb x: 7 commits (all time) y: 161 lines of code rb/spec/configuration_spec.rb x: 4 commits (all time) y: 106 lines of code rb/spec/extractor_spec.rb x: 5 commits (all time) y: 326 lines of code rb/spec/hithighlighter_spec.rb x: 5 commits (all time) y: 69 lines of code rb/spec/rewriter_spec.rb x: 5 commits (all time) y: 432 lines of code rb/spec/spec_helper.rb x: 5 commits (all time) y: 110 lines of code rb/spec/twitter_text_spec.rb x: 3 commits (all time) y: 17 lines of code rb/spec/validation_spec.rb x: 6 commits (all time) y: 70 lines of code
1585.0
lines of code
  min: 2.0
  average: 55.46
  25th percentile: 4.25
  median: 12.0
  75th percentile: 32.75
  max: 1585.0
0 73.0
commits (all time)
min: 1.0 | average: 3.66 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.75 | max: 73.0

File Size vs. Contributors (all time): 176 points

java/src/main/java/com/twitter/twittertext/Regex.java x: 5 contributors (all time) y: 269 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextConfiguration.java x: 4 contributors (all time) y: 176 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextEmojiRegex.java x: 2 contributors (all time) y: 151 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextParser.java x: 4 contributors (all time) y: 121 lines of code java/src/main/java/com/twitter/twittertext/Validator.java x: 5 contributors (all time) y: 39 lines of code js/babel.config.js x: 1 contributors (all time) y: 26 lines of code js/rollup.config.js x: 3 contributors (all time) y: 34 lines of code js/src/index.js x: 4 contributors (all time) y: 96 lines of code js/src/parseTweet.js x: 3 contributors (all time) y: 66 lines of code js/src/regexp/validCCTLD.js x: 4 contributors (all time) y: 20 lines of code js/src/standardizeIndices.js x: 1 contributors (all time) y: 12 lines of code objc/lib/TwitterText.h x: 10 contributors (all time) y: 55 lines of code objc/lib/TwitterText.m x: 23 contributors (all time) y: 1155 lines of code rb/lib/twitter-text/regex.rb x: 19 contributors (all time) y: 301 lines of code rb/twitter-text.gemspec x: 15 contributors (all time) y: 25 lines of code java/src/main/java/com/twitter/twittertext/TldLists.java x: 4 contributors (all time) y: 1585 lines of code rb/lib/twitter-text/autolink.rb x: 10 contributors (all time) y: 264 lines of code rb/spec/autolinking_spec.rb x: 7 contributors (all time) y: 689 lines of code java/src/main/java/com/twitter/Regex.java x: 3 contributors (all time) y: 3 lines of code java/src/main/java/com/twitter/twittertext/Autolink.java x: 3 contributors (all time) y: 336 lines of code java/src/main/java/com/twitter/twittertext/Extractor.java x: 3 contributors (all time) y: 386 lines of code java/src/main/java/com/twitter/twittertext/HitHighlighter.java x: 3 contributors (all time) y: 62 lines of code java/src/main/java/com/twitter/twittertext/Range.java x: 2 contributors (all time) y: 38 lines of code java/src/main/java/com/twitter/twittertext/TwitterTextParseResults.java x: 3 contributors (all time) y: 39 lines of code js/Gruntfile.js x: 3 contributors (all time) y: 8 lines of code js/scripts/buildConfig.js x: 2 contributors (all time) y: 23 lines of code js/src/autoLink.js x: 2 contributors (all time) y: 8 lines of code js/src/autoLinkCashtags.js x: 2 contributors (all time) y: 6 lines of code js/src/autoLinkEntities.js x: 2 contributors (all time) y: 58 lines of code js/src/autoLinkWithJSON.js x: 2 contributors (all time) y: 25 lines of code js/src/configs.js x: 1 contributors (all time) y: 51 lines of code js/src/convertUnicodeIndices.js x: 2 contributors (all time) y: 33 lines of code js/src/extractCashtagsWithIndices.js x: 2 contributors (all time) y: 16 lines of code js/src/extractHtmlAttrsFromOptions.js x: 2 contributors (all time) y: 51 lines of code js/src/extractUrlsWithIndices.js x: 4 contributors (all time) y: 75 lines of code js/src/hitHighlight.js x: 2 contributors (all time) y: 75 lines of code js/src/isValidUrl.js x: 2 contributors (all time) y: 47 lines of code js/src/linkToTextWithSymbol.js x: 3 contributors (all time) y: 15 lines of code js/src/regexp/directionalMarkersGroup.js x: 1 contributors (all time) y: 2 lines of code js/src/regexp/index.js x: 4 contributors (all time) y: 156 lines of code objc/lib/TwitterTextEntity.h x: 4 contributors (all time) y: 15 lines of code objc/lib/TwitterTextEntity.m x: 4 contributors (all time) y: 63 lines of code rb/lib/twitter-text.rb x: 3 contributors (all time) y: 22 lines of code rb/lib/twitter-text/configuration.rb x: 4 contributors (all time) y: 50 lines of code rb/lib/twitter-text/deprecation.rb x: 5 contributors (all time) y: 16 lines of code rb/lib/twitter-text/extractor.rb x: 6 contributors (all time) y: 267 lines of code rb/lib/twitter-text/rewriter.rb x: 6 contributors (all time) y: 54 lines of code rb/lib/twitter-text/validation.rb x: 6 contributors (all time) y: 161 lines of code rb/spec/configuration_spec.rb x: 4 contributors (all time) y: 106 lines of code rb/spec/extractor_spec.rb x: 5 contributors (all time) y: 326 lines of code rb/spec/hithighlighter_spec.rb x: 5 contributors (all time) y: 69 lines of code rb/spec/regex_spec.rb x: 5 contributors (all time) y: 63 lines of code rb/spec/rewriter_spec.rb x: 5 contributors (all time) y: 432 lines of code rb/spec/spec_helper.rb x: 5 contributors (all time) y: 110 lines of code rb/spec/unicode_spec.rb x: 5 contributors (all time) y: 23 lines of code rb/spec/validation_spec.rb x: 6 contributors (all time) y: 70 lines of code unicode_regex/unicode_regex_groups.scala x: 5 contributors (all time) y: 52 lines of code
1585.0
lines of code
  min: 2.0
  average: 55.46
  25th percentile: 4.25
  median: 12.0
  75th percentile: 32.75
  max: 1585.0
0 23.0
contributors (all time)
min: 1.0 | average: 2.9 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 23.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".