Code

Rating   Name Duplication Size Complexity
B ChatDB.getTemplateObj 0 8 7
B hs.bot.spec.js ➔ describe(ꞌBotꞌ) 0 156 1
B hs.bot.spec.js ➔ ... ➔ describe(ꞌ.transformAndReply()ꞌ) 0 140 1
B docs/scripts/linenumber.js 0 24 5
B Analysis.getFrequentText 0 27 4
B ChatDB.getTemplateObj 0 30 3
B HSBot.transformAndReply 0 22 4
A ChatDB._findTopicByCommand 0 7 4
A user.db.hs.bot.spec.js ➔ ... ➔ describe(ꞌ._updateUser()ꞌ) 0 22 1
A HSBot.transformAndReply 0 67 3
A analysis.bot.spec.js ➔ ... ➔ describe(ꞌgetUserAnalysis()ꞌ) 0 21 1
A user.db.hs.bot.spec.js ➔ describe(ꞌUserDBꞌ) 0 50 1
A hs.bot.spec.js ➔ ... ➔ it(ꞌShould return undefined if default topic not found.ꞌ) 0 7 1
A ChatDB.getTopicFlow 0 7 2
A hs.bot.spec.js ➔ ... ➔ it(ꞌShould return undefined if pattern not found from topics.ꞌ) 0 7 1