4 views
NawfalMotii79/PLFM_RADAR
Open-source, low-cost 10.5 GHz PLFM phased array RADAR system
PLSQL★ 26,457+263 that day#10 on trending
D51.2/100
Duplication47
9.4% in verilog, python, c, c-header, cpp, tcl, bash, objectivec, perlDead code71
3.8%Complexity51
48.9% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
10.08%duplicated code · 9,876 of 97,932 lines
587clones in code
284code files of 417 scanned
14.37%duplicated over all files · 652 clones
Most complex files
- 9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/adf4382.c307 cx
- 9_Firmware/9_1_Microcontroller/9_1_3_C_Cpp_Code/main.cpp267 cx
- 9_Firmware/9_3_GUI/GUI_V6.py254 cx
- 9_Firmware/9_3_GUI/GUI_V5.py207 cx
- 9_Firmware/9_3_GUI/GUI_V65_Tk.py201 cx
- 9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iiod.c177 cx
- 9_Firmware/9_3_GUI/v7/dashboard.py177 cx
- 9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/stm32_pwm.c176 cx
- 9_Firmware/9_2_FPGA/tb/cosim/real_data/golden_reference.py166 cx
- 9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio.c152 cx
Dead code 3.76% unused · 20 findings
- 5_Simulations/Antenna/openems_quartz_slotted_wg_10p5GHz.pyunused-file
- 5_Simulations/Antenna/Quartz_Waveguide.pyunused-file
- 8_Utils/Python/CSV_radar_2.pyunused-file
- 5_Simulations/Fencing/Via_fencing2.pyunused-file
- 8_Utils/Python/patch_antenna.pyunused-file
- 5_Simulations/Fencing/Via_fencing.pyunused-file
- 8_Utils/Python/Generic_Triangular_Frequency.pyunused-file
- 8_Utils/Python/Gen_Triangular.pyunused-file
- 8_Utils/Python/Generic_Ramp_Frequency.pyunused-file
- 8_Utils/Python/FFT_Ramp_Frequency.pyunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: 9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/syscalls.c, 9_Firmware/9_2_FPGA/scripts/utils/insert_ila_probes.tcl.
Largest clones in the code
- 26 lines in 9 placesc1,479 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/ad9523.c:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/adf4382.c:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio.c:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_app.c:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.c:6–31and 4 more
6* Copyright 2012-2016(c) Analog Devices, Inc. 7* 8* Redistribution and use in source and binary forms, with or without 9* modification, are permitted provided that the following conditions are met: 10* 11* 1. Redistributions of source code must retain the above copyright notice, 12* this list of conditions and the following disclaimer. 13* 14* 2. Redistributions in binary form must reproduce the above copyright notice, 15* this list of conditions and the following disclaimer in the documentationFirst 10 of 26 lines.
- 26 lines in 8 placesc-header1,479 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/ad9523.h:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/adf4382.h:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio.h:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.h:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_axi_io.h:6–31and 3 more
6* Copyright 2012-2016(c) Analog Devices, Inc. 7* 8* Redistribution and use in source and binary forms, with or without 9* modification, are permitted provided that the following conditions are met: 10* 11* 1. Redistributions of source code must retain the above copyright notice, 12* this list of conditions and the following disclaimer. 13* 14* 2. Redistributions in binary form must reproduce the above copyright notice, 15* this list of conditions and the following disclaimer in the documentationFirst 10 of 26 lines.
- 30 lines in 6 placesc-header1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iiod.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_eeprom.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_init.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_units.h:5–33and 1 more
5******************************************************************************** 6 * Copyright 2022(c) Analog Devices, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions are met: 10 * 11 * 1. Redistributions of source code must retain the above copyright notice, 12 * this list of conditions and the following disclaimer. 13 * 14 * 2. Redistributions in binary form must reproduce the above copyright notice,First 10 of 30 lines.
7 more
- 30 lines in 6 placesc1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_alloc.c:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_mdio.c:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_mutex.c:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_pid.c:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_pwm.c:5–34and 1 more
- 30 lines in 6 placesc-header1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_axi_io.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_delay.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_error.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_fifo.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_gpio.h:5–34and 1 more
- 29 lines in 5 placesc-header1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_alloc.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_mdio.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_mutex.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_pid.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/stm32_pwm.h:4–32
- 29 lines in 5 placesc-header1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_clk.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_crc.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_print_log.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_pwm.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_rtc.h:5–34
- 30 lines in 5 placesc1,609 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_app.c:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_crc16.c:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_gpio.c:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_list.c:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/stm32_gpio.c:5–33
- 27 lines in 4 placesc1,529 tokens
- 33 lines in 3 placesc1,731 tokens
Largest clones over all files, tests and data included
- 16385 lines in 2 placescsvdata files227,147 tokens
1timestamp_ns,chirp_number,chirp_type,sample_index,I_value,Q_value,magnitude_squared 20,0,LONG,0,-15,16,499 32,0,LONG,1,-12,17,484 44,0,LONG,2,0,9,94 56,0,LONG,3,-12,-8,228 68,0,LONG,4,-2,-4,26 710,0,LONG,5,-10,-2,124 812,0,LONG,6,-4,-13,195 914,0,LONG,7,-3,-5,44 1016,0,LONG,8,-12,14,356First 10 of 16385 lines.
- 26 lines in 9 placesc1,479 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/ad9523.c:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/adf4382.c:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio.c:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_app.c:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.c:6–31and 4 more
6* Copyright 2012-2016(c) Analog Devices, Inc. 7* 8* Redistribution and use in source and binary forms, with or without 9* modification, are permitted provided that the following conditions are met: 10* 11* 1. Redistributions of source code must retain the above copyright notice, 12* this list of conditions and the following disclaimer. 13* 14* 2. Redistributions in binary form must reproduce the above copyright notice, 15* this list of conditions and the following disclaimer in the documentationFirst 10 of 26 lines.
- 26 lines in 8 placesc-header1,479 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/ad9523.h:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/adf4382.h:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio.h:7–329_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.h:6–319_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_axi_io.h:6–31and 3 more
6* Copyright 2012-2016(c) Analog Devices, Inc. 7* 8* Redistribution and use in source and binary forms, with or without 9* modification, are permitted provided that the following conditions are met: 10* 11* 1. Redistributions of source code must retain the above copyright notice, 12* this list of conditions and the following disclaimer. 13* 14* 2. Redistributions in binary form must reproduce the above copyright notice, 15* this list of conditions and the following disclaimer in the documentationFirst 10 of 26 lines.
- 1280 lines in 2 placescsvdata files9,730 tokens
- 30 lines in 6 placesc-header1,610 tokens9_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iio_trigger.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/iiod.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_eeprom.h:5–349_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_init.h:5–339_Firmware/9_1_Microcontroller/9_1_1_C_Cpp_Libraries/no_os_units.h:5–33and 1 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| c | 54 | 20,313 | 198 | 2,678 | 13.18% |
| verilog | 76 | 33,144 | 156 | 2,566 | 7.74% |
| c-header | 72 | 10,067 | 107 | 2,009 | 19.96% |
| python | 49 | 24,999 | 106 | 2,441 | 9.76% |
| cpp | 8 | 5,286 | 15 | 99 | 1.87% |
| tcl | 8 | 2,031 | 3 | 65 | 3.2% |
| objectivec | 6 | 723 | 2 | 18 | 2.49% |
| bash | 10 | 1,195 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| c | 80 | 24,068 | 208 | 2,780 | 11.55% |
| verilog | 78 | 33,893 | 159 | 2,603 | 7.68% |
| c-header | 85 | 10,893 | 114 | 2,109 | 19.36% |
| python | 55 | 29,521 | 113 | 2,526 | 8.56% |
| markup | 9 | 1,873 | 20 | 262 | 13.99% |
| csv | 51 | 128,617 | 16 | 24,223 | 18.83% |
| cpp | 10 | 5,741 | 15 | 99 | 1.72% |
| tcl | 9 | 2,786 | 4 | 86 | 3.09% |
| objectivec | 6 | 723 | 2 | 18 | 2.49% |
| yaml | 1 | 116 | 1 | 16 | 13.79% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 1, 2026 | #10 | 26,457 (+263) | 417 | 241,600 | 652 | 14.37% | 10.08% | D 51.2 | 749bd0f |
| Sep 29, 2026 | #3 | 25,850 (+158) | 417 | 241,600 | 652 | 14.37% | 10.08% | D 51.2 | 749bd0f |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.