aws-samples / amazon-kinesis-video-streams-media-interface
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 15 files with 1,311 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (806 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (161 lines of code)
    • 11 very small files (344 lines of code)
0% | 0% | 61% | 12% | 26%
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
c0% | 0% | 75% | 15% | 9%
h0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/T310% | 0% | 96% | 0% | 3%
source/V4L20% | 0% | 0% | 58% | 41%
include/com/amazonaws/kinesis/video/capability0% | 0% | 0% | 0% | 100%
CMake0% | 0% | 0% | 0% | 100%
include/com/amazonaws/kinesis/video/capturer0% | 0% | 0% | 0% | 100%
include/com/amazonaws/kinesis/video/player0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
T31VideoCapturer.c
in source/T31
315 13
T31AudioCapturer.c
in source/T31
250 10
T31AudioPlayer.c
in source/T31
241 10
V4L2VideoCapturer.c
in source/V4L2
161 10
V4L2AudioCapturer.c
in source/V4L2
53 9
V4L2AudioPlayer.c
in source/V4L2
51 9
AudioCapability.h
in include/com/amazonaws/kinesis/video/capability
43 -
VideoCapability.h
in include/com/amazonaws/kinesis/video/capability
30 -
T31Common.h
in source/T31
28 -
cmake
V4L2.cmake
in CMake
27 -
cmake
T31.cmake
in CMake
26 -
AudioCapturer.h
in include/com/amazonaws/kinesis/video/capturer
26 -
AudioPlayer.h
in include/com/amazonaws/kinesis/video/player
25 -
VideoCapturer.h
in include/com/amazonaws/kinesis/video/capturer
24 -
V4L2Common.h
in source/V4L2
11 -
Files With Most Units (Top 6)
File# lines# units
T31VideoCapturer.c
in source/T31
315 13
V4L2VideoCapturer.c
in source/V4L2
161 10
T31AudioPlayer.c
in source/T31
241 10
T31AudioCapturer.c
in source/T31
250 10
V4L2AudioCapturer.c
in source/V4L2
53 9
V4L2AudioPlayer.c
in source/V4L2
51 9
Files With Long Lines (Top 11)

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

File# lines# units# long lines
V4L2Common.h
in source/V4L2
11 - 6
T31Common.h
in source/T31
28 - 6
T31VideoCapturer.c
in source/T31
315 13 4
V4L2VideoCapturer.c
in source/V4L2
161 10 3
V4L2AudioCapturer.c
in source/V4L2
53 9 3
T31AudioCapturer.c
in source/T31
250 10 3
AudioCapturer.h
in include/com/amazonaws/kinesis/video/capturer
26 - 3
V4L2AudioPlayer.c
in source/V4L2
51 9 2
T31AudioPlayer.c
in source/T31
241 10 2
AudioPlayer.h
in include/com/amazonaws/kinesis/video/player
25 - 2
VideoCapturer.h
in include/com/amazonaws/kinesis/video/capturer
24 - 1