Ns-3.10-style-check
Jump to navigation
Jump to search
Main Page - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - Samples - Models - Education - Contributed Code - Papers
This page documents some results from running check-style.py across the ns-3-dev codebase for changeset c9069308a70e (Apr 1)
check-style.py has four levels, each level inclusive of the previous -l 0: re-indent only (default setting) -l 1: add spaces before function parentheses -l 2: insert extra braces around single line statements -l 3: remove all trailing whitespace How to read this file: - The first line is the module name - The second line is the number of C++ lines in the module (in wc format) - The next four lines show how many lines would change by running check-style.py on all files, for levels 0, 1, 2 and 3 aodv wc 6241 23637 215548 total 401 2100 22270 838 5207 43046 1592 7504 57931 1654 7758 59650 applications wc 7068 24115 194921 total 246 1202 8472 439 2214 16478 519 2555 18965 636 3291 23181 bridge wc 1323 4798 39666 total 28 153 1559 40 197 1921 46 204 1957 96 345 2834 click wc 3663 12815 111946 total 0 0 0 0 0 0 0 0 0 0 0 0 config-store wc 2662 8583 76844 total 191 647 6064 235 998 8458 283 1135 9438 384 1454 11495 core wc 39208 149428 1161145 total 2556 11190 109626 2927 13481 126321 4645 19296 159865 5727 26875 204441 csma wc 4376 16994 132882 total 155 467 3438 195 714 5366 264 1143 7965 432 2310 15545 dsdv wc 3338 12206 115739 total 0 0 0 0 0 0 0 0 0 0 0 0 emu wc 2838 12516 91822 total 76 309 2529 120 599 4800 127 632 5056 306 2209 14391 energy wc 5658 19740 169132 total 94 435 4089 105 492 4612 105 492 4612 110 515 4750 flow-monitor wc 2228 7894 67281 total 138 394 3153 325 2461 14579 362 2614 15575 392 2659 15881 internet wc 55483 197518 1623484 total 2914 11777 96393 3859 17596 143643 5165 23586 184778 6734 32302 243281 lte wc 12181 85664 798480 total 154 48379 491947 180 48524 493185 189 48570 493591 299 49094 496828 mesh wc 14956 52088 461055 total 1270 5928 57604 2087 11233 90637 2415 12218 98651 2459 12399 99720 mobility wc 6114 24279 197067 total 216 452 3722 295 1274 8221 337 1447 9203 452 2137 13700 mpi wc 1188 3570 29885 total 0 0 0 2 6 49 2 6 49 5 15 82 netanim wc 1851 7047 55733 total 138 425 4143 161 626 5470 173 682 5758 248 1211 9137 network wc 35148 127469 963103 total 2502 14068 90531 3077 17305 114865 3575 19333 127823 4921 26734 172308 nix-vector-routing wc 1765 6444 58546 total 144 832 6416 200 1189 9776 200 1189 9776 279 1784 12760 olsr wc 7474 26448 245156 total 676 2986 28442 1309 7470 54549 1412 7565 51855 1495 7897 53999 openflow wc 4446 16399 140091 total 117 500 4084 162 890 6758 173 913 6894 185 923 6864 point-to-point wc 2296 8526 68968 total 98 236 1637 159 534 4349 215 889 6659 283 1352 9843 propagation wc 2709 9417 85747 total 154 384 2901 188 694 4653 404 1766 13311 479 2215 15938 spectrum wc 9489 29792 247841 total 133 322 2610 182 651 4999 205 716 5340 276 1047 7574 stats wc 1772 5099 49152 total 567 2201 18826 896 3503 32154 1064 3728 33214 1064 3728 33214 tap-bridge wc 3157 15176 108309 total 121 478 3595 143 616 4667 174 817 5699 355 2751 16205 test wc 5402 20382 182362 total 153 567 5264 248 1134 11293 342 1671 14668 473 2411 20077 tools wc 1730 5441 42053 total 119 372 2471 282 1232 9267 476 1855 12358 492 1875 12471 topology-read wc 1783 6047 48672 total 18 64 440 30 130 1166 39 160 1365 41 165 1416 uan wc 12386 39980 331481 total 22 106 1042 91 553 3951 113 605 4199 140 731 4850 virtual-net-device wc 777 2722 24230 total 26 57 520 36 115 968 38 124 1052 55 199 1576 visualizer wc 1941 5271 54085 total 531 1783 13723 556 1974 14987 718 2323 17448 701 2266 16653 wifi wc 33197 110514 997555 total 2026 7008 60202 2729 12153 93992 3749 15579 118447 5051 22190 162816 wimax wc 31384 101113 997460 total 92 481 5786 120 677 7350 128 690 7452 128 690 7452