• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mysqljs / mysql / 3954445999

pending completion
3954445999

push

github

Douglas Christopher Wilson
build: ubuntu@20.04

869 of 1014 branches covered (85.7%)

5111 of 5264 relevant lines covered (97.09%)

687.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/lib/protocol/packets/Field.js
1
var Types = require('../constants/types');
396✔
2

3
module.exports = Field;
396✔
4
function Field(options) {
5
  options = options || {};
1,212!
6

7
  this.parser = options.parser;
1,212✔
8
  this.packet = options.packet;
1,212✔
9
  this.db     = options.packet.db;
1,212✔
10
  this.table  = options.packet.table;
1,212✔
11
  this.name   = options.packet.name;
1,212✔
12
  this.type   = Types[options.packet.type];
1,212✔
13
  this.length = options.packet.length;
1,212✔
14
}
15

16
Field.prototype.string = function () {
396✔
17
  return this.parser.parseLengthCodedString();
312✔
18
};
19

20
Field.prototype.buffer = function () {
396✔
21
  return this.parser.parseLengthCodedBuffer();
×
22
};
23

24
Field.prototype.geometry = function () {
396✔
25
  return this.parser.parseGeometryValue();
×
26
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc