microsoft / uf2-samdx1
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 1,230 files with 353,991 lines of code.
    • 64 very long files (169,225 lines of code)
    • 88 long files (59,313 lines of code)
    • 188 medium size files (60,238 lines of codeclsfd_ftr_w_mp_ins)
    • 277 small files (39,654 lines of code)
    • 613 very small files (25,561 lines of code)
47% | 16% | 17% | 11% | 7%
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
h46% | 24% | 17% | 5% | 6%
c62% | 6% | 11% | 10% | 8%
css84% | 0% | 0% | 10% | 5%
html0% | 17% | 37% | 34% | 10%
s0% | 0% | 94% | 3% | 1%
S0% | 0% | 88% | 8% | 2%
js0% | 0% | 33% | 14% | 51%
ld0% | 0% | 0% | 100% | 0%
cpp0% | 0% | 0% | 64% | 35%
py0% | 0% | 0% | 0% | 100%
tcl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/cmsis53% | 7% | 17% | 12% | 7%
lib/samd5163% | 12% | 9% | 10% | 4%
lib/same5461% | 14% | 10% | 8% | 4%
lib/samd2125% | 34% | 22% | 10% | 6%
src0% | 21% | 36% | 32% | 9%
inc/preprocessor0% | 63% | 32% | 0% | 4%
lib/usb_msc0% | 0% | 76% | 0% | 23%
inc0% | 0% | 30% | 19% | 50%
scripts0% | 0% | 0% | 65% | 34%
boards/arcade_pybadge0% | 0% | 0% | 0% | 100%
boards/arcade_pygamer0% | 0% | 0% | 0% | 100%
boards/arcade_itsybitsy_m40% | 0% | 0% | 0% | 100%
boards/arcade_pybadge_lc0% | 0% | 0% | 0% | 100%
boards/arcade_feather_m40% | 0% | 0% | 0% | 100%
boards/pewpew_m40% | 0% | 0% | 0% | 100%
scripts/clean-ifaces0% | 0% | 0% | 0% | 100%
boards/grandcentral_m40% | 0% | 0% | 0% | 100%
boards/metro_m40% | 0% | 0% | 0% | 100%
boards/metro_m4_airlift0% | 0% | 0% | 0% | 100%
boards/metro_m4_revb0% | 0% | 0% | 0% | 100%
boards/itsybitsy_m40% | 0% | 0% | 0% | 100%
boards/pyportal_m40% | 0% | 0% | 0% | 100%
boards/feather_m40% | 0% | 0% | 0% | 100%
boards/mini_sam_m40% | 0% | 0% | 0% | 100%
boards/sam320% | 0% | 0% | 0% | 100%
boards/trellis_m40% | 0% | 0% | 0% | 100%
boards/capablerobot_usbhub0% | 0% | 0% | 0% | 100%
boards/robohatmm1_m40% | 0% | 0% | 0% | 100%
boards/generic-atsame540% | 0% | 0% | 0% | 100%
boards/metro_m00% | 0% | 0% | 0% | 100%
boards/circuitplay_m00% | 0% | 0% | 0% | 100%
boards/gemma_m00% | 0% | 0% | 0% | 100%
boards/grove-zero0% | 0% | 0% | 0% | 100%
boards/itsybitsy_m00% | 0% | 0% | 0% | 100%
boards/pirkey0% | 0% | 0% | 0% | 100%
boards/trinket_m00% | 0% | 0% | 0% | 100%
boards/crickit0% | 0% | 0% | 0% | 100%
boards/dadamachines-automat0% | 0% | 0% | 0% | 100%
boards/feather_m0_express0% | 0% | 0% | 0% | 100%
boards/hallowing_m00% | 0% | 0% | 0% | 100%
boards/radiofruit_m00% | 0% | 0% | 0% | 100%
boards/sensebox-mcu0% | 0% | 0% | 0% | 100%
boards/eitech-robotics0% | 0% | 0% | 0% | 100%
boards/wattuino-rc0% | 0% | 0% | 0% | 100%
boards/feather_m00% | 0% | 0% | 0% | 100%
boards/generic0% | 0% | 0% | 0% | 100%
boards/sparkfun-samd21-dev0% | 0% | 0% | 0% | 100%
boards/sparkfun-samd21-mini0% | 0% | 0% | 0% | 100%
boards/mkr13000% | 0% | 0% | 0% | 100%
boards/mkrzero0% | 0% | 0% | 0% | 100%
boards/zero0% | 0% | 0% | 0% | 100%
boards/CC030% | 0% | 0% | 0% | 100%
boards/CS110% | 0% | 0% | 0% | 100%
boards/mkr10000% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
arm_common_tables.c
in lib/cmsis/CMSIS/DSP_Lib/Source/CommonTables
26552 -
arm_dct4_init_f32.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
16383 1
arm_rfft_init_f32.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
8240 1
arm_dct4_init_q31.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
8221 1
arm_rfft_init_q31.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
4159 1
arm_dct4_init_q15.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
4142 1
same54p19a.h
in lib/same54/include/pio
2943 -
same54p20a.h
in lib/same54/include/pio
2943 -
arm_math.h
in lib/cmsis/CMSIS/Include
2930 57
can.h
in lib/samd51/include/component
2875 -
can.h
in lib/same54/include/component
2875 -
samd51p19a.h
in lib/samd51/include/pio
2815 -
samd51p20a.h
in lib/samd51/include/pio
2815 -
same54n19a.h
in lib/same54/include/pio
2621 -
same54n20a.h
in lib/same54/include/pio
2621 -
samd51n19a.h
in lib/samd51/include/pio
2501 -
samd51n20a.h
in lib/samd51/include/pio
2501 -
sdhc.h
in lib/samd51/include/component
2378 -
sdhc.h
in lib/same54/include/component
2378 -
gmac.h
in lib/same54/include/component
2142 -
arm_rfft_init_q15.c
in lib/cmsis/CMSIS/DSP_Lib/Source/TransformFunctions
2111 1
rtc.h
in lib/samd51/include/component
1898 -
rtc.h
in lib/same54/include/component
1898 -
samd51j18a.h
in lib/samd51/include/pio
1799 -
samd51j19a.h
in lib/samd51/include/pio
1799 -
samd51j20a.h
in lib/samd51/include/pio
1799 -
tal.h
in lib/samd51/include/component
1662 -
tal.h
in lib/same54/include/component
1662 -
tcc.h
in lib/samd21/samd21b/include/component
1661 -
tcc_lighting.h
in lib/samd21/samd21b/include/component
1661 -
tcc.h
in lib/samd21/samd21c/include/component
1661 -
tcc_lighting.h
in lib/samd21/samd21c/include/component
1661 -
USART_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
1653 83
tcc.h
in lib/samd21/samd21a/include/component
1640 -
tcc.h
in lib/samd51/include/component
1603 -
tcc.h
in lib/same54/include/component
1603 -
usb.h
in lib/samd21/samd21a/include/component
1542 -
usb.h
in lib/samd21/samd21b/include/component
1542 -
usb.h
in lib/samd21/samd21c/include/component
1542 -
usb.h
in lib/samd51/include/component
1528 -
usb.h
in lib/same54/include/component
1528 -
RTE_Device.h
in lib/cmsis/CMSIS/Pack/Example/Boards/Keil/MCB1800/RTX_Blinky/RTE/Device/LPC1857
1507 -
RTE_Device.h
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver/Config
1499 -
sercom.h
in lib/samd51/include/component
1427 -
sercom.h
in lib/same54/include/component
1427 -
rt_CMSIS.c
in lib/cmsis/CMSIS_RTX/SRC
1395 89
samd51g18a.h
in lib/samd51/include/pio
1301 -
samd51g19a.h
in lib/samd51/include/pio
1301 -
core_cm7.h
in lib/cmsis/CMSIS/Include
1272 25
sercom.h
in lib/samd21/samd21a/include/component
1272 -
Files With Most Units (Top 20)
File# lines# units
rt_CMSIS.c
in lib/cmsis/CMSIS_RTX/SRC
1395 89
USART_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
1653 83
arm_math.h
in lib/cmsis/CMSIS/Include
2930 57
I2C_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
573 37
navtree.js
in lib/cmsis/CMSIS_RTX/Doc
421 29
msc.c
in src
466 29
Driver_USBH.c
in lib/cmsis/CMSIS/Driver/DriverTemplates
137 27
core_cm7.h
in lib/cmsis/CMSIS/Include
1272 25
EMAC_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
647 22
USBD0_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
485 21
USBD1_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
484 21
Driver_USBD.c
in lib/cmsis/CMSIS/Driver/DriverTemplates
103 20
screen.c
in src
383 20
cdc_enumerate.c
in src
812 19
Driver_ETH_MAC.c
in lib/cmsis/CMSIS/Driver/DriverTemplates
145 18
core_cm3.h
in lib/cmsis/CMSIS/Include
889 17
core_cm4.h
in lib/cmsis/CMSIS/Include
995 17
core_cmFunc.h
in lib/cmsis/CMSIS/Include
231 17
core_sc300.h
in lib/cmsis/CMSIS/Include
874 17
utils.c
in src
179 16
Files With Long Lines (Top 20)

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

