mapillary / mapillary-python-sdk
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 31 files with 2,219 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (567 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,183 lines of code)
    • 20 very small files (469 lines of code)
0% | 0% | 25% | 53% | 21%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 25% | 53% | 20%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/mapillary/controller0% | 0% | 68% | 0% | 31%
src/mapillary/models/api0% | 0% | 75% | 0% | 24%
src/mapillary/utils0% | 0% | 0% | 92% | 7%
src/mapillary/models0% | 0% | 0% | 98% | 1%
ROOT0% | 0% | 0% | 85% | 14%
src/mapillary/config/api0% | 0% | 0% | 52% | 47%
src/mapillary0% | 0% | 0% | 96% | 3%
scripts0% | 0% | 0% | 0% | 100%
src/mapillary/config0% | 0% | 0% | 0% | 100%
Longest Files (Top 31)
File# lines# units
image.py
in src/mapillary/controller
358 7
vector_tiles.py
in src/mapillary/models/api
209 11
format.py
in src/mapillary/utils
163 11
verify.py
in src/mapillary/utils
155 11
filter.py
in src/mapillary/utils
153 17
geojson.py
in src/mapillary/models
128 19
setup.py
in root
122 5
entities.py
in src/mapillary/config/api
121 12
interface.py
in src/mapillary
121 17
exceptions.py
in src/mapillary/models
112 24
client.py
in src/mapillary/models
108 8
feature.py
in src/mapillary/controller
74 2
entities.py
in src/mapillary/models/api
66 5
vector_tiles.py
in src/mapillary/config/api
65 8
save.py
in src/mapillary/controller
61 2
57 1
general.py
in src/mapillary/config/api
40 6
detection.py
in src/mapillary/controller
26 2
auth.py
in src/mapillary/utils
20 2
in
11 -
extract.py
in src/mapillary/utils
9 1
8 -
__init__.py
in src/mapillary/utils
6 -
__init__.py
in src/mapillary
5 -
time.py
in src/mapillary/utils
5 1
__init__.py
in src/mapillary/models
4 -
__init__.py
in src/mapillary/controller
4 -
__init__.py
in src/mapillary/config/api
3 -
cfg
setup.cfg
in root
2 -
__init__.py
in src/mapillary/models/api
2 -
__init__.py
in src/mapillary/config
1 -
Files With Most Units (Top 21)
File# lines# units
exceptions.py
in src/mapillary/models
112 24
geojson.py
in src/mapillary/models
128 19
interface.py
in src/mapillary
121 17
filter.py
in src/mapillary/utils
153 17
entities.py
in src/mapillary/config/api
121 12
format.py
in src/mapillary/utils
163 11
verify.py
in src/mapillary/utils
155 11
vector_tiles.py
in src/mapillary/models/api
209 11
vector_tiles.py
in src/mapillary/config/api
65 8
client.py
in src/mapillary/models
108 8
image.py
in src/mapillary/controller
358 7
general.py
in src/mapillary/config/api
40 6
setup.py
in root
122 5
entities.py
in src/mapillary/models/api
66 5
auth.py
in src/mapillary/utils
20 2
save.py
in src/mapillary/controller
61 2
detection.py
in src/mapillary/controller
26 2
feature.py
in src/mapillary/controller
74 2
57 1
time.py
in src/mapillary/utils
5 1
extract.py
in src/mapillary/utils
9 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

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

setup.py x: 32 commits (all time) y: 122 lines of code src/mapillary/models/client.py x: 14 commits (all time) y: 108 lines of code src/mapillary/utils/filter.py x: 17 commits (all time) y: 153 lines of code src/mapillary/utils/format.py x: 14 commits (all time) y: 163 lines of code src/mapillary/controller/detection.py x: 12 commits (all time) y: 26 lines of code src/mapillary/interface.py x: 22 commits (all time) y: 121 lines of code src/mapillary/models/api/entities.py x: 15 commits (all time) y: 66 lines of code scripts/documentation.py x: 5 commits (all time) y: 57 lines of code src/mapillary/models/exceptions.py x: 15 commits (all time) y: 112 lines of code src/mapillary/models/geojson.py x: 11 commits (all time) y: 128 lines of code src/mapillary/utils/verify.py x: 14 commits (all time) y: 155 lines of code src/mapillary/__init__.py x: 7 commits (all time) y: 5 lines of code src/mapillary/config/__init__.py x: 9 commits (all time) y: 1 lines of code src/mapillary/config/api/__init__.py x: 8 commits (all time) y: 3 lines of code src/mapillary/config/api/entities.py x: 10 commits (all time) y: 121 lines of code src/mapillary/config/api/general.py x: 8 commits (all time) y: 40 lines of code src/mapillary/config/api/vector_tiles.py x: 9 commits (all time) y: 65 lines of code src/mapillary/controller/__init__.py x: 7 commits (all time) y: 4 lines of code src/mapillary/controller/feature.py x: 10 commits (all time) y: 74 lines of code src/mapillary/controller/image.py x: 10 commits (all time) y: 358 lines of code src/mapillary/controller/save.py x: 9 commits (all time) y: 61 lines of code src/mapillary/models/__init__.py x: 11 commits (all time) y: 4 lines of code src/mapillary/models/api/__init__.py x: 8 commits (all time) y: 2 lines of code src/mapillary/models/api/vector_tiles.py x: 12 commits (all time) y: 209 lines of code src/mapillary/utils/__init__.py x: 14 commits (all time) y: 6 lines of code src/mapillary/utils/auth.py x: 7 commits (all time) y: 20 lines of code src/mapillary/utils/extract.py x: 8 commits (all time) y: 9 lines of code MANIFEST.in x: 4 commits (all time) y: 11 lines of code mapillary.toml x: 4 commits (all time) y: 8 lines of code setup.cfg x: 7 commits (all time) y: 2 lines of code
358.0
lines of code
  min: 1.0
  average: 71.58
  25th percentile: 5.0
  median: 57.0
  75th percentile: 121.0
  max: 358.0
