CodeAnalysis - Version 1.4 ============================================================================================== Sun Sep 23 09:35:38 2018 Path: "C:\su\temp\Project1_InstrSol_OOD_F2018" Args: *.h, *.cpp, *.cs, /v, /m, /r, /f Code Metrics - Start Line, Size (lines/code), and Complexity (number of scopes) ============================================================================================== file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ namespace Global Namespace 1 1 574 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ CodeUtil_Tests.h namespace UtilitiesTest 10 231 17 CodeUtil_Tests.h class TestReq9a 12 62 4 CodeUtil_Tests.h function TestReq9a 23 2 1 CodeUtil_Tests.h function ~TestReq9a 24 2 1 CodeUtil_Tests.h function test 27 46 1 CodeUtil_Tests.h class TestReq9b 76 95 4 CodeUtil_Tests.h function TestReq9b 89 2 1 CodeUtil_Tests.h function ~TestReq9b 90 2 1 CodeUtil_Tests.h function test 93 77 1 CodeUtil_Tests.h class TestReq9c 173 29 4 CodeUtil_Tests.h function TestReq9c 182 2 1 CodeUtil_Tests.h function ~TestReq9c 183 2 1 CodeUtil_Tests.h function test 186 15 1 CodeUtil_Tests.h class TestReq9d 204 37 4 CodeUtil_Tests.h function TestReq9d 215 2 1 CodeUtil_Tests.h function ~TestReq9d 216 2 1 CodeUtil_Tests.h function test 219 21 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ CodeUtilities.h namespace Utilities 50 287 43 CodeUtilities.h function preface 56 3 1 CodeUtilities.h class ProcessCmdLine 65 34 27 CodeUtilities.h function path 102 4 1 CodeUtilities.h function path 108 3 1 CodeUtilities.h function showPath 113 3 1 CodeUtilities.h function option 120 3 1 CodeUtilities.h function options 124 4 1 CodeUtilities.h function showOptions 130 6 2 CodeUtilities.h function pattern 140 3 1 CodeUtilities.h function patterns 145 3 1 CodeUtilities.h function showPatterns 150 6 2 CodeUtilities.h function maxItems 160 3 1 CodeUtilities.h function maxItems 165 3 1 CodeUtilities.h function showMaxItems 170 3 1 CodeUtilities.h function parseError 177 3 1 CodeUtilities.h function ProcessCmdLine 184 31 7 CodeUtilities.h function showCmdLine 217 6 2 CodeUtilities.h function showCmdLine 225 9 1 CodeUtilities.h function usage 236 8 1 CodeUtilities.h class Converter 253 5 3 CodeUtilities.h function toString 262 5 1 CodeUtilities.h function toValue 274 6 1 CodeUtilities.h class Box 288 9 5 CodeUtilities.h function Box 289 2 1 CodeUtilities.h function Box 290 2 1 CodeUtilities.h function operatorT& 291 2 1 CodeUtilities.h function operator= 292 2 1 CodeUtilities.h function operator<< 300 5 1 CodeUtilities.h struct ToXml 310 4 2 CodeUtilities.h function ~ToXml 311 1 1 CodeUtilities.h class PersistFactory 323 14 3 CodeUtilities.h function PersistFactory 327 3 1 CodeUtilities.h function toXml 331 5 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ CodeUtilities.cpp function main 21 71 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ DateTime.h class DateTime 35 45 44 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ DateTime.cpp function ctime 17 6 1 DateTime.cpp function localtime 26 5 1 DateTime.cpp function DateTime 34 3 1 DateTime.cpp function DateTime 56 28 15 DateTime.cpp function operatorstd:: 87 3 1 DateTime.cpp function DateTime 91 2 1 DateTime.cpp function makeTime 99 16 2 DateTime.cpp function makeDuration 120 8 1 DateTime.cpp function now 131 7 1 DateTime.cpp function timepoint 141 3 1 DateTime.cpp function ticks 147 4 1 DateTime.cpp function time 154 6 1 DateTime.cpp function operator< 163 3 1 DateTime.cpp function operator> 169 3 1 DateTime.cpp function operator== 175 3 1 DateTime.cpp function operator!= 181 3 1 DateTime.cpp function operator<= 187 3 1 DateTime.cpp function operator>= 193 3 1 DateTime.cpp function operator+= 199 4 1 DateTime.cpp function operator+ 206 4 1 DateTime.cpp function operator-= 213 4 1 DateTime.cpp function operator- 220 3 1 DateTime.cpp function year 226 5 1 DateTime.cpp function month 234 5 1 DateTime.cpp function day 242 5 1 DateTime.cpp function hour 250 5 1 DateTime.cpp function minute 258 5 1 DateTime.cpp function second 266 5 1 DateTime.cpp function readDateTimePart 42 9 1 DateTime.cpp function main 280 28 3 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ FileSystem.h namespace FileSystem 130 131 11 FileSystem.h class Block 137 13 2 FileSystem.h function Block 138 2 1 FileSystem.h class File 155 31 4 FileSystem.h function name 186 2 1 FileSystem.h class FileInfo 193 34 2 FileSystem.h class Path 232 10 1 FileSystem.h class Directory 247 13 1 FileSystem.h namespace FileSystem 128 131 183 FileSystem.h class Block 135 13 16 FileSystem.h function Block 136 2 1 FileSystem.h class File 153 31 70 FileSystem.h function name 184 2 1 FileSystem.h class FileInfo 191 34 50 FileSystem.h class Path 230 10 27 FileSystem.h class Directory 245 13 19 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ FileSystem.cpp function Block 50 2 1 FileSystem.cpp function push_back 56 3 1 FileSystem.cpp function operator[] 62 5 1 FileSystem.cpp function operator[] 70 5 1 FileSystem.cpp function operator== 78 3 1 FileSystem.cpp function operator!= 84 3 1 FileSystem.cpp function size 90 3 1 FileSystem.cpp function Block 50 2 1 FileSystem.cpp function push_back 56 3 1 FileSystem.cpp function operator[] 62 5 1 FileSystem.cpp function operator[] 70 5 1 FileSystem.cpp function operator== 78 3 1 FileSystem.cpp function operator!= 84 3 1 FileSystem.cpp function size 90 3 1 FileSystem.cpp function File 98 2 1 FileSystem.cpp function ~File 102 17 3 FileSystem.cpp function open 122 34 5 FileSystem.cpp function getLine 159 23 3 FileSystem.cpp function readAll 185 13 2 FileSystem.cpp function putLine 201 13 1 FileSystem.cpp function getBlock 217 22 3 FileSystem.cpp function putBlock 242 14 2 FileSystem.cpp function getBuffer 259 18 2 FileSystem.cpp function putBuffer 280 17 2 FileSystem.cpp function isGood 300 9 1 FileSystem.cpp function flush 312 4 1 FileSystem.cpp function clear 319 6 1 FileSystem.cpp function close 328 15 3 FileSystem.cpp function exists 346 3 1 FileSystem.cpp function copy 352 3 1 FileSystem.cpp function remove 358 3 1 FileSystem.cpp function File 98 2 1 FileSystem.cpp function ~File 102 17 3 FileSystem.cpp function open 122 34 5 FileSystem.cpp function getLine 159 23 3 FileSystem.cpp function readAll 185 13 2 FileSystem.cpp function putLine 201 13 1 FileSystem.cpp function getBlock 217 22 3 FileSystem.cpp function putBlock 242 14 2 FileSystem.cpp function getBuffer 259 18 2 FileSystem.cpp function putBuffer 280 17 2 FileSystem.cpp function isGood 300 9 1 FileSystem.cpp function flush 312 4 1 FileSystem.cpp function clear 319 6 1 FileSystem.cpp function close 328 15 3 FileSystem.cpp function exists 346 3 1 FileSystem.cpp function copy 352 3 1 FileSystem.cpp function remove 358 3 1 FileSystem.cpp function FileInfo 364 7 1 FileSystem.cpp function ~FileInfo 374 3 1 FileSystem.cpp function good 380 3 1 FileSystem.cpp function name 386 3 1 FileSystem.cpp function intToString 392 6 1 FileSystem.cpp function date 401 14 1 FileSystem.cpp function size 418 3 1 FileSystem.cpp function isArchive 424 3 1 FileSystem.cpp function isCompressed 430 3 1 FileSystem.cpp function isDirectory 436 3 1 FileSystem.cpp function isEncrypted 442 3 1 FileSystem.cpp function isHidden 448 3 1 FileSystem.cpp function isNormal 454 3 1 FileSystem.cpp function isOffLine 460 3 1 FileSystem.cpp function isReadOnly 466 3 1 FileSystem.cpp function isSystem 472 3 1 FileSystem.cpp function isTemporary 478 3 1 FileSystem.cpp function operator< 484 3 1 FileSystem.cpp function operator== 490 3 1 FileSystem.cpp function operator> 496 3 1 FileSystem.cpp function earlier 502 5 1 FileSystem.cpp function later 510 5 1 FileSystem.cpp function smaller 518 3 1 FileSystem.cpp function larger 524 3 1 FileSystem.cpp function FileInfo 364 7 1 FileSystem.cpp function ~FileInfo 374 3 1 FileSystem.cpp function good 380 3 1 FileSystem.cpp function name 386 3 1 FileSystem.cpp function intToString 392 6 1 FileSystem.cpp function date 401 14 1 FileSystem.cpp function size 418 3 1 FileSystem.cpp function isArchive 424 3 1 FileSystem.cpp function isCompressed 430 3 1 FileSystem.cpp function isDirectory 436 3 1 FileSystem.cpp function isEncrypted 442 3 1 FileSystem.cpp function isHidden 448 3 1 FileSystem.cpp function isNormal 454 3 1 FileSystem.cpp function isOffLine 460 3 1 FileSystem.cpp function isReadOnly 466 3 1 FileSystem.cpp function isSystem 472 3 1 FileSystem.cpp function isTemporary 478 3 1 FileSystem.cpp function operator< 484 3 1 FileSystem.cpp function operator== 490 3 1 FileSystem.cpp function operator> 496 3 1 FileSystem.cpp function earlier 502 5 1 FileSystem.cpp function later 510 5 1 FileSystem.cpp function smaller 518 3 1 FileSystem.cpp function larger 524 3 1 FileSystem.cpp function toLower 530 6 1 FileSystem.cpp function toUpper 540 6 1 FileSystem.cpp function getName 549 32 5 FileSystem.cpp function getExt 584 15 2 FileSystem.cpp function getPath 602 10 1 FileSystem.cpp function getFullFileSpec 615 8 1 FileSystem.cpp function fileSpec 626 16 2 FileSystem.cpp function toLower 530 6 1 FileSystem.cpp function toUpper 540 6 1 FileSystem.cpp function getName 549 32 5 FileSystem.cpp function getExt 584 15 2 FileSystem.cpp function getPath 602 10 1 FileSystem.cpp function getFullFileSpec 615 8 1 FileSystem.cpp function fileSpec 626 16 2 FileSystem.cpp function getCurrentDirectory 645 5 1 FileSystem.cpp function setCurrentDirectory 653 3 1 FileSystem.cpp function getFiles 659 16 2 FileSystem.cpp function getDirectories 678 16 2 FileSystem.cpp function create 697 3 1 FileSystem.cpp function exists 703 6 1 FileSystem.cpp function remove 712 3 1 FileSystem.cpp function getCurrentDirectory 645 5 1 FileSystem.cpp function setCurrentDirectory 653 3 1 FileSystem.cpp function getFiles 659 16 2 FileSystem.cpp function getDirectories 678 16 2 FileSystem.cpp function create 697 3 1 FileSystem.cpp function exists 703 6 1 FileSystem.cpp function remove 712 3 1 FileSystem.cpp class FileSystemSearch 30 14 10 FileSystem.cpp function FileSystemSearch 44 2 1 FileSystem.cpp function ~FileSystemSearch 45 2 1 FileSystem.cpp function close 46 2 1 FileSystem.cpp function firstFile 718 13 2 FileSystem.cpp function nextFile 734 6 1 FileSystem.cpp function firstDirectory 743 13 2 FileSystem.cpp function nextDirectory 759 6 1 FileSystem.cpp function title 770 4 1 FileSystem.cpp function main 775 399 31 FileSystem.cpp class FileSystemSearch 30 14 10 FileSystem.cpp function FileSystemSearch 44 2 1 FileSystem.cpp function ~FileSystemSearch 45 2 1 FileSystem.cpp function close 46 2 1 FileSystem.cpp function firstFile 718 13 2 FileSystem.cpp function nextFile 734 6 1 FileSystem.cpp function firstDirectory 743 13 2 FileSystem.cpp function nextDirectory 759 6 1 FileSystem.cpp function title 770 4 1 FileSystem.cpp function main 775 399 31 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ Proj1Reqs_Tests.h namespace UtilitiesTest 51 664 61 Proj1Reqs_Tests.h class TestReq1 60 24 4 Proj1Reqs_Tests.h function TestReq1 69 2 1 Proj1Reqs_Tests.h function ~TestReq1 70 2 1 Proj1Reqs_Tests.h function test 73 10 1 Proj1Reqs_Tests.h class TestReq2a 86 26 4 Proj1Reqs_Tests.h function TestReq2a 97 2 1 Proj1Reqs_Tests.h function ~TestReq2a 98 2 1 Proj1Reqs_Tests.h function test 101 10 1 Proj1Reqs_Tests.h class TestReq2b 114 30 4 Proj1Reqs_Tests.h function TestReq2b 128 2 1 Proj1Reqs_Tests.h function ~TestReq2b 129 2 1 Proj1Reqs_Tests.h function test 132 11 1 Proj1Reqs_Tests.h class TestReq3 146 25 4 Proj1Reqs_Tests.h function TestReq3 156 2 1 Proj1Reqs_Tests.h function ~TestReq3 157 2 1 Proj1Reqs_Tests.h function test 160 10 1 Proj1Reqs_Tests.h class TestReq4a 173 25 4 Proj1Reqs_Tests.h function TestReq4a 183 2 1 Proj1Reqs_Tests.h function ~TestReq4a 184 2 1 Proj1Reqs_Tests.h function test 187 10 1 Proj1Reqs_Tests.h class TestReq4b 200 25 4 Proj1Reqs_Tests.h function TestReq4b 210 2 1 Proj1Reqs_Tests.h function ~TestReq4b 211 2 1 Proj1Reqs_Tests.h function test 214 10 1 Proj1Reqs_Tests.h class TestPasses 227 5 3 Proj1Reqs_Tests.h function test 228 2 1 Proj1Reqs_Tests.h function ~TestPasses 229 2 1 Proj1Reqs_Tests.h class TestFails 234 5 3 Proj1Reqs_Tests.h function test 235 2 1 Proj1Reqs_Tests.h function ~TestFails 236 2 1 Proj1Reqs_Tests.h class TestThrows 241 9 3 Proj1Reqs_Tests.h function test 244 4 1 Proj1Reqs_Tests.h function ~TestThrows 247 2 1 Proj1Reqs_Tests.h class TestReq5 252 63 4 Proj1Reqs_Tests.h function TestReq5 271 2 1 Proj1Reqs_Tests.h function ~TestReq5 272 2 1 Proj1Reqs_Tests.h function test 275 39 1 Proj1Reqs_Tests.h class TestReq6 317 26 4 Proj1Reqs_Tests.h function TestReq6 326 2 1 Proj1Reqs_Tests.h function ~TestReq6 327 2 1 Proj1Reqs_Tests.h function test 330 12 1 Proj1Reqs_Tests.h class TestReq7 345 56 7 Proj1Reqs_Tests.h function TestReq7 359 2 1 Proj1Reqs_Tests.h function ~TestReq7 360 2 1 Proj1Reqs_Tests.h function test 363 37 4 Proj1Reqs_Tests.h class TestReq8 403 25 4 Proj1Reqs_Tests.h function TestReq8 412 2 1 Proj1Reqs_Tests.h function ~TestReq8 413 2 1 Proj1Reqs_Tests.h function test 416 11 1 Proj1Reqs_Tests.h class TestReq10 661 26 4 Proj1Reqs_Tests.h function TestReq10 670 2 1 Proj1Reqs_Tests.h function ~TestReq10 671 2 1 Proj1Reqs_Tests.h function test 674 12 1 Proj1Reqs_Tests.h class TestReq11 689 25 4 Proj1Reqs_Tests.h function TestReq11 699 2 1 Proj1Reqs_Tests.h function ~TestReq11 700 2 1 Proj1Reqs_Tests.h function test 703 10 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ Proj1_TestDriver.cpp function main 24 68 18 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ SingletonLogger.h namespace CodeUtilities 35 180 32 SingletonLogger.h class NoLock 37 5 3 SingletonLogger.h function lock 38 2 1 SingletonLogger.h function unlock 39 2 1 SingletonLogger.h class Lock 44 31 7 SingletonLogger.h function Lock 45 2 1 SingletonLogger.h function ~Lock 50 7 2 SingletonLogger.h function lock 58 4 1 SingletonLogger.h function unlock 63 4 1 SingletonLogger.h function isLocked 68 3 1 SingletonLogger.h class Logger 87 90 17 SingletonLogger.h function addStream 96 3 1 SingletonLogger.h function usingStream 100 12 3 SingletonLogger.h function removeStream 113 13 3 SingletonLogger.h function setTerminator 125 2 1 SingletonLogger.h function setAuthor 126 2 1 SingletonLogger.h function writeHead 130 8 2 SingletonLogger.h function write 139 5 1 SingletonLogger.h function writeTail 145 4 1 SingletonLogger.h function getInstance 156 9 2 SingletonLogger.h function Logger 167 4 1 SingletonLogger.h function displayFileContents 196 19 4 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ SingletonLogger.cpp function 14 12 3 SingletonLogger.cpp function 22 3 1 SingletonLogger.cpp function 28 62 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ StringUtilities.h namespace Utilities 49 137 22 StringUtilities.h function Title 56 4 1 StringUtilities.h function title 63 4 1 StringUtilities.h function putline 70 4 1 StringUtilities.h function trim 80 31 6 StringUtilities.h function trimNewLines 115 31 6 StringUtilities.h function split 150 20 4 StringUtilities.h function showSplits 174 11 2 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ StringUtilities.cpp function main 20 22 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ TestUtilitiesDemo.h namespace Utilities 56 184 25 TestUtilitiesDemo.h struct ITest 68 4 2 TestUtilitiesDemo.h function ~ITest 69 2 1 TestUtilitiesDemo.h class TestExecutor 76 6 5 TestUtilitiesDemo.h function execute 85 18 3 TestUtilitiesDemo.h function check 106 6 1 TestUtilitiesDemo.h class TestExecutive 118 15 8 TestUtilitiesDemo.h struct { 120 4 1 public data: std :: shared_ptr < ITest > pTest ; public data: std :: string testName ; TestUtilitiesDemo.h function registerTest 136 7 2 TestUtilitiesDemo.h function registerTest 145 6 1 TestUtilitiesDemo.h function clearTests 153 3 1 TestUtilitiesDemo.h function doTests 160 13 2 TestUtilitiesDemo.h class TestHelpers 179 5 7 TestUtilitiesDemo.h function showDirContents 188 20 3 TestUtilitiesDemo.h function showFileLines 211 23 3 TestUtilitiesDemo.h struct Cosmetic 236 2 2 TestUtilitiesDemo.h function ~Cosmetic 236 1 1 file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ TestUtilitiesDemo.cpp namespace Utilities 20 65 18 TestUtilitiesDemo.cpp class TestPasses 27 5 3 TestUtilitiesDemo.cpp function test 28 2 1 TestUtilitiesDemo.cpp function ~TestPasses 29 2 1 TestUtilitiesDemo.cpp class TestFails 34 5 3 TestUtilitiesDemo.cpp function test 35 2 1 TestUtilitiesDemo.cpp function ~TestFails 36 2 1 TestUtilitiesDemo.cpp class TestThrows 41 9 3 TestUtilitiesDemo.cpp function test 44 4 1 TestUtilitiesDemo.cpp function ~TestThrows 47 2 1 TestUtilitiesDemo.cpp class CodeToTest 54 11 4 TestUtilitiesDemo.cpp function CodeToTest 55 2 1 TestUtilitiesDemo.cpp function result 58 3 1 TestUtilitiesDemo.cpp function ~CodeToTest 60 2 1 TestUtilitiesDemo.cpp class TestCode 67 17 4 TestUtilitiesDemo.cpp function TestCode 68 2 1 TestUtilitiesDemo.cpp function test 71 9 1 TestUtilitiesDemo.cpp function ~TestCode 79 2 1 TestUtilitiesDemo.cpp function main 89 42 5 Functions Exceeding Metric Limits and Public Data ============================================================================================== file name type name line size cplx ----------------------- ---------- --------------------------------- ------ ------ ------ CodeUtil_Tests.h function test 93 77 1 CodeUtilities.cpp function main 21 71 1 DateTime.cpp function DateTime 56 28 15 FileSystem.cpp function main 775 399 31 FileSystem.cpp function main 775 399 31 Proj1_TestDriver.cpp function main 24 68 18 SingletonLogger.cpp function 28 62 1 public data: TestUtilitiesDemo.h : 121 - struct { std :: shared_ptr < ITest > pTest ; public data: TestUtilitiesDemo.h : 122 - struct { std :: string testName ; searched 69 dirs processed 17 files