File# lines# units# long lines
cmsis__os_8h.html
in lib/cmsis/CMSIS_RTX/Doc
766 - 258
group___c_m_s_i_s___r_t_o_s___thread_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
555 - 123
group___c_m_s_i_s___r_t_o_s___mail.html
in lib/cmsis/CMSIS_RTX/Doc
532 - 109
group___c_m_s_i_s___r_t_o_s___timer_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
462 - 98
group___c_m_s_i_s___r_t_o_s___kernel_ctrl.html
in lib/cmsis/CMSIS_RTX/Doc
391 - 91
_r_t_x__conf__c_m.html
in lib/cmsis/CMSIS_RTX/Doc
381 - 85
group___c_m_s_i_s___r_t_o_s___message.html
in lib/cmsis/CMSIS_RTX/Doc
411 - 85
group___c_m_s_i_s___r_t_o_s___mutex_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
368 - 74
group___c_m_s_i_s___r_t_o_s___semaphore_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
369 - 72
group___c_m_s_i_s___r_t_o_s___pool_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
410 - 65
group___c_m_s_i_s___r_t_o_s___signal_mgmt.html
in lib/cmsis/CMSIS_RTX/Doc
298 - 50
_function_overview.html
in lib/cmsis/CMSIS_RTX/Doc
170 - 44
globals.html
in lib/cmsis/CMSIS_RTX/Doc
425 - 36
group___c_m_s_i_s___r_t_o_s___status.html
in lib/cmsis/CMSIS_RTX/Doc
183 - 35
cmsis__os__api_8txt.html
in lib/cmsis/CMSIS_RTX/Doc
143 - 29
SSP_LPC18xx.c
in lib/cmsis/CMSIS/Pack/Example/CMSIS_Driver
671 14 26
globals_eval.html
in lib/cmsis/CMSIS_RTX/Doc
161 - 26
group___c_m_s_i_s___r_t_o_s.html
in lib/cmsis/CMSIS_RTX/Doc
123 - 26
group___c_m_s_i_s___r_t_o_s___definitions.html
in lib/cmsis/CMSIS_RTX/Doc
237 - 26
navtreeindex0.js
in lib/cmsis/CMSIS_RTX/Doc
178 - 25