0 32.0
commits (all time)
min: 4.0 | average: 10.97 | 25th percentile: 7.0 | median: 10.0 | 75th percentile: 14.0 | max: 32.0

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

setup.py x: 4 contributors (all time) y: 122 lines of code src/mapillary/models/client.py x: 4 contributors (all time) y: 108 lines of code src/mapillary/utils/filter.py x: 5 contributors (all time) y: 153 lines of code src/mapillary/utils/format.py x: 4 contributors (all time) y: 163 lines of code src/mapillary/controller/detection.py x: 4 contributors (all time) y: 26 lines of code src/mapillary/interface.py x: 4 contributors (all time) y: 121 lines of code src/mapillary/models/api/entities.py x: 4 contributors (all time) y: 66 lines of code scripts/documentation.py x: 2 contributors (all time) y: 57 lines of code src/mapillary/models/exceptions.py x: 3 contributors (all time) y: 112 lines of code src/mapillary/models/geojson.py x: 3 contributors (all time) y: 128 lines of code src/mapillary/utils/verify.py x: 3 contributors (all time) y: 155 lines of code src/mapillary/__init__.py x: 3 contributors (all time) y: 5 lines of code src/mapillary/config/__init__.py x: 3 contributors (all time) y: 1 lines of code src/mapillary/config/api/__init__.py x: 3 contributors (all time) y: 3 lines of code src/mapillary/config/api/entities.py x: 3 contributors (all time) y: 121 lines of code src/mapillary/config/api/general.py x: 3 contributors (all time) y: 40 lines of code src/mapillary/config/api/vector_tiles.py x: 3 contributors (all time) y: 65 lines of code src/mapillary/controller/feature.py x: 3 contributors (all time) y: 74 lines of code src/mapillary/controller/image.py x: 3 contributors (all time) y: 358 lines of code src/mapillary/controller/save.py x: 3 contributors (all time) y: 61 lines of code src/mapillary/models/api/__init__.py x: 3 contributors (all time) y: 2 lines of code src/mapillary/models/api/vector_tiles.py x: 3 contributors (all time) y: 209 lines of code src/mapillary/utils/__init__.py x: 3 contributors (all time) y: 6 lines of code src/mapillary/utils/auth.py x: 3 contributors (all time) y: 20 lines of code src/mapillary/utils/extract.py x: 3 contributors (all time) y: 9 lines of code MANIFEST.in x: 2 contributors (all time) y: 11 lines of code mapillary.toml x: 2 contributors (all time) y: 8 lines of code
358.0
lines of code
  min: 1.0
  average: 71.58
  25th percentile: 5.0
  median: 57.0
  75th percentile: 121.0
  max: 358.0
0 5.0
contributors (all time)
min: 2.0 | average: 3.16 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 5.0

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

setup.py x: 2 commits (30d) y: 122 lines of code src/mapillary/models/client.py x: 2 commits (30d) y: 108 lines of code src/mapillary/utils/filter.py x: 4 commits (30d) y: 153 lines of code
153.0
lines of code
  min: 108.0
  average: 127.67
  25th percentile: 108.0
  median: 122.0
  75th percentile: 153.0
  max: 153.0
0 4.0
commits (30d)
min: 2.0 | average: 2.67 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 4.0

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

setup.py x: 2 contributors (30d) y: 122 lines of code src/mapillary/models/client.py x: 2 contributors (30d) y: 108 lines of code src/mapillary/utils/filter.py x: 3 contributors (30d) y: 153 lines of code
153.0
lines of code
  min: 108.0
  average: 127.67
  25th percentile: 108.0
  median: 122.0
  75th percentile: 153.0
  max: 153.0
0 3.0
contributors (30d)
min: 2.0 | average: 2.33 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

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

setup.py x: 3 commits (90d) y: 122 lines of code src/mapillary/models/client.py x: 2 commits (90d) y: 108 lines of code src/mapillary/utils/filter.py x: 4 commits (90d) y: 153 lines of code src/mapillary/utils/format.py x: 2 commits (90d) y: 163 lines of code
163.0
lines of code
  min: 108.0
  average: 136.5
  25th percentile: 111.5
  median: 137.5
  75th percentile: 160.5
  max: 163.0
0 4.0
commits (90d)
min: 2.0 | average: 2.75 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 3.75 | max: 4.0

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

setup.py x: 2 contributors (90d) y: 122 lines of code src/mapillary/models/client.py x: 2 contributors (90d) y: 108 lines of code src/mapillary/utils/filter.py x: 3 contributors (90d) y: 153 lines of code src/mapillary/utils/format.py x: 2 contributors (90d) y: 163 lines of code
163.0
lines of code
  min: 108.0
  average: 136.5
  25th percentile: 111.5
  median: 137.5
  75th percentile: 160.5
  max: 163.0
0 3.0
contributors (90d)
min: 2.0 | average: 2.25 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.75 | max: 3.0