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

bpatrik / pigallery2 / 17778692742

16 Sep 2025 08:51PM UTC coverage: 66.26% (-0.3%) from 66.537%
17778692742

push

github

bpatrik
Implement reloading mechanics #1032

1332 of 2254 branches covered (59.09%)

Branch coverage included in aggregate %.

1 of 4 new or added lines in 2 files covered. (25.0%)

155 existing lines in 6 files now uncovered.

4858 of 7088 relevant lines covered (68.54%)

4314.83 hits per line

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

40.91
/src/backend/model/extension/ExtensionObject.ts
1
import {IExtensionEvents, IExtensionObject} from './IExtension';
2
import {ExtensionApp} from './ExtensionApp';
1✔
3
import {ExtensionDB} from './ExtensionDB';
1✔
4
import {ProjectPath} from '../../ProjectPath';
1✔
5
import {ExpressRouterWrapper} from './ExpressRouterWrapper';
1✔
6
import {createLoggerWrapper} from '../../Logger';
1✔
7
import * as express from 'express';
8
import {ExtensionMessengerHandler} from './ExtensionMessengerHandler';
1✔
9
import {ExtensionConfig} from './ExtensionConfig';
1✔
10
import {UIExtension} from './UIExtension';
1✔
11

12
export class ExtensionObject<C> implements IExtensionObject<C> {
1✔
13

14
  public readonly _app;
15
  public readonly config;
16
  public readonly db;
17
  public readonly paths;
18
  public readonly Logger;
19
  public readonly events;
20
  public readonly RESTApi;
21
  public readonly messengers;
22
  public readonly ui;
23

24
  constructor(public readonly extensionId: string,
×
UNCOV
25
              public readonly extensionName: string,
×
UNCOV
26
              public readonly folder: string,
×
27
              extensionRouter: express.Router,
28
              events: IExtensionEvents) {
29
    const logger = createLoggerWrapper(`[Extension][${extensionId}]`);
×
30
    this._app = new ExtensionApp();
×
31
    this.config = new ExtensionConfig<C>(folder);
×
32
    this.db = new ExtensionDB(logger);
×
33
    this.paths = ProjectPath;
×
34
    this.Logger = logger;
×
35
    this.events = events;
×
UNCOV
36
    this.RESTApi = new ExpressRouterWrapper(extensionRouter, extensionId, logger);
×
UNCOV
37
    this.messengers = new ExtensionMessengerHandler(logger);
×
UNCOV
38
    this.ui = new UIExtension(this);
×
39
  }
40

41
}
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