Skip to content

Lines of Code Counts

Peter Mitrano edited this page Mar 11, 2018 · 3 revisions

I present the results of cloc on our code base. To reproduce, go to the docs and type make cloc

     158 text files.
     158 unique files.                                          
       0 files ignored.
File blank comment code
real/lib/Encoder/Encoder.h 31 155 781
sim/lib/Time.cpp 122 120 511
common/core/AbstractMaze.cpp 63 23 420
sim/simulator/lib/Server.cpp 56 44 338
common/KinematicController/KinematicController.cpp 53 17 308
sim/simulator/lib/Client.cpp 50 5 281
console/test/Test.cpp 66 0 254
sim/lib/Time.h 93 257 214
sim/simulator/msgs/msgs.cpp 34 0 190
common/core/Direction.cpp 14 0 188
sim/simulator/test/SimTest.cpp 41 1 183
real/lib/Encoder/utility/interrupt_pins.h 16 17 175
real/RealMouse.cpp 27 11 163
sim/lib/SimMouse.cpp 41 9 149
sim/simulator/lib/widgets/MazeWidget.cpp 29 4 129
common/core/Mouse.cpp 19 0 107
sim/commands/ArcTurn.cpp 20 14 95
real/commands/ArcTurn.cpp 17 2 90
common/KinematicController/RegulatedMotor.cpp 13 3 83
sim/simulator/lib/widgets/StateWidget.cpp 10 1 82
real/lib/Encoder/utility/interrupt_config.h 8 0 79
common/core/AbstractMaze.h 41 54 78
sim/simulator/lib/widgets/PIDPlotWidget.cpp 18 0 78
sim/tools/keyboard_teleop.cpp 16 1 75
sim/simulator/lib/Client.h 15 0 74
common/core/Flood.cpp 14 16 72
real/main/main.cpp 12 2 67
console/main/Animate.cpp 12 0 67
real/RealMouse.h 24 1 64
common/KinematicController/TrajectoryPlanner.cpp 9 0 60
sim/simulator/lib/Server.h 9 0 59
sim/simulator/lib/widgets/StateWidget.h 13 0 58
common/core/WallFollow.cpp 13 4 58
real/lib/Encoder/utility/direct_pin_read.h 16 1 58
console/WinGetOpt.cpp 9 5 58
console/main/ConsoleSolve.cpp 9 0 56
sim/tools/joystick_teleop.cpp 14 1 55
sim/simulator/lib/widgets/PlotSeriesData.cpp 14 4 55
common/KinematicController/KinematicController.h 28 0 55
common/math/math.h 12 6 53
sim/simulator/lib/widgets/ControlPlotWidget.cpp 16 0 52
common/KinematicController/RobotConfig.h 10 1 51
real/commands/WaitForStart.cpp 9 2 50
sim/lib/SimMouse.h 28 0 49
sim/commands/SolveMaze.cpp 11 0 48
sim/simulator/SmartmouseSim.cpp 12 3 48
real/commands/SolveMaze.cpp 11 1 47
common/core/Node.cpp 12 5 46
common/test/CommonTest.cpp 14 0 42
real/main/profile_encoders.cpp 15 10 42
real/main/eigen_test.cpp 12 3 42
sim/joystick/joystick.hh 24 74 41
sim/simulator/lib/widgets/PIDPlotWidget.h 12 0 40
common/core/Mouse.h 26 22 40
common/core/util.cpp 5 0 39
sim/joystick/joystick.cc 15 16 39
real/commands/ArcTurn.h 18 2 38
sim/simulator/lib/widgets/MazeWidget.h 12 0 37
console/commands/SolveMaze.cpp 10 0 37
sim/simulator/lib/widgets/ControlPlotWidget.h 12 0 36
sim/simulator/CMakeLists.txt 12 6 36
common/KinematicController/DriveStraightState.cpp 10 5 35
common/KinematicController/RegulatedMotor.h 10 0 35
sim/CMakeLists.txt 14 13 35
console/ConsoleMouse.cpp 10 0 35
sim/commands/ArcTurn.h 12 1 32
sim/main/SimNavTest.cpp 8 1 30
console/main/GenerateMaze.cpp 9 1 29
sim/tools/pub_speeds.cpp 17 1 28
sim/commands/TurnInPlace.cpp 7 4 28
sim/simulator/lib/widgets/PlotSeriesData.h 9 0 28
real/commands/Finish.cpp 6 0 28
common/KinematicController/DriveStraightState.h 11 0 25
common/KinematicController/TrajectoryPlanner.h 16 2 25
real/commands/TurnInPlace.cpp 7 0 25
common/core/Pose.h 11 0 24
real/commands/ForwardToCenter.cpp 5 1 24
sim/commands/ForwardToCenter.cpp 5 1 24
console/main/ReadAndPrint.cpp 5 0 23
sim/main/SimSolve.cpp 9 1 23
common/core/Node.h 12 10 22
sim/commands/ForwardN.cpp 7 2 22
sim/joystick/test.cc 5 17 22
common/core/Direction.h 14 11 22
real/commands/Turn.cpp 3 1 22
common/core/Flood.h 16 9 21
real/commands/Forward.cpp 7 0 21
real/commands/ForwardN.cpp 7 1 21
sim/commands/Forward.cpp 7 0 21
sim/simulator/msgs/msgs.h 13 0 20
sim/commands/Forward.h 12 0 19
console/WinGetOpt.h 10 5 19
common/core/Solver.h 12 0 19
sim/commands/TurnInPlace.h 8 0 19
sim/lib/SimTimer.cpp 6 0 19
sim/commands/ForwardN.h 10 0 19
real/commands/LEDBlink.cpp 5 0 18
sim/simulator/lib/common/RayTracing.cpp 3 1 18
console/CMakeLists.txt 7 9 18
real/commands/TurnInPlace.h 9 0 18
real/commands/Finish.h 5 0 18
console/ConsoleMouse.h 11 0 17
real/commands/ForwardN.h 10 0 17
sim/commands/Turn.cpp 3 2 17
sim/tools/time_test.cpp 5 0 17
sim/commands/Stop.h 9 0 17
real/commands/SolveMaze.h 7 0 17
real/commands/WaitForStart.h 3 0 17
sim/commands/ForwardToCenter.h 9 0 16
sim/main/VelocityControlTest.cpp 5 0 16
console/commands/ForwardN.h 8 0 16
real/commands/Forward.h 9 0 16
console/commands/SolveMaze.h 6 0 16
sim/lib/SimTimer.h 7 0 15
console/commands/Stop.h 9 0 15
console/commands/ForwardN.cpp 6 0 15
real/commands/Stop.cpp 5 0 15
real/commands/ForwardToCenter.h 9 0 15
real/commands/LEDBlink.h 7 0 15
console/commands/Turn.h 8 0 15
common/core/WallFollow.h 11 4 15
sim/simulator/msgs/CMakeLists.txt 4 3 14
sim/commands/WaitForStart.cpp 6 1 14
sim/simulator/lib/common/TopicNames.h 2 0 14
sim/commands/Stop.cpp 7 0 14
console/commands/Forward.h 8 0 13
real/commands/Calibrate.h 3 0 13
sim/main/eigen_test.cpp 1 0 13
console/commands/Stop.cpp 7 0 12
real/commands/Stop.h 7 0 12
sim/commands/Turn.h 4 0 12
real/commands/Calibrate.cpp 5 0 12
console/commands/WaitForStart.cpp 6 0 12
real/commands/Turn.h 4 0 12
common/core/SensorReading.cpp 3 0 12
console/commands/Finish.h 6 0 11
sim/commands/Finish.h 5 0 11
common/core/SensorReading.h 6 0 11
console/commands/Turn.cpp 6 0 11
console/commands/Forward.cpp 6 0 11
console/commands/WaitForStart.h 6 0 10
common/core/Pose.cpp 8 0 10
sim/commands/Finish.cpp 3 0 10
sim/simulator/lib/common/RayTracing.h 4 0 9
console/commands/Finish.cpp 4 0 9
real/commands/End.cpp 3 0 9
real/commands/End.h 4 0 8
common/KinematicController/RobotConfig.cpp 3 0 8
common/core/util.h 4 0 7
console/ConsoleTimer.h 3 0 6
real/ArduinoTimer.h 2 0 6
console/ConsoleTimer.cpp 2 0 6
sim/simulator/lib/widgets/AbstractTab.h 4 0 5
common/core/Solver.cpp 2 0 5
real/ArduinoTimer.cpp 1 0 5
real/lib/Encoder/Encoder.cpp 5 3 2
sim/simulator/lib/common/Logging.h 0 0 1
real/doc.h 0 36 0
SUM 2077 1069 8543
Clone this wiki locally