Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tpfau committed Apr 6, 2018
1 parent 5b8a8bc commit 2f8dcfa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/testAll.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@


% check the code quality
listFiles = getFilesInDir('gitFileType','tracked','restrictToPattern','*.m$');
listFiles = getFilesInDir('type','tracked','restrictToPattern','^.*\.m$','checkSubFolders',true);

% count the number of failed code quality checks per file
nMsgs = 0;
nCodeLines = 0;
nEmptyLines = 0;
nCommentLines = 0;


nMsgs = length(checkcode(listFiles{:})); %Check all code files at once.

for i = 1:length(listFiles)
nMsgs = nMsgs + length(checkcode(listFiles(i)));

fid = fopen(listFiles(i));

fid = fopen(listFiles{i});
% check if the file is on the ignored list
countFlag = true;
while ~feof(fid) && countFlag
Expand Down

0 comments on commit 2f8dcfa

Please sign in to comment.